Page 1 of 1

1.6.6 Warning: strstr() [function.strstr]: Empty

Posted: Wed Aug 03, 2011 5:00 am
by wakewatcher
I was having problems my admin page. (Not showing the editable content as discussed HERE.) I reinstalled 1.6.6 and now when I access the admin page I get a series of these messages.

Warning: strstr() [function.strstr]: Empty delimiter in /home/mydomain/public_html/cmsms/lib/classes/class.admintheme.inc.php on line 1000

Searching I found a few non-English posts and one from Ted Kulp from 2004 but nothing recent or obviously pertinent.

Line 1000 of the file is:
"else if (strstr($sectionArray['url'],$this->script) !== FALSE &&"
Searching the web suggested putting a "@" in front of the function. That just hides the problem. I searched this forum for "$sectionArray['url']" and again just got German posts. My guess is something about a delimiter in some url string. I looked at my config.php but nothing jumped out at me.

Anybody else run into this?

My intent is to get my 1.6.6 version working and then upgrade to the latest version.

Re: 1.6.6 Warning: strstr() [function.strstr]: Empty

Posted: Wed Aug 03, 2011 5:05 am
by calguy1000
CMSMS 1.6.6 is no longer supported. Please upgrade to 1.9.4.2.