Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

register_globals ... again..


Guest

Recommended Posts

Suse 10.1

PhP 5.1.2-29.4

Apache 2.2.0-21.7

MySQL 5.x

 

I have been unable to get passed this. I've tried editing .htaccess in the ways described, I have tried editing php.ini with registered_globals on, and I have tried commenting out the lines that present the error in ../install/includes/application.php. I have tried replacing the .php files with the "patches" from "register_globals_version14a.zip". The furthest I have got is to the ever-repeating page ../install.php?step=2.

 

Can anyone offer some assistance - I know this is a recurring theme.

Link to comment
Share on other sites

The most common cause for installation getting stuck in step 2

is that most recent PHP installations have register_long_arrays = OFF

This needs to be turned to ON in the php.ini file (you will need to

stop and restart your server to get this change to take effect.)

 

Vger

Link to comment
Share on other sites

thanks vger.

 

I'm wondering if I'm using the right syntax for the php.ini file. phpinfo() shows the path for php.ini as /etc/php5/apache2/php.ini. So I've included:

 

register_globals = On

register_long_arrays = On

 

without the ;'s.

 

I've restarted apache, restarted everything and still no change. phpinfo() says they're off!

Link to comment
Share on other sites

heh not to worry, I looked further down ini.php and found there was another line setting them off again, lol. Thanks for your help.

Link to comment
Share on other sites

heh not to worry, I looked further down ini.php and found there was another line setting them off again, lol. Thanks for your help.

 

Thank you to you i was able to get my store up and running again Your a life saver!!!!!!!! I didn't know about the second line of code!!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...