Error message: Deprecated: Function eregi() is dep

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Thu Jul 01, 2010 6:45 am
Hi, I get this error message when i try to save things in VirtueMart. The changes still get changed though, but i get thee lines above the "successful" message:

Deprecated: Function eregi() is deprecated in /Applications/XAMPP/xamppfiles/htdocs/......./administrator/components/com_virtuemart/classes/imageTools.class.php on line 371

Deprecated: Function eregi() is deprecated in /Applications/XAMPP/xamppfiles/htdocs/......../administrator/components/com_virtuemart/classes/imageTools.class.php on line 371

Deprecated: Function eregi() is deprecated in /Applications/XAMPP/xamppfiles/htdocs/......../administrator/components/com_virtuemart/classes/imageTools.class.php on line 375

How can i fix this?
User avatar
Expert Boarder

GK User
Thu Jul 01, 2010 11:46 am
you have to disable E_STRICT mode in your php.ini file for error reporting.
User avatar
Administrator

GK User
Thu Jul 01, 2010 5:10 pm
Great, can you be a little more specific about how to disable it? Thanks
User avatar
Expert Boarder

GK User
Thu Jul 01, 2010 6:01 pm
Hi

If you have access to php.ini file, you probably will find exactly this line:

Code: Select all
error_reporting  =  E_ALL & ~E_NOTICE


change to

Code: Select all
error_reporting = E_ALL & ~E_NOTICE | E_STRICT


If you don't have access to php.ini, contact your host provider and make this request.

Cheers ;)
User avatar
Platinum Boarder


cron