problem with eregi function when loading with Wiza

GK User
Sat Apr 03, 2010 1:24 am
hi.
i am aware to the fact you had issues (that were fixed ) with Spiders.
the same place in the code now gives another error when i tried loading with the QuickStart files - i get tehe following :

Deprecated: Function eregi() is deprecated in C:wampwwwTestSitetemplatesgk_party_freaklibsgk.template.helper.php on line 633


in the code it looks like this :


foreach ($spider_list as $spider)
{
if (eregi($spider, $_SERVER['HTTP_USER_AGENT'])) return TRUE;//Bug
}
return FALSE;
}
}

i tried commenting that IF statement and returning TRUE everytime, but (obviously) it doesnt work ,and i get different errors in other places.

please advise.
User avatar
Senior Boarder

GK User
Wed Apr 07, 2010 6:57 pm
Please decrease a level of error informations in php.ini file because you have probably enabled E_STRICT mode which isn't recommended for Joomla.
User avatar
Administrator


cron