Hi everyone, I installed the openCart correctly but when I try to access I get the following errors:
Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(\\h\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/system/startup.php) is not within the allowed path(s): (.;e:\FerozoWebAdmin\webphpmyadmin;e:\FerozoWebHosting;\\Hmfsw00\web00\dtc007;E:\Windows\temp;E:\php5\PhpCommon;e:\FerozoWebAdmin\phpapps\;\\Hmfsw00\web00\dtc007) in \\hmfsw00\web00\DTC007\mydomain\public_html\democarrito\index.php on line 12
Warning: require_once(\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/system/startup.php) [function.require-once]: failed to open stream: Operation not permitted in \\hmfsw00\web00\DTC007\mydomain\public_html\democarrito\index.php on line 12
Fatal error: require_once() [function.require]: Failed opening required '\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/system/startup.php' (include_path='.;E:\php5\ext;E:\php5\PEAR;E:\php5\PhpCommon') in \\hmfsw00\web00\DTC007\mydomain\public_html\democarrito\index.php on line 12
This is my config.php file:
define('DIR_APPLICATION', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/admin/');
define('DIR_SYSTEM', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/system/');
define('DIR_DATABASE', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/system/database/');
define('DIR_LANGUAGE', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/admin/language/');
define('DIR_TEMPLATE', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/admin/view/template/');
define('DIR_CONFIG', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/system/config/');
define('DIR_IMAGE', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/image/');
define('DIR_CACHE', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/cache/');
define('DIR_DOWNLOAD', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/download/');
define('DIR_CATALOG', '\\hmfsw00\web00\DTC007\mydomain\public_html\democarrito/catalog/');
Please can u help me??? Thanks a lot.....
Looks like you are using a path that your host doesn't want you to use for security reasons...
Can you run phpinfo.php & get the document root to the script. Sometimes you can use the doc_root, PATH_TRANSLATED, APPL_PHYSICAL_PATH or SCRIPT_NAME to see which path might be usable in your PHP scripts.
If in doubt, also ask your host.
Can you run phpinfo.php & get the document root to the script. Sometimes you can use the doc_root, PATH_TRANSLATED, APPL_PHYSICAL_PATH or SCRIPT_NAME to see which path might be usable in your PHP scripts.
If in doubt, also ask your host.
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Who is online
Users browsing this forum: No registered users and 7 guests