Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OS Commerce and PHP5


unipres

Recommended Posts

As per the recommendation, I added the line:

register_globals = on to the /etc/php.ini file however when I run http://127.0.0.1/catalog/install I still get the message:

 

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

 

Why would it say that even though the line exists and is not commented?

 

THanks in advance for any help,

 

Mike

Link to comment
Share on other sites

As per the recommendation, I added the line:

register_globals = on to the /etc/php.ini file however when I run http://127.0.0.1/catalog/install I still get the message:

 

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

 

Why would it say that even though the line exists and is not commented?

 

THanks in advance for any help,

 

Mike

 

 

Hey Mike,

 

I am testing osCommerce now as well, and ran across the same issue you're seeing. If you haven't restarted Apache, then you will need to do so to get the php.ini changes to take.

 

If you have restarted Apache, I found that you also have to have register_long_arrays = On as well.

 

After performing both on my php5 box, osCommerce seems to be working wonderfully.

 

Later

Link to comment
Share on other sites

Silly me. :-" it seems that while I did add the necessary lines in the PHP.INI the register_globals and long_arrays was turned off in another location in the file.

 

All is working now.

 

Thanks,

 

Mike

 

 

 

Hey Mike,

 

I am testing osCommerce now as well, and ran across the same issue you're seeing. If you haven't restarted Apache, then you will need to do so to get the php.ini changes to take.

 

If you have restarted Apache, I found that you also have to have register_long_arrays = On as well.

 

After performing both on my php5 box, osCommerce seems to be working wonderfully.

 

Later

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...