johnkolk Posted October 10, 2005 Share Posted October 10, 2005 When I try and install I get this in the browser FATAL ERROR: register_globals is disabled in php.ini, please enable it! Can anyone tell me how to enable it? thanks John Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2005 Share Posted October 10, 2005 you will most likely need to install the register globals contribution Link to comment Share on other sites More sharing options...
Hahahaha Posted October 10, 2005 Share Posted October 10, 2005 When I try and install I get this in the browser FATAL ERROR: register_globals is disabled in php.ini, please enable it! Can anyone tell me how to enable it? thanks John yeah. you have to contact super-administrator of your webhosting company (where your virtual server is hosted). he will know what to do. he will need a name of your domain too (like www.something.com) anyway its not on your computer dont worry. call your hosting provider and tell supaadmin to switch that thing on! :)) enjoy. Link to comment Share on other sites More sharing options...
johnkolk Posted October 10, 2005 Author Share Posted October 10, 2005 yeah. you have to contact super-administrator of your webhosting company (where your virtual server is hosted). he will know what to do. he will need a name of your domain too (like www.something.com) anyway its not on your computer dont worry. call your hosting provider and tell supaadmin to switch that thing on! :)) enjoy. Thanks heaps guys, I have just asked the hosting company so hopefully this will get the job done cheers John Link to comment Share on other sites More sharing options...
johnkolk Posted October 11, 2005 Author Share Posted October 11, 2005 yeah. you have to contact super-administrator of your webhosting company (where your virtual server is hosted). he will know what to do. he will need a name of your domain too (like www.something.com) anyway its not on your computer dont worry. call your hosting provider and tell supaadmin to switch that thing on! :)) enjoy. I hope you can help again? I got this back from the hosting company register_globals is actualy enabled. Do you know how it's determining it's not enabled? Sorry, but we're not too familar with OSCommerce. Do you have the answer for this? Link to comment Share on other sites More sharing options...
primadude Posted October 11, 2005 Share Posted October 11, 2005 I have found you can override the server side php.ini settings by editing your /catalog/.htaccess file and add this line to turn on register_globals: php_flag register_globals 1 Hope this helps...Joe Link to comment Share on other sites More sharing options...
johnkolk Posted October 11, 2005 Author Share Posted October 11, 2005 I have found you can override the server side php.ini settings by editing your /catalog/.htaccess file and add this line to turn on register_globals: php_flag register_globals 1 Hope this helps...Joe Thanks Joe Do I put this anywhere on the page? I'm new to all this thanks John Link to comment Share on other sites More sharing options...
♥Vger Posted October 11, 2005 Share Posted October 11, 2005 register_globals is actualy enabled. Do you know how it's determining it's not enabled? Sorry, but we're not too familar with OSCommerce. I have never known the Register Globals warning to appear when Register Globals is enabled on the server. I suspect it's not just osCommerce that your hosts don't know much about. Vger Link to comment Share on other sites More sharing options...
johnkolk Posted October 11, 2005 Author Share Posted October 11, 2005 I have never known the Register Globals warning to appear when Register Globals is enabled on the server. I suspect it's not just osCommerce that your hosts don't know much about. Vger Thanks for your help Vger, The host company I use is one of the bigger ones here in New Zealand. this is the response I just received from them I can guarentee you that register_globals is turned on. I believe this comes down to how osCommerce is determining the state of register_globals, and that the method they use no longer works with recent versions of PHP. Have you any sugestions? Should I try and use your contribution file? I'm very new to oscommerce and starting to think I maybe better to find a template shopping cart programme that may be a little easier (hate to give up!!) Link to comment Share on other sites More sharing options...
superdairyboy Posted October 11, 2005 Share Posted October 11, 2005 In Past versions of PHP Globals was on by default. in newer versions it is not. it is possible your hosting company is not aware of this and just assumes it is on. anyhow to get around this download the OS version that has the globals built in. it worked like a charm for us. http://www.oscommerce.com/community/contri...5/search,global Brian Link to comment Share on other sites More sharing options...
johnkolk Posted October 11, 2005 Author Share Posted October 11, 2005 In Past versions of PHP Globals was on by default. in newer versions it is not. it is possible your hosting company is not aware of this and just assumes it is on. anyhow to get around this download the OS version that has the globals built in. it worked like a charm for us.http://www.oscommerce.com/community/contri...5/search,global Brian Thanks Brian, I will give it a go cheers Johnny Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.