Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm hoping someone can make sense of these errors. I followed the steps in the readme file. The status report of my website tells me APC is loaded. However, right after I enabled the APC module, the following notices (but with error status) are thrown. I'm not sure if this has anything to do with the fact that I'm installing on Aegir / multisite or not...
Thanks in advance for any insights
Notice: include(): 1. h->opened_path=[null] h->filename=[/var/aegir/platforms/**my-codebase**/sites/sites.php] in conf_path() (line 553 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include(): apc_cache_find [3870727] in conf_path() (line 553 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/sites.php] h->filename=[/var/aegir/platforms/**my-codebase**/sites/sites.php] in conf_path() (line 553 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/sites/sites.php] in conf_path() (line 553 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include(): Inserting [/var/aegir/platforms/**my-codebase**/sites/sites.php] in conf_path() (line 553 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include_once(): 1. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/**my-website**.com/settings.php] h->filename=[/var/aegir/platforms/**my-codebase**/sites/**my-website**.com/settings.php] in drupal_settings_initialize() (line 717 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include_once(): apc_cache_find [3870403] in drupal_settings_initialize() (line 717 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include_once(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/**my-website**.com/settings.php] h->filename=[/var/aegir/platforms/**my-codebase**/sites/**my-website**.com/settings.php] in drupal_settings_initialize() (line 717 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include_once(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/sites/**my-website**.com/settings.php] in drupal_settings_initialize() (line 717 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include_once(): Inserting [/var/aegir/platforms/**my-codebase**/sites/**my-website**.com/settings.php] in drupal_settings_initialize() (line 717 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: include_once(): 1. h->opened_path=[/var/aegir/config/includes/global.inc] h->filename=[/var/aegir/config/includes/global.inc] in include_once() (line 113 of /var/aegir/platforms/**my-codebase**/sites/**my-website**.com/settings.php).
x
Notice: include_once(): apc_cache_find [3604284] in include_once() (line 113 of /var/aegir/platforms/**my-codebase**/sites/**my-website**.com/settings.php).
x
Notice: require_once(): 1. h->opened_path=[/var/aegir/platforms/**my-codebase**/includes/cache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/includes/cache.inc] in _drupal_bootstrap_page_cache() (line 2367 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_find [3740320] in _drupal_bootstrap_page_cache() (line 2367 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/includes/cache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/includes/cache.inc] in _drupal_bootstrap_page_cache() (line 2367 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/includes/cache.inc] in _drupal_bootstrap_page_cache() (line 2367 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): Inserting [/var/aegir/platforms/**my-codebase**/includes/cache.inc] in _drupal_bootstrap_page_cache() (line 2367 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 1. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/all/modules/mobile_switch/mobile_switch_database_cache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/sites/all/modules/mobile_switch/mobile_switch_database_cache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_find [1117298] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/all/modules/mobile_switch/mobile_switch_database_cache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/sites/all/modules/mobile_switch/mobile_switch_database_cache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/sites/all/modules/mobile_switch/mobile_switch_database_cache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): Inserting [/var/aegir/platforms/**my-codebase**/sites/all/modules/mobile_switch/mobile_switch_database_cache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 1. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_find [1115287] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): Inserting [/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 1. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/dmemcache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/dmemcache.inc] in require_once() (line 3 of /var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc).
x
Notice: require_once(): apc_cache_find [1115273] in require_once() (line 3 of /var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc).
x
Notice: require_once(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/dmemcache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/dmemcache.inc] in require_once() (line 3 of /var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc).
x
Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/dmemcache.inc] in require_once() (line 3 of /var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc).
x
Notice: require_once(): Inserting [/var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/dmemcache.inc] in require_once() (line 3 of /var/aegir/platforms/**my-codebase**/sites/all/modules/memcache/memcache.inc).
x
Notice: require_once(): 1. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/all/modules/apc/drupal_apc_cache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/sites/all/modules/apc/drupal_apc_cache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_find [2298361] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/sites/all/modules/apc/drupal_apc_cache.inc] h->filename=[/var/aegir/platforms/**my-codebase**/sites/all/modules/apc/drupal_apc_cache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/sites/all/modules/apc/drupal_apc_cache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): Inserting [/var/aegir/platforms/**my-codebase**/sites/all/modules/apc/drupal_apc_cache.inc] in _drupal_bootstrap_page_cache() (line 2369 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 1. h->opened_path=[/var/aegir/platforms/**my-codebase**/includes/database/database.inc] h->filename=[/var/aegir/platforms/**my-codebase**/includes/database/database.inc] in _drupal_bootstrap_database() (line 2457 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_find [3740367] in _drupal_bootstrap_database() (line 2457 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/includes/database/database.inc] h->filename=[/var/aegir/platforms/**my-codebase**/includes/database/database.inc] in _drupal_bootstrap_database() (line 2457 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/includes/database/database.inc] in _drupal_bootstrap_database() (line 2457 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): Inserting [/var/aegir/platforms/**my-codebase**/includes/database/database.inc] in _drupal_bootstrap_database() (line 2457 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 1. h->opened_path=[/var/aegir/platforms/**my-codebase**/includes/lock.inc] h->filename=[/var/aegir/platforms/**my-codebase**/includes/lock.inc] in _drupal_bootstrap_variables() (line 2474 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_find [3740388] in _drupal_bootstrap_variables() (line 2474 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): 2. h->opened_path=[/var/aegir/platforms/**my-codebase**/includes/lock.inc] h->filename=[/var/aegir/platforms/**my-codebase**/includes/lock.inc] in _drupal_bootstrap_variables() (line 2474 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): apc_cache_make_file_entry: entry->data.file.filename is [/var/aegir/platforms/**my-codebase**/includes/lock.inc] in _drupal_bootstrap_variables() (line 2474 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
x
Notice: require_once(): Inserting [/var/aegir/platforms/**my-codebase**/includes/lock.inc] in _drupal_bootstrap_variables() (line 2474 of /var/aegir/platforms/**my-codebase**/includes/bootstrap.inc).
Comments
Comment #1
AlfTheCat CreditAttribution: AlfTheCat commentedI've just installed APC on a server and got the same notices in Aegir (3.x)
I managed to resolve them by first uninstalling APC (
# pecl uninstall apc
) because I had inadvertently not set theEnable internal debugging in APC [no] :no
correctly. As it turns out, you really have to type "no" and not "n" or give an enter. An enter does not result in the recommended / default value, but to "yes" :SNext, in your hostmaster directory, find the local.settings.php and add:
Verify your hostmaster site and then flush all caches.