ksarun Posted June 3, 2007 Share Posted June 3, 2007 FATAL ERROR: register_globals is disabled in php.ini, please enable it! CAN U HELP ME Link to comment Share on other sites More sharing options...
Andrew Yuen Posted June 3, 2007 Share Posted June 3, 2007 http://blogs.oscommerce.com/2006/08/25/com...s-on-the-forum/ Refer to #4 Andrew Yuen osCommerce, Community Team Link to comment Share on other sites More sharing options...
ksarun Posted June 3, 2007 Author Share Posted June 3, 2007 http://blogs.oscommerce.com/2006/08/25/com...s-on-the-forum/ Refer to #4 Sir as per your reply i had applied it, but still i am getting same error ! Please help me? Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2007 Share Posted June 3, 2007 http://blogs.oscommerce.com/2006/08/25/com...s-on-the-forum/ Refer to #4 Yeah, I followed the instructions in the blog and uploaded a php.ini file (yes, I made sure it was .ini and NOT .ini.txt) to the catalog folder and I still get the fatal error message just like the person before me. Any further help would be appreciated. F Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2007 Share Posted June 3, 2007 Yeah, I followed the instructions in the blog and uploaded a php.ini file (yes, I made sure it was .ini and NOT .ini.txt) to the catalog folder and I still get the fatal error message just like the person before me. Any further help would be appreciated. F Never mind, I found it... for those using PHP4 (not 3), go into your catalog folder and located the .htaccess file. Open that file in Edit mode and uncomment out (remove the # symbol) the line #php_value register_globals 1. While you're at it, you may want to uncomment out the line above it: php_value session.use_trans_sid 0 though I'm not sure what it does yet. Uncommenting out the line about the register_globals gets me into the installation section. Now to see if I can get all the way through without any further problems! :) F Link to comment Share on other sites More sharing options...
satish Posted June 3, 2007 Share Posted June 3, 2007 four ways to get thru. 1)As You did in htaccess. 2)Can place a php.ini file and set register globals to on. 3)Apply VGER register global patch. 4)replace all HTTP_****_VARS with $_**** Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2007 Share Posted June 3, 2007 Or I'd suggest applying the register globals off contrib. Makes it much more secure Link to comment Share on other sites More sharing options...
JHouse Posted July 26, 2007 Share Posted July 26, 2007 http://blogs.oscommerce.com/2006/08/25/com...s-on-the-forum/ Refer to #4 Thank you, the link you provided helped big time. Thanks again. JHouse Link to comment Share on other sites More sharing options...
sty1129 Posted August 6, 2007 Share Posted August 6, 2007 Never mind, I found it... for those using PHP4 (not 3), go into your catalog folder and located the .htaccess file. Open that file in Edit mode and uncomment out (remove the # symbol) the line #php_value register_globals 1. While you're at it, you may want to uncomment out the line above it: php_value session.use_trans_sid 0 though I'm not sure what it does yet. Uncommenting out the line about the register_globals gets me into the installation section. Now to see if I can get all the way through without any further problems! :) F Thanks a lot for this tips! It works for me, after i tried all other solutions! Thanks again! Link to comment Share on other sites More sharing options...
digibiz08 Posted June 24, 2008 Share Posted June 24, 2008 Never mind, I found it... for those using PHP4 (not 3), go into your catalog folder and located the .htaccess file. Open that file in Edit mode and uncomment out (remove the # symbol) the line #php_value register_globals 1. While you're at it, you may want to uncomment out the line above it: php_value session.use_trans_sid 0 though I'm not sure what it does yet. Uncommenting out the line about the register_globals gets me into the installation section. Now to see if I can get all the way through without any further problems! :) F Hi, i followed your procedure, but doesnt work for me. The error were still there. By the way, what is uncomment and how to do it? Link to comment Share on other sites More sharing options...
AUwebman Posted July 11, 2008 Share Posted July 11, 2008 Hi, i followed your procedure, but doesnt work for me. The error were still there. By the way, what is uncomment and how to do it? What they mean by "uncomment" is deleting the "#" in front of php_value register_globals 1 Before: # php_value register_globals 1 After: php_value register_globals 1 A "comment" is something that appears in the code, but isn't read by the program that's using the code. So if something is commented then the program skips over it as if that line didn't exist. In this case they use the comment ability to turn off part of the coding. It's also used for denoting certain things for the programmers working on the code, like... # this function turns the switch on or off, 1 for on, 0 for off example_function_switch = 1 If the "#" were not in there in the first line, the program would try to read "this function turns the switch on or off, 1 for one, 0 for off" as if it were actual code, and it would mess up the program. The next line doesn't have the "#" in front of it so the program will read that as code, as it should. And that's about all I know about programming lol. So delete that and see if it works. Link to comment Share on other sites More sharing options...
MrPhil Posted July 12, 2008 Share Posted July 12, 2008 Note that in some systems, .htaccess does not always allow "php_value" entries. Those have to go into a "php.ini" file (with a different syntax). Some systems, furthermore, require an entry in .htaccess to tell the server where to find php.ini. You need to talk with your hosting service to see what's required. Link to comment Share on other sites More sharing options...
blairh Posted December 29, 2010 Share Posted December 29, 2010 Never mind, I found it... for those using PHP4 (not 3), go into your catalog folder and located the .htaccess file. Open that file in Edit mode and uncomment out (remove the # symbol) the line #php_value register_globals 1. While you're at it, you may want to uncomment out the line above it: php_value session.use_trans_sid 0 though I'm not sure what it does yet. Uncommenting out the line about the register_globals gets me into the installation section. Now to see if I can get all the way through without any further problems! :) F legend.. worked like a CHARM!!! now to install :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.