you could try downgrading to php 5.2.9 or using error_reporting(0);
You could ignore these warnings by using an @ sign. I think it is like this:@eregi("^(https?:[\/]+[^\/]+)(.*$)", $mosConfig_live_site, $live_site_parts);
On Tue, Oct 19, 2010 at 2:20 PM, Odhiambo Washington <odhiambo@gmail.com> wrote:
_______________________________________________I have a site that's br0ken because of some deprecated php functions. Any takers who are willing to whip up an instant solution?Here are the issues:1. Deprecated: Function eregi() is deprecated in /usr/local/www/data-dist/siteA/includes/sef.php on line 533Line 533 has this:eregi("^(https?:[\/]+[^\/]+)(.*$)", $mosConfig_live_site, $live_site_parts);
2. Deprecated: Function eregi() is deprecated in /usr/local/www/data-dist/siteA/templates/rt_technopia/rt_supersucker.php on line 150Line 150 has this:
f ( eregi( 'index.php\?', $row->link ) ) { if ( !eregi( 'Itemid=', $row->link ) ) { $row->link .= '&Itemid='. $row->id; }}
Clues are here - http://devthought.com/tumble/2009/06/fix-ereg-is-deprecated-errors-in-php-53/ - , that the eregi() function now becomes preg_match() but I am not good with php regexps.Anyone willing to give me the modified functions?--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
--RegardsBrian Ngure
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke