zohia Posted August 4, 2008 Share Posted August 4, 2008 URL has this error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! http://os3porquinhos.com/herbas/ htaccess has register globals like this (what's wrong?): #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> Link to comment Share on other sites More sharing options...
Guest Posted August 4, 2008 Share Posted August 4, 2008 Remove the # in front of each line (though won't work on all hosts) - otherwise you'll needt o either upgrade to MS2.2 RC2 (the latest oscommerce version) or apply a Register Globals patch (from the addins section) Link to comment Share on other sites More sharing options...
♥FIMBLE Posted August 5, 2008 Share Posted August 5, 2008 register_globals = On safe_mode = Off or save the above two lines as and include the quote marks "php.ini" save it to your directory. might also need to save it to Admin. Or do as Tom suggested, install the latest version Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
zohia Posted August 5, 2008 Author Share Posted August 5, 2008 My cpannel installed the latest version, the problem might be that the template I'm using over that initial installation is not the latest version. Fimble, I didn't quite get it. Should I save those as php.ini? What are the wuote marks for? How could I upgrade to the latest version without loosing my template? Thanks Link to comment Share on other sites More sharing options...
♥FIMBLE Posted August 5, 2008 Share Posted August 5, 2008 Ah if you have a template then you cannot The quote mark ensure the file is saved as php.ini and not php.ini.txt which would not work Yes save the two line, use notepad to do it. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.