Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Old problem - new solution? -- register_globals --


Guest

Recommended Posts

Posted

my local oscomm install works just fine, the problem starts at my (windows-) hoster:

 

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

 

 

my hosters support gave me the following message:

----------------------

The default PHP framework has been setup with Register_Globals turned off for

security purposes and error warnings turned on.

 

The following line of code turns on register_globals for your php page.

ini_set ('register_globals', '1');

----------------------

 

This sounds nice to me, but as I am not a coder the question is: what oscomm files need to edited and where?

Posted

I had the same problem on my host, installed the abpve contrib. and it's working fine (with other contrib.s as well)!!

 

Good luck.

Posted
The following line of code turns on register_globals for your php page.

ini_set ('register_globals', '1');

 

Perhaps if you explained to them that there are hundreds of pages that would have to have that code placed in them then they make come up with a better idea. If you told them that it was an osCommerce install then they know diddly about osCommerce.

 

Vger

Posted
Perhaps if you explained to them that there are hundreds of pages that would have to have that code placed in them then they make come up with a better idea. If you told them that it was an osCommerce install then they know diddly about osCommerce.

 

Vger

 

Indeed I told them its about an osc installation... now Im just checking the "register_globals_v1.4" patch. I'll let you know the results. Thks a lot meanwhile!!!

Posted
Indeed I told them its about an osc installation... now Im just checking the "register_globals_v1.4" patch. I'll let you know the results. Thks a lot meanwhile!!!

 

The best opton is to go for the contribution stated.The other option is to place aphp.ini file that will over ride the php setting for the site folder.

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...