Form Tools
Form Tools Core (3.0.0-alpha-20180410) library.php - Printable Version

+- Form Tools (
+-- Forum: Form Tools (
+--- Forum: Form Tools 3 alpha (
+--- Thread: Form Tools Core (3.0.0-alpha-20180410) library.php (/showthread.php?tid=30791)

Form Tools Core (3.0.0-alpha-20180410) library.php - keket - Apr 12th, 2018

Hello, there is problem with / and \ on Windows and XAMPP  PHPv 7.20 in path definition:

Quote:Warning: require_once(C:/xampp/htdocs 3/global/library.php): failed to open stream: No such file or directory in C:\xampp\htdocs\f3\modules\form_builder\published\build8.php on line 6

Fatal error: require_once(): Failed opening required 'C:/xampp/htdocs 3/global/library.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\f3\modules\form_builder\published\build8.php on line 6

There is example create build8.php file. Check the 6th line. There is wrong definition of path:
PHP Code:

 * This file was created by the Form Tools Form Builder module.
Core::init(array("auto_logout" => false));
$root_dir Core::getRootDir();
$published_form_id 2;
$filename  "build8.php";