Error in Drupal 4.7.5

jorgemare - January 29, 2007 - 20:57
Project:CacheExclude
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

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.

#1

wkornewald - January 30, 2007 - 07:38

This error only appears when the exclusion settings are empty.

#2

eagle15 - January 31, 2007 - 06:27
Status:active» patch (code needs review)

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

AttachmentSize
cacheexclude_0.patch986 bytes

#3

Crell - January 31, 2007 - 06:49
Status:patch (code needs review)» fixed

Yep, that fixed it. Committed. Thanks.

#4

radiobuzzer - February 5, 2007 - 20:45

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

#5

radiobuzzer - February 5, 2007 - 20:46

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

#6

radiobuzzer - February 5, 2007 - 20:47
Status:fixed» patch (code needs review)

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

#7

radiobuzzer - February 5, 2007 - 20:48

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

#8

mrs - April 3, 2007 - 22:15

same problem here - may you fix it please ?

#9

Crell - April 11, 2007 - 20:41
Status:patch (code 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.

#10

Anonymous - April 25, 2007 - 20:47
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.