Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help its gone!


Guest

Recommended Posts

Posted

Hi, I had my practise catalog running for a while and was basically learning how to customise oscommerce ready for my site to go live in the next month or so. I however have been extremly busy so havnt had time to do anything in the last couple of weeks. I went to do some work on it tonight and I have got the following error:

 

FATAL ERROR: register_globals is disabled

 

I have done a search and it only came up with people not able to install osCommerce and getting this error. Why has mine just come up with it all of a sudden?

 

Please help somebody, lol!

 

Cheers

Lewis

Posted

what did you try and do when you got the error message ?

Your online success is Paramount.

Posted

Hi, I get the error as soon as i try to access the shop.

 

 

Cheers

Lewis

Posted

contact your host provider to see if they have made changes to php.ini

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Hi, thanks for the reply. I have contacted my host provider and will see if I get a reply. If i do not get a reply would it be worth trying to reinstall the shop again? I have not done alot of work on it really however i would not want this to happen when the shop is live.

 

Cheers

Lewis

Posted

Hi, right ive just got the following reply from my host:

 

Dear Lewis Webb,

 

Following a security upgrade, a change has been made to our PHP configuration to switch register_globals OFF. This basically means that statements such as:

 

 

echo $my_variable_name;

will no longer function correctly. There is a simple resolution to this problem in the form of some code that should be inserted into the top of your page. Here are some examples:

 

If the variable you are trying to access is passed via the URL string:

 

 

$my_variable_name=$_GET["my_variable_name"];

If the variable you are trying to access is passed via a form post operation:

 

 

$my_variable_name=$_POST["my_variable_name"];

If the variable you are trying to access is a server environment variable:

 

 

$my_variable_name=$_SERVER["HTTP_HOST"];

 

Kind Regards,

 

 

Has anybody got any idea how i can modify oscommerce so that i can use this host?

 

Cheers

Lewis

Posted

Get the contribution Register Globals and make the changes from the instructions there.

 

The contribution is actually for shops already online, it just hadn't included instructions for people who were installing.

Archived

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

×
×
  • Create New...