Error in apache logs [message #11674] |
Fri, 11 July 2003 09:25 |
ctbk
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 |
Ilia
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 |
ctbk
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 #11824 is a reply to message #11820] |
Fri, 18 July 2003 13:13 |
Ilia
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
|
|
|