UmbraSprite Posted May 28, 2009 Share Posted May 28, 2009 Hi all... accidentally screwed up my site which has led to a long road of changing providers, hosting etc. I am finally getting back on track but when trying to connect my site to the OScommerce site I am getting the following error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! Here is the text from my php.ini file: register_globals = on allow_url_fopen = off expose_php = Off max_input_time = 60 variables_order = "EGPCS" extension_dir = ./ upload_tmp_dir = /tmp precision = 12 SMTP = relay-hosting.secureserver.net url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" [Zend] zend_extension=/usr/local/zo/ZendExtensionManager.so zend_extension=/usr/local/zo/4_3/ZendOptimizer.so Any clue what might be wrong? THANKS IN ADVANCE! Link to comment Share on other sites More sharing options...
morehawes Posted May 28, 2009 Share Posted May 28, 2009 Hi, have you looked at this? http://www.oscommerce.com/community/contributions,2097 Joe MacMan strikes again! Always backup first before listening to me! Link to comment Share on other sites More sharing options...
UmbraSprite Posted May 28, 2009 Author Share Posted May 28, 2009 Thanks Joe... Unfortunately I am OScommerce "dumb" enough to not be able to put that to much use. Can you put it in dummy proof terms? Chris Hi, have you looked at this? http://www.oscommerce.com/community/contributions,2097 Link to comment Share on other sites More sharing options...
UmbraSprite Posted May 28, 2009 Author Share Posted May 28, 2009 Tried this to no avail... Register Globals is off and cannot be turned on. chillininvt 26 Jul 2007 If you add the following link to your .htaccess file oscommerce will work fine. My .htaccess file consists of one line this. php_flag register_globals on put that in your .htaccess file and you will be able to run os commerce with register globals off in your php.ini Thanks Joe... Unfortunately I am OScommerce "dumb" enough to not be able to put that to much use. Can you put it in dummy proof terms? Chris Link to comment Share on other sites More sharing options...
MrPhil Posted May 28, 2009 Share Posted May 28, 2009 It depends on how your server is configured. Some have PHP settings (such as register globals) in .htaccess, while others require that they be put in php.ini. Then, some servers require an entry in .htaccess to tell PHP where to find php.ini. Talk to your hosting service to see what needs to be done on any particular server. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.