PDA

View Full Version : Warning: mb_eregi(): mbregex compile err


wauco
12-13-2004, 03:34 AM
while spidering i´m getting the warnings:

Warning: mb_eregi(): mbregex compile err: unmatched ( in .../phpdig/admin/robot_functions.php on line 1253

on
Apache/2.0.50 (Unix) mod_perl/1.99_13 Perl/v5.8.4 mod_ssl/2.0.50 OpenSSL/0.9.7d PHP/4.3.8 DAV/2 Mysql 4.0.20

Charter
12-13-2004, 07:31 AM
Line 1253 looks to be an eregi line. Are you using mb_eregi instead?

wauco
12-13-2004, 08:22 AM
I have not changed any code there. Although i tried to replace it with mb_eregi but recieved the same php-warning then. I am also getting the same warning (but from a different script) when I perform a search-query. Maybe it´s a Problem in the php.ini with multibyte. It seems I am the only one having this problem.

wauco
12-14-2004, 01:15 AM
Fixed the Warning by setting

mbstring.func_overload = No

in php.ini.