hi, I am getting error on server as: FATAL ERROR: register_globals is disabled in php.ini, please enable it! I tried ini_set('register_globals', 'on'); ini_set('register_globals', true); in config and index.php files. Also, i changed the htaccess file as: <IfModule mod_php5.c> php_value register_globals 1 </IfModule> But still it is showing the same error. What can be the solution? What should I do? thanks, Smruti
This occurs in OScommerce for templates that are too old. Simply comment the lines in application_top.php in includes directory. You need to set register_globals in php.ini like this register_globals = On
The correct solution is to fix your application so that it does not depend on register_globals. Use of register_globals constitutes egregious malpractice.