Muggins Posted February 8, 2010 Posted February 8, 2010 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?
Jan Zonjee Posted February 8, 2010 Posted February 8, 2010 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).
Muggins Posted February 8, 2010 Author Posted February 8, 2010 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?
Jan Zonjee Posted February 8, 2010 Posted February 8, 2010 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.
Muggins Posted February 8, 2010 Author Posted February 8, 2010 Sorry hadnt realised you'd posted inbetween! Tyvm
Recommended Posts
Archived
This topic is now archived and is closed to further replies.