Warning: Delimiter must not be alphanumeric

Having trouble installing serendipity?
Post Reply
wh1sper
Regular
Posts: 113
Joined: Sat Jan 15, 2005 6:26 pm
Location: Germany
Contact:

Warning: Delimiter must not be alphanumeric

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Warning: Delimiter must not be alphanumeric

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wh1sper
Regular
Posts: 113
Joined: Sat Jan 15, 2005 6:26 pm
Location: Germany
Contact:

Post 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 :(
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wh1sper
Regular
Posts: 113
Joined: Sat Jan 15, 2005 6:26 pm
Location: Germany
Contact:

Post by wh1sper »

Code: Select all

PREG-Pattern: PAT_AUTHORS
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wh1sper
Regular
Posts: 113
Joined: Sat Jan 15, 2005 6:26 pm
Location: Germany
Contact:

Post 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!
Post Reply