Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

register_globals issue with OsCommerce shopping cart

Status
Not open for further replies.

brokenhalo

IS-IT--Management
Joined
Feb 24, 2008
Messages
169
Location
US
Hey guys,

I have a huge problem with a website I'm hosting, and I'm not sure where to go. I installed a php shopping cart some time ago on a customers website. The shopping cart had an admin panel so we can add/remove products, change the color scheme, add logos and pictures, etc. All of a sudden, the shopping cart still works, but the admin panel does NOT. When I go the admin pan, it gives me this on the screen...

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 don't want to turn register_globals in the php.ini file because that affects the whole server and could be a sucurity issue, register_globals has a vlue of 1 in the .htaccess file in the catalog directory already which leads me to believe that there is some sort of other problem involved. Any help would be greatly appreciated! Thanks,

Brad L. - MCP

"If the doctors told me I had 5 minutes to live, I would type faster.
 
Hi Brad,
Can you provide the output of phpinfo(); run from your admin directory?

-----------------------------------------
I cannot be bought. Find leasing information at
 
four things come to mind:

1. disable the verification warning and add an auto_prepend script that brings the individual superglobal elements into the global scope in whatever order and with whatever controls you employ.

2. upgrade your OS commerce application to one that does not require register_globals.

3. turn on register_globals for this site only (with a local php.ini file).

4. use another commerce application.

5. recode the commerce application to disable the verification warning and not require register_globals.

in order of sensibleness (if there is such a word) i would place these:

2, 4, 1, 3, 5
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top