tags:

views:

31

answers:

2

I am running an ecommerce theme on wordpress on a hostgator server, and coming up with this error.

Security warning: set the value *register_globals* in the php ini to Off !! This theme will not work correctly otherwise.

I can't find the php.ini in any of the folders. I tried creating a file with the added command and putting it in root as suggested via google, with no luck.

Any recommendations?otherwise.

A: 

You will have to open a support ticket with hostgator and ask if they can change it. php.ini is a configuration file that you likely don't have access to.

It might be possible to locally change the register_globals file, but I am not aware of a way to do that.

Coltin
+1  A: 

The file you should put in your root folder is not php.ini, but .htaccess. Be sure it contains this line:

php_flag register_globals off

If that still doesn't work or generates a 500 Internal Server Error then you'll have to contact HostGator and see what they say.

BoltClock
oh yes, I tried this and got a 500I'll contact themThanks so much.
zeemy23