persistent error in post.php [message #20611] |
Wed, 20 October 2004 23:28 |
|
Wild_Cat
Messages: 144 Registered: November 2002 Location: Odessa, Ukraine
Karma: 0
|
Senior Member |
|
|
This error appeared by itself (may be admin changed some server soft versions?..) a certain time ago.
I waited to make new templates before upgrading, but no time for this and the error is bugging people every time, so I upgraded.
2.5.3RC1 -> 2.6.7
The error remains
γΙΤΑΤΑ: | Warning: Compilation failed: nothing to repeat at offset 0 in .../forum/theme/default/post.php on line 2148
Warning: Compilation failed: nothing to repeat at offset 0 in .../forum/theme/default/post.php on line 2134
|
And as a result after "post" button pressed one more line is added
γΙΤΑΤΑ: | Warning: Cannot modify header information - headers already sent by (output started at .../forum/theme/default/post.php:2148) in .../forum/theme/default/post.php on line 4030
|
The messages are posted in fact OK but the page after posting doesn't show up and in general this error is scaring people off.
What might be the problem and what should I do to get rid of it, please?
Lady of Avalon
[Updated on: Wed, 20 October 2004 23:29] Report message to a moderator
|
|
|
Re: persistent error in post.php [message #20612 is a reply to message #20611] |
Thu, 21 October 2004 00:41 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Send me the post.php file so that I can take a look at the compiled source file that is causing the problem.
FUDforum Core Developer
|
|
|
Re: persistent error in post.php [message #20621 is a reply to message #20612] |
Thu, 21 October 2004 13:27 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The problem seems to be a certain value inside your e-mail filter. What e-mail addresses do you have blocked?
FUDforum Core Developer
|
|
|
|
Re: persistent error in post.php [message #21885 is a reply to message #20630] |
Sat, 25 December 2004 06:13 |
phpistasty
Messages: 2 Registered: December 2004 Location: e-ville In
Karma: 0
|
Junior Member |
|
|
look at your regex, there is something saying a certain amount or something at 0 , make sure you have /(regex here)/(modifier) as your regular expression, with preg you have to have the / , i had a similar problem because i had \${1} and for some reason it didn't like that.. i'm still not sure on where it doesn't fulfill posix rules, but i know the error comes from an amount requirement at that position etc.. ..
hope it helps
, the way i fixed mine was to take \${1} and put it as [\$]{1} , its a bit ghetto , but it works
smldb:200k+
[Updated on: Sat, 25 December 2004 06:15] Report message to a moderator
|
|
|