richardd Posted April 25, 2010 Share Posted April 25, 2010 I searched this and got no results so posting it; This is the error: Deprecated: Function eregi() is deprecated in F:\wamp\www\Cart\htdocs\catalog\includes\classes\language.php on line 87 This is line 87 in the referenced file if (eregi('^(' . $value . ')(;q=[0-9]\\.[0-9])?$', $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) { $this->language = $this->catalog_languages[$key]; I know there are issues with myPHP ver 3.2.0.1 which is what I am using on localhost for testing using # Apache/2.2.11 (Win32) PHP/5.3.0 # MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $ Any advice will be apprciated. Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2010 Share Posted April 25, 2010 Richard, The problem is PHP 5.3.0 This topic has been covered several times but here is one of the threads, you can search for others if you wish http://www.oscommerce.com/forums/topic/341025-function-eregi-is-deprecated/page__p__1501891__hl__deprecated%20ereg__fromsearch__1entry1501891 Chris Link to comment Share on other sites More sharing options...
richardd Posted April 25, 2010 Author Share Posted April 25, 2010 Richard, The problem is PHP 5.3.0 This topic has been covered several times but here is one of the threads, you can search for others if you wish http://www.oscommerce.com/forums/topic/341025-function-eregi-is-deprecated/page__p__1501891__hl__deprecated%20ereg__fromsearch__1entry1501891 Chris Link to comment Share on other sites More sharing options...
richardd Posted April 25, 2010 Author Share Posted April 25, 2010 So until osC is upgraded to work with current php it is pretty much useless? Link to comment Share on other sites More sharing options...
BryceJr Posted April 26, 2010 Share Posted April 26, 2010 So until osC is upgraded to work with current php it is pretty much useless? Some options are: 1. Download WAMP with PHP 5.2.x version. 2. Download 5.3 patch >>here 3. You can manually apply 5.3 updates >>here Link to comment Share on other sites More sharing options...
richardd Posted April 26, 2010 Author Share Posted April 26, 2010 Bryce Jr Thank you so much for taking the time to assemble and then share the fix. Great positive answer to my problem. Hope I can return the favor one day. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.