Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Server Requirement Error: register_globals is disabled


Recommended Posts

When I installed osCommerce, and went to www.mywebsite.com/commerce, I get this message:

 

"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."

 

I've searched this forum and found many remedies. I uploaed the register_globals patch mod 1.5, as some suggested, still have the same error. After I uploaded the patch, am i supposed to run it, or something? Cause there was no README file.

 

I added an php.ini file to the root and admin, as some suggested, I added a line of code, as some suggested to .htaccess.

 

There are so many suggestions. But no success.

 

What's the secret to getting past this?

Link to comment
Share on other sites

I'm suddenly getting a similar (same?) error:

 

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

 

I have no clue what to do.

--Sanguinarius

 

If you're reading this, I'm probably pulling my hair out. ;>

 

*waiting for osCommerce 3.0 alpha 6* (I'm after the coupons.)

Link to comment
Share on other sites

I'm suddenly getting a similar (same?) error:

 

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

 

I have no clue what to do.

 

create one file with the name "php.ini" and write the following code in that and upload in the root directory.

 

register_globals = on

Hard Work Is The Simplest Way Of Success

Link to comment
Share on other sites

When I installed osCommerce, and went to www.mywebsite.com/commerce, I get this message:

 

"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."

 

I've searched this forum and found many remedies. I uploaed the register_globals patch mod 1.5, as some suggested, still have the same error. After I uploaded the patch, am i supposed to run it, or something? Cause there was no README file.

 

I added an php.ini file to the root and admin, as some suggested, I added a line of code, as some suggested to .htaccess.

 

There are so many suggestions. But no success.

 

What's the secret to getting past this?

 

Hi Chris?

I've got the same problem after just installing osCommerce.

If you find the solution, I'd be grateful if you can email me the solution: [email protected]

Cheers! Stuart

Link to comment
Share on other sites

Hi Chris?

I've got the same problem after just installing osCommerce.

If you find the solution, I'd be grateful if you can email me the solution: [email protected]

Cheers! Stuart

 

 

Yes, I found a solution that worked for me.

I deleted osCommerce and re-installed it (so as to remove the register_globals contribution, that I added, previously).

I created a file named php.ini

with the line: register_globals = on

in the file.

 

I put it in my catalog folder, which in my case is: www.website.com/commerce.

Then I copied that same file to my www.website.com/commerce/admin folder.

 

Now it works.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...