Warnings while posting [message #34269] |
Mon, 16 October 2006 19:05 |
kroku
Messages: 30 Registered: July 2006
Karma: 0
|
Member |
|
|
Warning: strpos() [function.strpos]: Empty delimiter. in /home/aeii/public_html/fud/theme/default/post.php on line 3661
Warning: Cannot modify header information - headers already sent by (output started at /home/aeii/public_html/fud/theme/default/post.php:3661) in /home/aeii/public_html/fud/theme/default/post.php on line 4125
inside post.php
3661: while (($a = strpos($text_l, $k, $a)) !== false) {
3662: if ((!$a || isset($GLOBALS['__SML_CHR_CHK__'][$text_l[$a - 1]])) && ((@$ch = $text_l[$a + $len]) == "" || isset($GLOBALS['__SML_CHR_CHK__'][$ch]))) {
3663: $text_l = substr_replace($text_l, $v, $a, $len);
3664: $text = substr_replace($text, $v, $a, $len);
3665: $a += strlen($v) - $len;
3666: } else {
3667: $a += $len;
3668: }
3669: }
4121: /* redirect the user to their message */
4122: if ($FUD_OPT_2 & 32768) {
4123: header('Location: http://aeii.livenet.pl/fud/index.php/m/'.$msg_post->id.'/'._rsidl.'#msg_'.$msg_post->id);
4124: } else {
4125: header('Location: http://aeii.livenet.pl/fud/index.php?t='.$t.'&goto='.$msg_post->id.'&'._rsidl.'#msg_'.$msg_post->id);
4126: }
4127: exit;
[Updated on: Mon, 16 October 2006 19:05] Report message to a moderator
|
|
|
Re: Warnings while posting [message #34281 is a reply to message #34269] |
Tue, 17 October 2006 15:51 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It sounds like you use the "~" (tild) uses to separate multiple smiley codes for the same smiley as trailing part of a smiley or left one trailing. Subsequently you ended up with an empty token, hence the error.
FUDforum Core Developer
|
|
|
|
|
|
Re: Odp: Warnings while posting [message #34349 is a reply to message #34328] |
Sun, 22 October 2006 21:51 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to go to the admin control panel, smiley editor and check to make sure that none of your smilie codes end with a ~ or have two ~ right after one another.
FUDforum Core Developer
|
|
|
|