[osCommerce] How to Enable register_globals for osCommerce installationosCommerce
If you get this following error after installing your osCommerce store:
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.
There are two ways to enable register_globals using .htaccess file or using php.ini file.
Enabling register_globals using .htaccess for osCommerce
Add following code in your .htaccess file and upload in the catalog directory:
php_flag register_globals on
Enabling register_globals using php.ini for osCommerce
The register_globals can be enabled in php.ini file by adding following directive. Just create a php.ini file, add the code and upload it in the catalog directory.
register_globals = On
Hope that helps.