Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help clear error massages


Muggins

Recommended Posts

This is the message im getting at the min:

Deprecated: Function eregi() is deprecated in D:\\www\catalog\includes\classes\language.php on line 87

This is line 87:

if (eregi('^(' . $value . ')(;q=[0-9]\\.[0-9])?$', $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) {

This repeats its self 8 times, any help any1?

Link to comment
Share on other sites

This is the message im getting at the min:

Deprecated: Function eregi() is deprecated in D:\\www\catalog\includes\classes\language.php on line 87

This is line 87:

if (eregi('^(' . $value . ')(;q=[0-9]\\.[0-9])?$', $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) {

This repeats its self 8 times, any help any1?

Change application_top.php for the time being (and upgrade to osC 2.2 RC3 when it is finished).

Link to comment
Share on other sites

Searched in bar came back 0 results found this on google, http://www.oscommerce.com/forums/topic/341025-function-eregi-is-deprecated/

seems to work, but what has it changed?

That the PHP people don't want you to have function used anymore so they can remove it from PHP in the far future. That's all.

 

Then don't change application_top.php and see all these other errors telling you that popping up in several files. Fine with me. Good luck.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...