formtools / core

The Form Tools Core.
https://formtools.org
207 stars 78 forks source link

after instalation err #622

Closed naeemq71 closed 4 years ago

naeemq71 commented 4 years ago

The "index.tpl" template could not be located at the following locations: D: mpp\htdocs ormtools/themes/default/index.tpl and D: mpp\htdocs ormtools/themes/default/index.tpl.

benkeen commented 4 years ago

Hi @naeemq71, hmm... are you on a Windows server? The missing characters in that folder paths look very suspicious. I'll put this down as a tentative bug & investigate today.

benkeen commented 4 years ago

Confirmed. On Windows environments the generated config.php file is incorrect. The $g_root_dir folder needs to have the "\" characters escaped, so this:

$g_root_dir = "c:\path\to\formtools";

Needs to be:

$g_root_dir = "c:\\path\\to\\formtools";

It'll cause the last step of the installation script to fail. Apologies, I'll get a new version out today.

benkeen commented 4 years ago

Fixed in 3.0.19.