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

Home » FUDforum Development » Bug Reports » Error in apache logs
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Error in apache logs [message #11674] Fri, 11 July 2003 09:25 Go to next message
ctbk is currently offline  ctbk   Italy
Messages: 142
Registered: April 2002
Location: Milan, Italy
Karma: 0
Senior Member
On some machines this error goes in the apache log, in other goes to the user's browser. It depends on apache config.

Anyway, the error is reported anytime register.php is accessed, the message is the following:

[Fri Jul 11 11:27:23 2003] [error] PHP Warning: Empty regular expression in /var/www/fud/theme/xxx/register.php on line 1146


~
~
:wq

[Updated on: Fri, 11 July 2003 09:26]

Report message to a moderator

Re: Error in apache logs [message #11681 is a reply to message #11674] Fri, 11 July 2003 20:56 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It would appear you have some bogus filter rule, which is was causing this problem. Check your filters.

FUDforum Core Developer
Re: Error in apache logs [message #11819 is a reply to message #11681] Fri, 18 July 2003 09:15 Go to previous messageGo to next message
ctbk is currently offline  ctbk   Italy
Messages: 142
Registered: April 2002
Location: Milan, Italy
Karma: 0
Senior Member
Checked. Nothing seems out of place.
Besides, I've got the same kind of errors in post.php; the line:

[Fri Jul 18 11:12:06 2003] [error] PHP Warning: Empty regular expression in /var/www/fud/theme/xxx/post.php on line 728

is repeated 16 times in apache error logs for each bogus page.

line 728 of that file is:

return preg_replace($GLOBALS['__FUD_REPLR__']['pattern'], $GLOBALS['__FUD_REPLR__']['replace'], $text);

Don't know if it's related, but I've set 8 regex in the censorship system.


~
~
:wq
Re: Error in apache logs [message #11820 is a reply to message #11819] Fri, 18 July 2003 09:29 Go to previous messageGo to next message
ctbk is currently offline  ctbk   Italy
Messages: 142
Registered: April 2002
Location: Milan, Italy
Karma: 0
Senior Member
edited & updated all the regex presents in the admin panel, the problem seems solved.

~
~
:wq
Re: Error in apache logs [message #11824 is a reply to message #11820] Fri, 18 July 2003 13:13 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This problem is usually the result of blank or invalid replacment regular expression, not a FUDforum problem per-say. When I take on the task of updating FUDforum documentation (long overdue) I will include a note about this warning message to help people to quickly solve it.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Forum Statistics with DB name error
Next Topic: ICQ UIN Bug
Goto Forum:
  

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

Current Time: Mon Nov 25 22:46:44 GMT 2024

Total time taken to generate the page: 0.02506 seconds