When installing this module in Drupal 4.7.5, after the module is enabled, the following error is displayed every time you display a page:

warning: strstr() [function.strstr]: Empty delimiter. in /modules/cacheexclude/cacheexclude.module on line 41.

CommentFileSizeAuthor
#2 cacheexclude_0.patch986 byteseagle15
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wkornewald’s picture

This error only appears when the exclusion settings are empty.

eagle15’s picture

Status: Active » Needs review
FileSize
986 bytes

Fixes error message that appears when the exclusion settings are empty.

Crell’s picture

Status: Needs review » Fixed

Yep, that fixed it. Committed. Thanks.

radiobuzzer’s picture

Sorry. Still getting the message in my errorlog. And the exclude list is not empty

radiobuzzer’s picture

strstr() [function.strstr]: Empty delimiter. στο /home/radiofon/public_html/drupal/modules/cacheexclude/cacheexclude.module στη γραμ

radiobuzzer’s picture

Status: Fixed » Needs review

strstr() [function.strstr]: Empty delimiter. στο /home/radiofon/public_html/drupal/modules/cacheexclude/cacheexclude.module στη γραμ

radiobuzzer’s picture

Grrr. It doesn't let me paste that it is in line 46 now. Sorry for the flood

mrs-1’s picture

same problem here - may you fix it please ?

Crell’s picture

Status: Needs review » Fixed

It shouldn't be possible for that to be empty, but I added yet another check for it. Should be handled now, but I don't actually have a working 4.7 site to test it on anymore. :-) Cheers.

Anonymous’s picture

Status: Fixed » Closed (fixed)