Deprecated: Function eregi() is Deprecated in
Description:Deprecated: Function eregi() is deprecated in C:\wamp\www\catalog\includes\classes\language.php on line 87
Reason: Generally ereg is deprecated in PHP 5.3 Version.
Possible Solution:
1] You may use the preg_match() function istead of eregi()
Replace this:
if (eregi(‘^(‘.$value.‘(;q=
[0-9]\.[0-9])?$’,$this->browser_languages[$i]) isset($this->catalog_languages[$key])){$this->language =$this->catalog_languages[$key];
With:
if(preg_match(‘/^(‘.$value.‘)(;q=[0-9]\.[0-9])?$/i’,$this->browser_languages[$i]) isset($this->catalog_languages[$key])){$this->language = $this->catalog_languages[$key];
2] If possible change/upgrade your PHP Version with greater than 5.3.0 (i.e.5.2.8)