View Full Version : OSCommerce Installation
bigcaat
05-29-2007, 11:41 AM
I just installed OSCommerce through Fantastico. When I clicked on the access link they gave me, I got this message:
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.
But I found a php.ini file, and the register_globals says it's "ON" -- I couldn't find the .htaccess file. And, the php.ini file I found is in my public directory, I couldn't find one in the shopping cart folder. I'm I looking at the wrong one?
Thanks,
Caat
charlesgan
05-29-2007, 05:48 PM
if you not doing redirection before.. then .htaccess will not necessary be there.
and for the installation.. it will be at the public_html
make sure the php.ini is in here.
make sure this line is here...
"register_globals = On"
and redo the installtion.
halfpric
05-29-2007, 09:22 PM
I'm, having the same problem as BigCaat.
I installed OSCommerce, went to my site and get the same error message:
"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 checked my php.ini file as well as my .htaccess files (again both levels) and the register_globals is set to "ON".
Any help would be greatly appreciated.
Maggilove
05-30-2007, 02:51 AM
To run with register_globals on, copy php.ini into your catalog and admin folders. However, it is better practice to have register_globals off... you need to apply this modification... http://www.oscommerce.com/community/contributions,2097
charlesgan
05-30-2007, 02:55 AM
ok... i need to point you guys to a good installation guide that i used before.
http://www.siteground.com/tutorials/oscommerce/oscommerce_installation.htm
felgall
05-30-2007, 04:10 AM
You would do better to apply the patch that allows it to work with register globals off rather than turn register globals on. Turning on register globals makes it much easier for someone to break into your system. That it has been so many years and no one has applied the half dozen line patch as a permanent fix into OS Commerce is a clear demonstration that the writers don't care about security.
ourmanflint
05-09-2008, 12:03 PM
Thanks for the advice.. I applied the patch and all working well and now more secure.
Cheers
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.