PDA

View Full Version : osCommerce Error after install



fidjiti
06-29-2006, 06:52 PM
I installed osCommerce and when I clicked on the Admin button to view it I got this message:
FATAL ERROR: register_globals is disabled in php.ini, please enable it!

I am completely lost as to even what that means. I just wanted to get into the admin section to start adding products and categories for my store.

Any ideas would be greatly appreciated.

Oh and just in case you may need to know this, I installed PHPBB first and it installed Mod PHP 5.0.5 and I had to un-install that one in order for osCommcer to work and now osCommerce is running Mod Php 4.4.2. Not sure if that affected anything but just thought you should know, just in case.

jalal
06-30-2006, 02:34 AM
Edit the php.ini file, find the section on 'register_globals' and change it from off to on. Then restart apache...

Or, alternatively, put an .htaccess file in the admin directory with this line in it:

php_value register_globals 1

Or, another possibility, do a search on google for 'enable register_globals'....

You can also turn on 'register_globals' in the 'application_top.php' file, but I'll leave that as an exercise for the reader.

HTH