Hard coded order form
Permalink
I want to use the code from here:
http://www.dyn-web.com/code/order_form/example2.php...
But I can't link the js,css and php files. Should I create a separate page type for the form because it isn't linking when I add it in the Header Extra Content.
I would prefer not to have to buy an add-on as my budget is very small for this project.
http://www.dyn-web.com/code/order_form/example2.php...
But I can't link the js,css and php files. Should I create a separate page type for the form because it isn't linking when I add it in the Header Extra Content.
I would prefer not to have to buy an add-on as my budget is very small for this project.
I tried adding the code (with absolute paths) to the header template but got the following error:
Warning: require(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/themes/BIOLOO/elements/header.php on line 15 Warning: require(http://www.bioloo.co.nz/concrete5.6.2.1/themes/bioloo/includes/html_form.class.php): failed to open stream: no suitable wrapper could be found in /var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/themes/BIOLOO/elements/header.php on line 15 Fatal error: require(): Failed opening required 'http://www.bioloo.co.nz/concrete5.6.2.1/themes/bioloo/includes/html_form.class.php' (include_path='/var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/libraries/3rdparty:/var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/concrete/libraries/3rdparty:.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/themes/BIOLOO/elements/header.php on line 15
I have no idea what this means.
Warning: require(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/themes/BIOLOO/elements/header.php on line 15 Warning: require(http://www.bioloo.co.nz/concrete5.6.2.1/themes/bioloo/includes/html_form.class.php): failed to open stream: no suitable wrapper could be found in /var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/themes/BIOLOO/elements/header.php on line 15 Fatal error: require(): Failed opening required 'http://www.bioloo.co.nz/concrete5.6.2.1/themes/bioloo/includes/html_form.class.php' (include_path='/var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/libraries/3rdparty:/var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/concrete/libraries/3rdparty:.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/bioloo.co.nz/httpdocs/concrete5.6.2.1/themes/BIOLOO/elements/header.php on line 15
I have no idea what this means.
You cannot put absolute path in the required() function. It should be relative.
Rony
Rony
Rony