Hi,
I just uploaded OpenCart to my server, went to the store homepage and saw an error on the "Register Globals" line - mine shows on (see attached file).
I looked at the PHP.INI file and it says "register_globals = Off" . I emailed my host about this and got the following response:
Try adding this line to your .htaccess file:
php_flag register_globals off
1- should i do this?
2- if so, where is this file typically located?
TIA.
I just uploaded OpenCart to my server, went to the store homepage and saw an error on the "Register Globals" line - mine shows on (see attached file).
I looked at the PHP.INI file and it says "register_globals = Off" . I emailed my host about this and got the following response:
Try adding this line to your .htaccess file:
php_flag register_globals off
1- should i do this?
2- if so, where is this file typically located?
TIA.
Attachments
global register error - SS-2009.05.19-18.20.50.gif (8.72 KiB) Viewed 5264 times
Yes.1- should i do this?
The same directory where you installed your Opencart.2- if so, where is this file typically located?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
thanks for the responses.
my host ended up doing something themselves to fix this for me and installation was successful.
However, when i try to access the demo shop or the admin page i get warning & fatal error & can't see anything. Can I post the details in this thread or should i start a new topic in a different section?
my host ended up doing something themselves to fix this for me and installation was successful.
However, when i try to access the demo shop or the admin page i get warning & fatal error & can't see anything. Can I post the details in this thread or should i start a new topic in a different section?
Please post your error message here. Also, what's the URL of your Opencart site?However, when i try to access the demo shop or the admin page i get warning & fatal error & can't see anything. Can I post the details in this thread or should i start a new topic in a different section?
url is http://www.absilver.com/opencart
error when i go to the above url:
Warning: require_once(/var/www/html/opencart/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/opencart/index.php on line 12
Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/opencart/system/startup.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/opencart/index.php on line 12
when i add /admin I get:
Warning: require_once(/var/www/html/opencart/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/opencart/admin/index.php on line 6
Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/opencart/system/startup.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/opencart/admin/index.php on line 6
error when i go to the above url:
Warning: require_once(/var/www/html/opencart/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/opencart/index.php on line 12
Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/opencart/system/startup.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/opencart/index.php on line 12
when i add /admin I get:
Warning: require_once(/var/www/html/opencart/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/opencart/admin/index.php on line 6
Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/opencart/system/startup.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/opencart/admin/index.php on line 6
Does your /var/www/html/opencart/config.php contain the following line?
Code: Select all
define('DIR_SYSTEM', '/var/www/html/opencart/system/');
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Yes it does.JNeuhoff wrote:Does your /var/www/html/opencart/config.php contain the following line?
Code: Select all
define('DIR_SYSTEM', '/var/www/html/opencart/system/');
I just uploaded all the folders again and now i'm able to access the store - www.absilver.com/opencart .
However, I still can't access the admin section. When I try to go to www.absilver.com/opencart/admin I get the following:
Warning: require_once(DIR_SYSTEMstartup.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/opencart/admin/index.php on line 6
Fatal error: require_once() [function.require]: Failed opening required 'DIR_SYSTEMstartup.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/opencart/admin/index.php on line 6
I checked the admin folder and I see an index.php file in there. Any ideas?
However, I still can't access the admin section. When I try to go to www.absilver.com/opencart/admin I get the following:
Warning: require_once(DIR_SYSTEMstartup.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/opencart/admin/index.php on line 6
Fatal error: require_once() [function.require]: Failed opening required 'DIR_SYSTEMstartup.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/opencart/admin/index.php on line 6
I checked the admin folder and I see an index.php file in there. Any ideas?
Make sure your config files /var/www/html/opencart/config.php and /var/www/html/opencart/admin/config.php have been correctly created by the installer.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: No registered users and 39 guests