I get the following in my logs:

PHP Fatal error: require_once(): Failed opening required '/var/dir/includes/bootstrap.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /site/all/authcache/modules/authcache_p13n/frontcontroller/authcache.php on line 31,

It is a multisite setup using aegir. I also use symlinks

I have my directory setup as follows:
/var/dir/drupal7/includes/bootstrap
/var/dir/drupal7/modules
/var/dir/drupal7/sites/mysite
/var/dir/drupal7/sites/mysite2

However the code is not seeing the base directory, drupal7.

this could be similar to an issue with rules where dirname was used but caused infinite loops when symlinks were used.
https://drupal.org/node/2054595

Comments

znerol’s picture

Category: Bug report » Support request

Please use safe front controller script. Like this you can avoid the problematic root-directory guessing logic.

Copy authcache_p13n/safe_frontcontroller/authcache.php to the drupal root and then add the following line to your settings.php:

$conf['authcache_p13n_frontcontroller_path'] = 'authcache.php';
znerol’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.