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

Mark threads with "[2.0]" for discussions about features in the longer-term future, "[1.6]" is for short-term. This is not the place for general discussions or plugin or template requests. Only features that are approved to happen by the core team should be listed here for better structuring.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

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

Post 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!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

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

Post 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!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
lfrantzen
Regular
Posts: 55
Joined: Fri May 02, 2008 1:24 pm
Location: Munich, Germany
Contact:

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

Post 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
lfrantzen
Regular
Posts: 55
Joined: Fri May 02, 2008 1:24 pm
Location: Munich, Germany
Contact:

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

Post by lfrantzen »

Sorry, should have read what was written better, could fix it by setting:

URL to blog to /

:oops:

Cheers,
Lars
Locked