The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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\htdocs ormtools2/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\htdocs ormtools2/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\htdocs ormtools2/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\htdocs ormtools2/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\htdocs ormtools2/themes/default/index.tpl and F: mpp\htdocs ormtools2/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