Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FATAL ERROR: register_globals is disabled in php.i


greyhoundlady99

Recommended Posts

What does this mean? FATAL ERROR: register_globals is disabled in php.ini, please enable it!

 

I went to install on new site I'm building and get this! I've installed this on other sites before without problems... but this time it's a different hosting provider. Please help!

Link to comment
Share on other sites

Not to sound like a real idiot here... but I'm a designer and just learning this whole thing. Anyway, where would I put a line like php_flag register_globals on in the .htaccess file?

<IfModule mod_setenvif.c>

<IfDefine SSL>

SetEnvIf User-Agent ".*MSIE.*" \

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

</IfDefine>

</IfModule>

thank you for pointing the direction to the other posts

Link to comment
Share on other sites

I would first try to convince your host to turn on register_globals in the default php.ini.

 

The upcoming MS3 distribution of osCommerce will not require globals to be set on.

 

If your site is not running Apache, then you can't use the .htaccess override.

 

Just add

 

php_flag register_globals on

 

 

as the first line in the .htaccess file.

 

If you have any other directories (like admin) protected by .htaccess files then you may need to add the line there as well.

 

HTH

Tom

Link to comment
Share on other sites

Ok, didn't work <_< ... know of any good hosting companies that I won't have this problem but won't charge an arm and leg?

 

Anybody have any good references to how to start a database. I have a lot of products and want to start a database, but don't know where to start!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...