FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Posted by: ozstar (---.livrp2.nsw.optusnet.com.au)
Date: March 31, 2010 05:47AM

Hi,

I get this message from an oscommerce site I have loaded into a dir in www.


FATAL ERROR: register_globals is disabled in php.ini, please enable it!

I have noticed there are 2 pip.ini in the site.

One in the main 'shop' dir where the index.php is, and another in a subdir.

Both actually say Globals is On.


Thanks


oz

Options: ReplyQuote
Re: FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Posted by: mottes (---.10-1.cable.virginmedia.com)
Date: March 31, 2010 05:53PM

have you restarted all services in wamp.

p.s

i have heard that globals are not very good and bad practice sad smiley
have a look here


[www.php.net]


hope this help



Edited 1 time(s). Last edit at 03/31/2010 05:56PM by mottes.

Options: ReplyQuote
Re: FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 31, 2010 07:04PM

yes. dont use them

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: March 31, 2010 07:13PM

I would not advise you to use any PHP scripts which insists on register globals to be enabled. It was disabled when PHP4.2 was released which was way back in 2002. Register globals was disabled for a reason (due to security issue) and is soon to be removed completely in PHP6 (when released).

Options: ReplyQuote
Re: FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Posted by: ozstar (---.livrp2.nsw.optusnet.com.au)
Date: April 01, 2010 02:07AM

Yes many thanks for the help and advice.

Yes on the hosted site the server is set to 'Globals off' in fact they are going to PHP 5.3 in a blink, so we also have that issue ahead as well with the oscommerce sites, that is why I am using WS to try and sort those codes out.

The error I was chasing, is that nothing shows in WS with this site yet it is on line okay on the server which is set top Globals off as i said.

Thanks again for your time.

oz

Options: ReplyQuote


Sorry, only registered users may post in this forum.