Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do I fix this error below?


mrsigh

Recommended Posts

heres the error im getting and I dont know how to fix. I open up htaccess file and I dont know how to enable it.

 

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

Link to comment
Share on other sites

You have to install the register globals contribution or override the setting (search the forums for register globals).

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

You have to install the register globals contribution or override the setting (search the forums for register globals).

 

Jack

 

I did a search for register globals but I didnt see any how to's. can you point me to the right direction

 

thanks

Link to comment
Share on other sites

Here are a few thousand links. Should be able to find something in there. :) If you just want to bypass the server setting, look for the php.ini change.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

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

 

I got the above message when my hosting company upgraded their PHP

 

Version from 4.4.x to 5.2.x.

 

I opened the htaccess and found this -->

 

<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

</IfModule>

 

So, i just change mod_php4.c to mod_php5.c and its WORKED!! I hope this

 

will help :)

Link to comment
Share on other sites

Hi all,

 

I came across this website :

http://www.magic-seo-url.com/oscommerce/ti...lobals-off.html

 

It has a fix on this register global issue by making minor modification to this 4 files :

 

catalog/includes/application_top.php

catalog/includes/functions/sessions.php

catalog/admin/includes/application_top.php

catalog/admin/includes/functions/sessions.php

 

Once changes are applied, you can even run it with register global on or off. I have implemented in

my development machine and initial test looks OK. I have not, however tested it thoroughly.

Does anyone has applied the same fix ? And if you did, have you encountered any problem ? Any feedback is

very much appreciated, thanks.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...