Hello, there is problem with / and \ on Windows and XAMPP PHPv 7.20 in path definition:
There is example create build8.php file. Check the 6th line. There is wrong definition of path:
Quote:Warning: require_once(C:/xampp/htdocs3/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/htdocs3/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:
<?php
/**
* This file was created by the Form Tools Form Builder module.
*/
require_once("C:\xampp\htdocs\f3/global/library.php");
use FormTools\Core;
Core::init(array("auto_logout" => false));
$root_dir = Core::getRootDir();
$published_form_id = 2;
$filename = "build8.php";
require_once("$root_dir/modules/form_builder/form.php");