The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Install warning messages - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4) +--- Thread: Install warning messages (/showthread.php?tid=170) |
Install warning messages - frizzie - May 31st, 2009 This is a similar problem maybe to a previous thread called "Installation Problems" but still I cannot get it to work. I'm trying to test formtools2 on a local xampp install. When finishing the install, I get these warnings: Warning: opendir(F: mpp\htdocsormtools2/modules) [function.opendir]: failed to open dir: No error in F:\xampp\htdocs\formtools2\global\code\modules.php on line 424 Notice: Undefined variable: message in F:\xampp\htdocs\formtools2\global\code\modules.php on line 428 Warning: opendir(F: mpp\htdocsormtools2/themes) [function.opendir]: failed to open dir: No error in F:\xampp\htdocs\formtools2\global\code\themes.php on line 89 Notice: Undefined variable: message in F:\xampp\htdocs\formtools2\global\code\themes.php on line 93 Warning: file_get_contents(F: mpp\htdocsormtools2/global/emails/installed.tpl) [function.file-get-contents]: failed to open stream: Invalid argument in F:\xampp\htdocs\formtools2\install\library.php on line 632 Warning: file_get_contents(F: mpp\htdocsormtools2/global/emails/installed_subject.tpl) [function.file-get-contents]: failed to open stream: Invalid argument in F:\xampp\htdocs\formtools2\install\library.php on line 636 But the script still says "succesfully installed" OK, then when trying to login I get something similar: The "index.tpl" template could not be located at the following locations: F: mpp\htdocsormtools2/themes/default/index.tpl and F: mpp\htdocsormtools2/themes/default/index.tpl. I find it a bit strange that some characters are missing and that the url goes from backslash to forward slash. Anyway, when in config.php changing $g_root_dir to the same as the root_url (i.e."http://localhost/formtools2";) I get this: The "index.tpl" template could not be located at the following locations: http://localhost/formtools2/themes/default/index.tpl and http://localhost/formtools2/themes/default/index.tpl. Well, the index.tpl file IS there and permissions are set to full... Any thoughts on what causes this? RE: Install warning messages - Ben - Jun 3rd, 2009 Hmm... it looks like a problem with the paths, but I'm not 100% sure. I don't suppose there's any way you could make your localhost accessible remotely? I'd love to debug it directly... - Ben RE: Install warning messages - stech - Aug 22nd, 2009 Im having the same issue with a godaddy server is there a fix? (Aug 22nd, 2009, 11:21 PM)stech Wrote: Im having the same issue with a godaddy server is there a fix? Ok figure a bit out. In my config file the dir had the \ I changed it to / and the errors went away for step 6 RE: Install warning messages - Ben - Aug 24th, 2009 Hey guys, I just logged this as a bug. The installation script isn't properly double-escaping backslashes (\) on Windows systems in the $g_root_dir path. I'll include an update for this in the next release. - Ben |