Closed (fixed)
Project:
Cache
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2009 at 10:52 UTC
Updated:
22 Oct 2009 at 09:40 UTC
Hello,
Though seems to work properly, we frequently get this notice for cached pages:
Notice: Undefined variable: return in /sites/all/modules/cache/engines/xcache.inc on line 134
and the xcache.ini FYI:
[xcache-common]
zend_extension = /usr/lib/php/modules/xcache.so
[xcache.admin]
xcache.admin.enable_auth = On
xcache.admin.user = "**"
xcache.admin.pass = "**"
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 140M
xcache.count = 2
xcache.slots = 8K
xcache.ttl = 0
xcache.gc_interval = 0
xcache.var_size = 164M
xcache.var_count = 2
xcache.var_slots = 16K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = Off
xcache.readonly_protection = On
xcache.mmap_path = "/tmp/xcache"
xcache.coredump_directory = ""
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
[xcache.coverager]
xcache.coverager = Off
xcache.coveragedump_directory = ""
Reporting.
Thanks in advance.
Xcache 1.3.0, PHP 5.2.10, D6.13
Comments
Comment #1
chawl commentedOK, it seems to be related to Domain Access and Panels modules.
We have 3 (sub)domains and their front pages are custom Panels pages, and those are the ones that always gives this notice.
This may be inspiring.
Tx.
Comment #2
chawl commentedWe have migrated from 32bit to PHP 5.2.10-64bit and this notice disappeared.
Odd, but this seems to be fixed by itself.
Comment #3
doq commentedNo, it can occur anyway.
Comment #4
chawl commentedFirst it seemed to disappear, but I rechecked PHP logs and found this again.
Yes, this must be active.
Comment #5
doq commented