Page 4 of 4

Re: [1.7] Let's get rrready to rrr … elease

Posted: Mon Feb 25, 2013 10:16 am
by Timbalu
Timbalu wrote:I do have some one here (possibly on all-inkl-com) with PHP 5.2.12-nmm4, who gets this stristr empty delimiter warning too. I send a PM some time ago without success to check if this is a buggy PHP version or the stristr key itself. (Debug args say: [autodetect_baseURL] => and [baseURL] => ).
I can not reach him to solve that error, but it looks like, that if needle - in this case $serendipity['baseURL'] - is empty, the warning message is an "empty delimiter" error. It seems strange how this blog has worked before...?

So please make sure you have set your Backend - configuration -> path - URL to blog, to reflect your site Url path: e.g. http://domain.com/path2S9y/
Note.
It was solved with Backend set - configuration -> path - "URL to blog", which was empty indeed, ...
why ever!

Re: [1.7] Let's get rrready to rrr … elease

Posted: Thu Mar 21, 2013 3:01 pm
by Timbalu
I also ordered to correct this confusing 'empty delimiter' error notices in future php versions
http://git.php.net/?p=php-src.git;a=blo ... 797144ffcd
Thanks to laruence!

Re: [1.7] Let's get rrready to rrr … elease

Posted: Fri Apr 12, 2013 2:30 pm
by lfrantzen
Hi,

sorry for jumping in, but this sounds like related to a problem I just realized after having upgraded to rc3.

I use Serendipity 1.7-rc3
The hosting provider is 1&1 with global PHP set to PHP 5.4
The bottom line of the Administration Suite page says:
Powered by Serendipity 1.7-rc3 and PHP 5.4.12


Blog is http://www.frantzen.info/

When I click a link going to the blog, say I press a navbar link within the blog, I get this error:

Code: Select all

== TESTING ERROR MODE ==

Fatal error:  Uncaught exception 'ErrorException' with message 'Serendipity error: stristr() [<a href='function.stristr'>function.stristr</a>]: Empty delimiter' in /homepages/10/d243342463/htdocs/serendipity/include/compat.inc.php:118
Stack trace:
#0 [internal function]: errorToExceptionHandler('http://www.fran...', '')
#1 /homepages/10/d243342463/htdocs/serendipity/include/functions.inc.php(713): stristr()
#2 /homepages/10/d243342463/htdocs/serendipity/index.php(625): serendipity_track_referrer()
#3 {main}
  thrown in /homepages/10/d243342463/htdocs/serendipity/include/compat.inc.php on line 118
For instance click this link: http://www.frantzen.info/pages/software.html.
You get the error, but when you just type in the link in your browser (sometimes a "reload" is enough"), the page shows up correctly :shock:

I set up another s9y blog from scratch with exactly the same setup at 1&1, and the the problem is not present.

Weird... Hope this is related, any help appreciated!

Thanks and Cheers,
Lars

Re: [1.7] Let's get rrready to rrr … elease

Posted: Fri Apr 12, 2013 2:44 pm
by lfrantzen
Sorry, should have read what was written better, could fix it by setting:

URL to blog to /

:oops:

Cheers,
Lars