EDIT: Actually, it's NOT solved :/ I still have the warning. See post #2
Hi.
I uploaded my site to my host today (www.haisoft.fr) and I got those error in logs :
[01-Apr-2009 08:49:22] Warning at sapphire/core/control/HTTPRequest.php line 303: mb_substr_count() expects at most 3 parameters, 4 given (http://renaudmerle.fr/book-portfolio-identite-visuelle/)
[01-Apr-2009 08:49:22] Warning at sapphire/core/control/HTTPRequest.php line 303: mb_substr_count() expects at most 3 parameters, 4 given (http://renaudmerle.fr/book-portfolio-identite-visuelle/)
[01-Apr-2009 08:49:22] Warning at sapphire/core/control/HTTPRequest.php line 303: mb_substr_count() expects at most 3 parameters, 4 given (http://renaudmerle.fr/book-portfolio-identite-visuelle/)
[01-Apr-2009 08:49:22] Warning at sapphire/core/control/HTTPRequest.php line 303: mb_substr_count() expects at most 3 parameters, 4 given (http://renaudmerle.fr/book-portfolio-identite-visuelle/)
[01-Apr-2009 08:49:22] Warning at sapphire/core/SSViewer.php line 494: mb_ereg_replace() [<a href='function.mb-ereg-replace'>function.mb-ereg-replace</a>]: mbregex compile err: unmatched close parenthesis (http://renaudmerle.fr/book-portfolio-identite-visuelle/)
[01-Apr-2009 08:49:22] Warning at sapphire/core/SSViewer.php line 496: mb_ereg_replace() [<a href='function.mb-ereg-replace'>function.mb-ereg-replace</a>]: mbregex compile err: unmatched close parenthesis (http://renaudmerle.fr/book-portfolio-identite-visuelle/)
The function call is actually
$shiftCount = substr_count($pattern, '/', 0, $doubleSlashPoint) + 1;
I discovered the mbstring php module was activated with the auto-overload option set on, and thus it was replacing (without any success) the regular string functions.
I haded this line in my _config.php and it worked like a charm :
ini_set( 'mbstring.func_overload', '0' );
and this line to my .htaccess :
php_value "mbstring.func_overload" "0"
Best regards.