PDA

View Full Version : Question about OS Commerce



yenyu
02-26-2006, 08:49 AM
When I install OS Commerce by myself, it always says "FATAL ERROR: register_globals is disabled in php.ini, please enable it!" What's wrong? :confused:

In my root, there is php.ini

Thanks

rjewett
02-26-2006, 12:06 PM
The default version of php.ini provided in your root by BH, has register_globals=On; You installed OS_COMMERCE in a sub-directory so you need to look at the php.ini script in that directory, since that is where the php interpreter is going to start. There probably isn't one so you are getting the default system settings where register_globals is off. Just move a copy from your root to the OS_COMMERCE install directory.

yenyu
02-26-2006, 07:44 PM
Thanks, rjewett :)

It's OK and just copy php.ini to install directory.