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
This error only appears when the exclusion settings are empty.
#2
Fixes error message that appears when the exclusion settings are empty.
#3
Yep, that fixed it. Committed. Thanks.
#4
Sorry. Still getting the message in my errorlog. And the exclude list is not empty
#5
strstr() [function.strstr]: Empty delimiter. στο /home/radiofon/public_html/drupal/modules/cacheexclude/cacheexclude.module στη γραμ
#6
strstr() [function.strstr]: Empty delimiter. στο /home/radiofon/public_html/drupal/modules/cacheexclude/cacheexclude.module στη γραμ
#7
Grrr. It doesn't let me paste that it is in line 46 now. Sorry for the flood
#8
same problem here - may you fix it please ?
#9
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