FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » PHP warnings
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
PHP warnings [message #184520] Sun, 05 January 2014 08:17 Go to next message
TheDude is currently offline  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


Re: PHP warnings [message #184531 is a reply to message #184520] Mon, 06 January 2014 16:57 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
Our users are not seeing it here and we have update 3.0.5 in production as of October. We're on php 5.3.27

Good luck Dude!


Re : Re: PHP warnings [message #184532 is a reply to message #184531] Mon, 06 January 2014 18:06 Go to previous messageGo to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
I'm cursed Smile

Re: Re : Re: PHP warnings [message #184534 is a reply to message #184532] Mon, 06 January 2014 19:50 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Try to delete all spider definitions from the ACP (Spiders, Bots and Crawlers ACP).
Re : Re: Re : Re: PHP warnings [message #184539 is a reply to message #184534] Tue, 07 January 2014 11:59 Go to previous message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
Well, what can I say. Seems to have done the trick !
Thanks Frank !Smile


  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Sub-topic issue
Next Topic: Edited forum posts do not get sent to NNTP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 08:52:54 GMT 2024

Total time taken to generate the page: 0.02841 seconds