Guest Posted June 1, 2005 Share Posted June 1, 2005 Hi Guys and Gals, I have a problem where I get this fairly common (by the looks of it) error: register_globals is not enabled in your php.ini I get this when trying to login to the admin and normal shopping mode of OSC. Any help would be very appreciated. I am a newbie to the cart but can manage to get around Red Hat Enterprise 3 and Plesk 7.5.2 with relative ease. Also, I have PHP 5 installed. I have turned on the 'register_globals' option in the php.ini file and I am still getting the same error. I have searched the forums for a couple of hours over the last few days and not found much to help. :( I dont have a 'register_long_arrays=on' option in my php.ini, is this going to cause any problems? Do I need it? Thanks, Maarten Link to comment Share on other sites More sharing options...
soteris Posted June 1, 2005 Share Posted June 1, 2005 Hi Guys and Gals, I have a problem where I get this fairly common (by the looks of it) error: register_globals is not enabled in your php.ini I get this when trying to login to the admin and normal shopping mode of OSC. Any help would be very appreciated. I am a newbie to the cart but can manage to get around Red Hat Enterprise 3 and Plesk 7.5.2 with relative ease. Also, I have PHP 5 installed. I have turned on the 'register_globals' option in the php.ini file and I am still getting the same error. I have searched the forums for a couple of hours over the last few days and not found much to help.? :( I dont have a 'register_long_arrays=on' option in my php.ini, is this going to cause any problems? Do I need it? Thanks, Maarten <{POST_SNAPBACK}> You have restarted apache service? Somethig else that may be of interest to you is that OSC is not compatible with php5. I do not know what kind of problems you may have with that. Link to comment Share on other sites More sharing options...
♥Vger Posted June 1, 2005 Share Posted June 1, 2005 If this is a dedicated server then you should have full control over php.ini and so resetting it should work. However, if this is a shared server with a local php.ini and another main php.ini controlled by the server then the server based php.ini can override any local attempt to turn on Register Globals. Provided that this is a new site and unmodified then you can get around the problem anyway by installing the Register Globals Patch Files (see below my name). The php5 problem is resolved by editing line 31 of admin/includes/classes/upload.php from $this to unset ($this); Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.