Page 1 of 1

Warning: Delimiter must not be alphanumeric

Posted: Tue Nov 08, 2005 1:28 pm
by wh1sper
this is at the end of the page :

Code: Select all

Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /srv/www/htdocs/web3/html/s9y/index.php on line 247
in index.php ist dort

Code: Select all

246:   include_once(S9Y_INCLUDE_PATH . 'include/genpage.inc.php');
247:} else if (preg_match(PAT_AUTHORS, $uri, $matches)) {
248:    $_args = $serendipity['uriArguments'];
should I care?

Re: Warning: Delimiter must not be alphanumeric

Posted: Tue Nov 08, 2005 1:40 pm
by garvinhicking
Please enter this code after those if blocks:

Code: Select all

echo "PREG-Pattern: " . PAT_AUTHORS . "<br />\n";
It seems that the Preg pattern is invalid. That can happen depending on the permalinks and path settings you made. You should care about this error, yes :)

Regards,
Garvin

Posted: Tue Nov 08, 2005 1:50 pm
by wh1sper

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web3/html/s9y/index.php:1) in /srv/www/htdocs/web3/html/s9y/include/functions_config.inc.php on line 263

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web3/html/s9y/index.php:1) in /srv/www/htdocs/web3/html/s9y/index.php on line 25

Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /srv/www/htdocs/web3/html/s9y/index.php on line 247
o o :(

Posted: Tue Nov 08, 2005 2:11 pm
by garvinhicking
That's okay, temporary - the header error comes because you output a preg-pattern.. You need to look at your HTML output and search for the "PREG" output, it should be there.

Also tell me where you put the echo part, you should put it after all the if...elseif... statements.

Regards,
Garvin

Posted: Tue Nov 08, 2005 2:40 pm
by wh1sper

Code: Select all

PREG-Pattern: PAT_AUTHORS

Posted: Tue Nov 08, 2005 2:49 pm
by garvinhicking
You should put the code I mentioned at about line 435, just before this:

Code: Select all

if ($track_referer) {
    serendipity_track_referrer();
}
so:

Code: Select all

echo "PREG: " . PAT_AUTHORS . "<br />\n";
if ($track_referer) {
    serendipity_track_referrer();
}
Regards,
garvin

Posted: Tue Nov 08, 2005 3:03 pm
by wh1sper
ok, this was already.
But I solved the problem.
My index.php had only about 336 lines of code.
I transmitted the original out of the tar.gz.
Of course the failure is gone away :twisted:
Wonder what this was :roll: but anyway.

THANKS!