♥jailaxmi Posted January 26, 2006 Posted January 26, 2006 Hi, I had to reinstall my script and when I tried to go to the admin area 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." I checked both files and they both say register_globals 1 I checked in many other places, to make sure and they seem to be on everywhere. Please help! I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
♥Vger Posted January 26, 2006 Posted January 26, 2006 It looks as though your hosting company has turned off Register Globals in php.ini If PHP is being run in High Security mode (jailed cgi) then you won't be able to turn them on again using .htaccess as the system won't accept it. You need to check with your hosting company. Vger
♥jailaxmi Posted January 26, 2006 Author Posted January 26, 2006 It looks as though your hosting company has turned off Register Globals in php.ini If PHP is being run in High Security mode (jailed cgi) then you won't be able to turn them on again using .htaccess as the system won't accept it. You need to check with your hosting company. Vger Thanks so much for the quick response! I'll check with them. Jailaxmi I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
isacnet Posted January 28, 2006 Posted January 28, 2006 Do you look in httpd.conf? you must to see something like AllowOverride None, please change this with AllowOverride all then you must to add in the .htaccess php_flag register_globals On And thats all, in my White Box AS works fine Cheers from Quito - Ecuador Thanks so much for the quick response! I'll check with them. Jailaxmi
♥jailaxmi Posted January 28, 2006 Author Posted January 28, 2006 Do you look in httpd.conf? you must to see something like AllowOverride None, please change this with AllowOverride all then you must to add in the .htaccess php_flag register_globals On And thats all, in my White Box AS works fine Cheers from Quito - Ecuador That sounds good. I checked with my host and they told me to move a copy of the php.ini file from my public_html folder into the folder where I installed OS Commerce and the admin folder within that. It worked. Thanks anyway! I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”)
isacnet Posted January 28, 2006 Posted January 28, 2006 That sounds good. I checked with my host and they told me to move a copy of the php.ini file from my public_html folder into the folder where I installed OS Commerce and the admin folder within that. It worked. Thanks anyway! You are welcome :thumbsup: Jim
Guest Posted January 28, 2006 Posted January 28, 2006 Okay! The latest version of "MySQL" 4.02. ??? is set to OFF at the get go you have to change it to ON . . . this was done due to security reasons for being able to corrupt a file . . . yet I have never heard anyone give the simple simon reasoning statement so it would satisfy all!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.