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

Home » FUDforum Development » Bug Reports » PHP warnings
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
PHP warnings [message #184520] Sun, 05 January 2014 03:17 Go to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
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 11:57 Go to previous messageGo to next message
GaryM is currently offline  GaryM   United States
Messages: 88
Registered: May 2013
Location: Seattle
Karma: 1
Member
add to buddy list
ignore all messages by this user
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 13:06 Go to previous messageGo to next message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
I'm cursed Smile

Re: Re : Re: PHP warnings [message #184534 is a reply to message #184532] Mon, 06 January 2014 14:50 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 06:59 Go to previous message
TheDude is currently offline  TheDude
Messages: 120
Registered: November 2012
Location: France
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
Well, what can I say. Seems to have done the trick !
Thanks Frank !Smile


Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Fri Dec 15 22:40:21 EST 2017

Total time taken to generate the page: 0.00704 seconds