Database problem / mysql
Author: Emma J.
Visited 901,
Followers 1,
Shared 0
Hi
Ive setup a MySQL database on my server as I want to have quantity showing on the shopping cart.
Im getting the following on the webpage - islandcandles.co.uk/oil-melt-burners.html
setDatabaseConnection($dbconf['host'], $dbconf['user'], $dbconf['password'], $dbconf['database'], $imSettings['ecommerce']['database']['table']); ?>
thanks for your help
Regards
Emma
Posted on the
Hello Emma,
This would suggest that PHP is either not available or disabled on the server. WebSite X5 requires a minimum of PHP version 5 in order for features like the database connectivity to work correctly.
You can ask your webhost to check this for you.
Kind regards,
Paul
Author
Hi Paul,
I have PHP version 5.3 on the server.
Regards,
Emma
OK, in that case please log on to your WebSite X5 control panel, here:
http://islandcandles.co.uk/admin/
Your logon credentials are the 'Administrator' details as defined in Step 4 Access Management.
Once logged in, go to the Website Test section and check for any error messages.
Let us know how you get on.
PS: you will also need to change the file extension of your shopping cart page from 'html' to 'php' -
http://islandcandles.co.uk/oil-melt-burners.php
To do this use the 'File Name Format' dropdown menu on the 'Expert' tab of the Page Properties in Step 2:
http://help.websitex5.com/en/v12/pro/index.html?mappa_pagina.htm
Then reupload your project to the server in Step 5.