Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Following error on a store over 3 years old


Guest

Recommended Posts

Website has been working fine then all of a sudden with no changes to the website i get the following error

 

Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.

 

i have uplaoded a php.ini file upto the site and it has

 

register globals = on

 

i cant make the change to the htacces file that some people recommend as i get an internal 500 server error

 

so feel im a bit stuck

 

can anyone else help

Link to comment
Share on other sites

Your host has upgraded PHP and now either has turned off register globals by default, or doesn't allow them at all. Note that by PHP 6.0 at the latest, it will be impossible to use register globals at all, so you should think about upgrading to osC 2.2 RC2a.

 

i have uplaoded a php.ini file upto the site and it has

 

register globals = on

Two problems:

1) The line is register_globals = on (note the underscore).

2) Your particular host may require a line in .htaccess to tell PHP where to find php.ini, such as suPHP_ConfigPath /home/ACCOUNT/public_html (or wherever you put php.ini). You'll have to ask your host about the details of using php.ini.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...