DarrenDunnage Posted March 10, 2007 Share Posted March 10, 2007 I am trying to install osc on my hard disk !! I have installed xammp and downloard all the files, when i call up localhost/catalog in my web browser i get this : 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 put a file in htdocs that calls up my php setting and it confirms register globals off, i have followed the path C:\xammp\apache\bin\php.ini which is where the setting page says the config file is and i have changed register globals to On but still i am getting the sam error and settings still say off.. Can anybody advise ?? Also i know my hosting company do not allow register globals_on, on the servers so will this cause me problems when i transfer from laptop to web ?? is there a way around turning register globals on ?? Thanks Darren Link to comment Share on other sites More sharing options...
♥Vger Posted March 10, 2007 Share Posted March 10, 2007 After you have edited the php.ini file you do have to shut down Apache and restart it for the change to take effect. You need a host which allows you to have Register Globals 'On' in php.ini, because even if you install the Register Globals patch you'll find that most add-ons for osCommerce are not written to work with Register Globals 'Off' in php.ini. Vger Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2007 Share Posted March 18, 2007 My webmaster will not allow Register Globals as he claims that it is a security issue. Is there another way around this problem? Regards, peter_of_stirling Link to comment Share on other sites More sharing options...
djmonkey1 Posted March 18, 2007 Share Posted March 18, 2007 My webmaster will not allow Register Globals as he claims that it is a security issue. Is there another way around this problem? Regards, peter_of_stirling You can use the Register Globals patch to make osCommerce work. Unfortunately, as Vger says, there are many contributions still that do not work with register_globals set to OFF, so it will be a constant headache for you in the future (but a great way to learn about PHP :) ). Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.