Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Register_globals off, possible installation?


daem0n

Recommended Posts

I have Fantastico on my server but I decided to download the newest version of osCommerce so I could start fresh without doing an upgrade. I've created a database, username for database, uploaded all files and when I try to install, I get the error of:

 

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

 

I know there is a patch available for osCommerce once it's installed but what do I do if I can't even install it? Modifying .htaccess is out of the question but maybe I can make a custom PHP.ini file although would that have to go to every directory?! And if so (or not), what should I put in the PHP.ini file?

 

Thanks so much for any help, -Joe

Link to comment
Share on other sites

Hi Joe,

 

you can throw the patch over your files before you upload them to install.

 

if you want to try the php.ini (not all servers will catch up and let it work), you need in only in 4 folders: catalog, admin and the includes folder in both sections

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Hi Joe,

 

you can throw the patch over your files before you upload them to install.

 

if you want to try the php.ini (not all servers will catch up and let it work), you need in only in 4 folders: catalog, admin and the includes folder in both sections

 

Ah, thanks so much for the help. I will try that out and see how it goes (the patch first)...then I'll resort to PHP.ini if I have to go that route :-P

Link to comment
Share on other sites

I'd try the php.ini fix first, because if you use the patch then most of the contributions for osCommerce will not be usable. They are not Register Globals 'off' compatible.

 

If the server is Apache then the fix might be simpler - try putting this in a .htaccess file in the root of your web:

php_flag register_globals on

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...