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.
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;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

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

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


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/
Stack trace:
#0 [internal function]: errorToExceptionHandler('http://www.fran...', '')
#1 /homepages/10/d243342463/htdocs/serendipity/include/ stristr()
#2 /homepages/10/d243342463/htdocs/serendipity/index.php(625): serendipity_track_referrer()
#3 {main}
  thrown in /homepages/10/d243342463/htdocs/serendipity/include/ on line 118
For instance click this link:
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,

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 /