kristal Posted February 25, 2007 Share Posted February 25, 2007 My website was fine earlier today; and I did nothing.... just now I went to check on my orders, and there is an error when I try to view my website or go to the admin area. This is what it says: 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. What the heck happened!? I didn't change anything... could this be from a hacker or something!? I don't know what to do! Link to comment Share on other sites More sharing options...
kristal Posted February 25, 2007 Author Share Posted February 25, 2007 I just tried re-uploading the original htaccess file, but that didn't do anything. :( I didn't see a php.ini file, is there supposed to be one? Link to comment Share on other sites More sharing options...
xao Posted February 25, 2007 Share Posted February 25, 2007 It looks like your hosting company has disabled the registered globals by default. If you do not have access to the php.ini file, try adding this to your .htaccess file. php_flag register_globals on If that does not work, you may have to find a provider that allows registered globals turned on in php. I just tried re-uploading the original htaccess file, but that didn't do anything. :( I didn't see a php.ini file, is there supposed to be one? Link to comment Share on other sites More sharing options...
kristal Posted February 25, 2007 Author Share Posted February 25, 2007 It looks like your hosting company has disabled the registered globals by default. If you do not have access to the php.ini file, try adding this to your .htaccess file. php_flag register_globals on If that does not work, you may have to find a provider that allows registered globals turned on in php. Thanks for the info; I'll try contacting my host. Meanwhile, Is there a certain spot I should add that line to the htaccess file? I tried adding it to the end of the htaccess file that is in my catalog folder, and then the site returned an internal error. Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2007 Share Posted February 25, 2007 Thanks for the info; I'll try contacting my host. Meanwhile, Is there a certain spot I should add that line to the htaccess file? I tried adding it to the end of the htaccess file that is in my catalog folder, and then the site returned an internal error. follow this : http://www.oscommerce.com/forums/index.php?sho...mp;#entry984523 Link to comment Share on other sites More sharing options...
kristal Posted February 25, 2007 Author Share Posted February 25, 2007 follow this : http://www.oscommerce.com/forums/index.php?sho...mp;#entry984523 Thanks for that link; although most of it is gibberish to me, and I dare not tackle that on my own! lol I contacted my host, and they said they made no changes today; and that the registered globals have always been Off. Which makes no sense to me; I've had my site open for over a year now and never had any errors like this before until today. Weird... Neither me nor my host made any changes today to the site, so I have no clue why it decided to show an error today. I'm trying to get them to fix it for me; we'll see how that goes! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.