Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

works on all PHP4 forums?


ellenjl

Recommended Posts

Posted

I switched my perfectly operating online store to a new server with PHP4.23 and am getting all kinds of errors and when I try to use the cart doesn't work at all. I thought oscommerce worked on any PHP3 or 4 server...?

here is an example of the error message for www.objdart.com

 

Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/piwobjdart/htdocs/catalog/includes/languages/english.php on line 12

 

Warning: Cannot modify header information - headers already sent by (output started at /home/piwobjdart/htdocs/catalog/includes/languages/english.php:12) in /home/piwobjdart/htdocs/catalog/includes/application_top.php on line 264

can anyone explain why this might be happening? :(

Posted

Those are all warnings indicating that the code to maintain PHP3 compatibility is deprecated in PHP4. Even though it has been deprecated it is still valid.

 

Since they are warnings, do not be concerned.

 

Edit either your PHP.ini or .htaccess (whichever you have access to) and set display_errors to off and that will remove the warning messages.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Archived

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

×
×
  • Create New...