PHP warnings [message #184520] |
Sun, 05 January 2014 08:17 |
|
TheDude
Messages: 120 Registered: November 2012 Location: France
Karma: 2
|
Senior Member |
|
|
Hi !
Users and myself have noticed php warnings at some point especially when logging out then logging into the forum. Here's the warning :
Warning: preg_match() [function.preg-match]: Unknown modifier '5' in /web/bartopmania/www/index.php on line 312
Warning: preg_match() [function.preg-match]: Unknown modifier '5' in /web/bartopmania/www/index.php on line 312
Warning: preg_match() [function.preg-match]: Unknown modifier '5' in /web/bartopmania/www/index.php on line 312
Warning: preg_match() [function.preg-match]: Unknown modifier '5' in /web/bartopmania/www/index.php on line 312
Warning: preg_match() [function.preg-match]: Unknown modifier '5' in /web/bartopmania/www/index.php on line 312
Warning: preg_match() [function.preg-match]: Unknown modifier '1' in /web/bartopmania/www/index.php on line 312
Warning: preg_match() [function.preg-match]: Unknown modifier '3' in /web/bartopmania/www/index.php on line 312
They complain no pictures are visible just after that. It seems that a simple logging in/out fixes the problem in Firefox. Here's the line referred to :
if (preg_match('/'. $spider['useragent'] .'/i', $_SERVER['HTTP_USER_AGENT'])) {
That started to happen when I updated to version 3.0.5
Cheers
http://www.bartopmania.com
|
|
|
|
|
|
|