Hi,
If I check "Cache pages for anonymous users" and hit "Save configuration" the check box resets. There are no error messages in UI, Drupal logs or PHP logs.
I have tried the following.
Adding this line to settings.php
$conf['cache'] = TRUE;
Searching for the following statements in the contrib modules:
drupal_page_is_cacheable(FALSE);
$GLOBALS['conf']['cache'] = 0;
$GLOBALS['conf']['cache'] = CACHE_DISABLED;
$conf['cache'] = FALSE;
Disabling these modules:
- CAPTCHA
- Flag
- Asynchronous Prefetch Database Query Cache
- ThemeKey Redirect
None of those things worked. I do wonder if the Domain Access module might be involved. However, I can't disable that.
Does anyone have any further suggestions how I might identify the source of this problem?
Thank you.
Brett Sh
P.S. have looked on forums & found issues like this and followed suggestions but to no avail.
https://www.drupal.org/project/drupal/issues/2844374
Comments
Comment #2
brettshComment #3
brettshLooked in the database, 'cache' is set to 1. So, something it must be something in code that is forcing the cache off.