Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Server Requirement Error:


libobasay

Recommended Posts

Posted

Hi there, iam getting this message when i go to my website

 

Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.

 

how can o fix this, need help...

 

thank you

Posted

create a file named php.ini, and write the line below into it:

 

register_globals = on

 

then upload it to the root web folder in your server.

Everyone is changing the world.

Everyone is a world.

For everyone needs my help, PM or email if I amn't online.

Posted

Are you running osC 2.2 MS2 or older? Did you just start getting this message? If so, your host probably upgraded your PHP to a newer version, where register globals are shut off by default. If it's PHP 5, even if you are able to turn register globals "on", you'll probably run into other PHP compatibility problems that require you to upgrade to osC 2.2 RC2a. If your host also upgraded MySQL to version 5, you'll run into problems there until you patch osC (any version).

Posted

Hey tank, thanks for the reply, but where do i upload the file to?

iam not very familiar with oscommerce

its your msn still [email protected]?

 

 

create a file named php.ini, and write the line below into it:

 

register_globals = on

 

then upload it to the root web folder in your server.

Posted

Just the same folder where the home page(index.php) of oscommerce is.

Everyone is changing the world.

Everyone is a world.

For everyone needs my help, PM or email if I amn't online.

Posted

Note that some hosts, running PHP 5 on their servers, require that the file be named php5.ini. If "php.ini" doesn't work, try "php5.ini" or ask your host. The file can go in your site root directory (HTML / directory) or anything lower down the subdirectory list, but no deeper than the "root" of your store. Also note that some servers require that you place a command in .htaccess to tell PHP where to find php.ini/php5.ini. You should really talk to your host tech support if you have no idea what you're doing. At least, read my sig > FAQs > "The .htaccess file" and "Querying/Setting my PHP settings".

Archived

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

×
×
  • Create New...