FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install warning messages
#1
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?
Reply
#2
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
Reply
#3
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
Reply
#4
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)