I have found what seems to be a bug in authcache, which is that if you were logged in to the site, but your session has expired, the following error appears:
Fatal error: Call to undefined function module_list() in .../bootstrap.inc on line 1090
Viewing the site with a new anonymous session (e.g. with chrome's incognito mode), or clearing all cookies and site data, both prevent the error from occurring. I assume this is because the error is caused by an expired session cookie. I have tried switching to the latest 1.x-dev version, and this makes no difference. I am using authcache with FileCache.
I think the bug is in authcache because disabling the authcache module prevents the error from occurring. If you clear the cache and then view the site, the error does not occur the first time the page is generated, but does once it is in the cache.
Comments
Comment #1
znerol CreditAttribution: znerol commentedThis is most probably an unfortunate interaction between Authcache and the built-In page cache. Please disable the built-in page cache by unchecking Cache pages for anonymous users in Administration » Configuration » Development » Performance.
Btw, Authcache 7.x-2.x warns you when it detects such misconfigurations.
Comment #2
highfellow CreditAttribution: highfellow commentedI have just checked this, and that option is disabled already. Caching for anonymous users is enabled only in the authcache tab, not on the main tab.
Comment #3
znerol CreditAttribution: znerol commentedPlease also remove the
page_cache_without_database
setting from yoursettings.php
. Note, the code path leading to the failure almost certainly involves _drupal_bootstrap_page_cache. That's the only place where bootstrap_invoke_all is called (that's where the fatal error occurs).Comment #4
highfellow CreditAttribution: highfellow commentedI've removed that setting from
settings.php,
and it's now working OK - thanks.