riff19 Posted October 8, 2002 Share Posted October 8, 2002 Guys, I'm running my own apache/mysql server to process/view my live OScommerce PHP site on my home system, everything is working right... BUT when I try to view/process live PHP data in IE or in Dreamweaver MX, I get FATAL ERROR: register_globals is disabled in php.ini, please enable it! It is enabled! I tried setting this value to "Off" and back to "On" a bunch of times...has anyone seen this error or have a workaround for it? Please help!! Link to comment Share on other sites More sharing options...
henri Posted October 8, 2002 Share Posted October 8, 2002 Have you restarted your apache after setting it? Link to comment Share on other sites More sharing options...
riff19 Posted October 8, 2002 Author Share Posted October 8, 2002 Yup. The main probelm is that it's enabled and still telling me it's not... Link to comment Share on other sites More sharing options...
henri Posted October 8, 2002 Share Posted October 8, 2002 Then just remove the checking in application_top Link to comment Share on other sites More sharing options...
riff19 Posted October 11, 2002 Author Share Posted October 11, 2002 where is application_top? Link to comment Share on other sites More sharing options...
henri Posted October 11, 2002 Share Posted October 11, 2002 in the includes directory (of the catalo / admin) file Name is: application_top.php You have to remove this lines: // Check if register_globals is enabled. // Since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized. if (function_exists('ini_get')) { ini_get('register_globals') or exit('FATAL ERROR: register_globals is disabled in php.ini, please enable it!'); } Link to comment Share on other sites More sharing options...
Guest Posted October 24, 2002 Share Posted October 24, 2002 Check phpinfo() and see what the location is for your php.ini file and see if it matches the one you are editing. The default is in /etc/. If phpinfo() points you to /etc and there is no php.ini there. Create it and just add the line below: register_globals=On That will use all the default settings except for the ones you specify in that file. ~MeanChevelle Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.