Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


johnkolk

Recommended Posts

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

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

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

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...