Got this in 4.7 RC2 after uploading the module and making the change to common.inc:

Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.491 diff -u -r1.491 common.inc --- includes/common.inc 28 Oct 2005 01:06:36 -0000 1.491 +++ includes/common.inc 21 Nov 2005 14:54:05 -0000 @@ -290,6 +290,8 @@ drupal_set_header('HTTP/1.0 403 Forbidden'); watchdog('access denied', t('%page denied access.', array('%page' => theme('placeholder', $_GET['q']))), WATCHDOG_WARNING, l(t('view'), $_GET['q'])); + $_SESSION['destination'] = $_GET['q']; + $path = drupal_get_normal_path(variable_get('site_403', '')); $status = MENU_NOT_FOUND; if ($path) {
Fatal error: Call to undefined function: _drupal_bootstrap_full() in /path/path/path/mysite.com/includes/bootstrap.inc on line 729

The common.inc file is much shorter than what I already have - am I taking this insctruction too literally? I interpretted it to mean replace, not ammend.

Copy the patches/common.inc file that corresponds to your Drupal
version to includes/common.inc

Comments

kbahey’s picture

Status: Active » Closed (fixed)

You should patch the common.inc file and not overwrite it. Patching is explained in the handbook.

If you do not know how to patch, then all you need to do is to add the following line:

$_SESSION['destination'] = $_GET['q'];

Before this line in common.inc:

$path = drupal_get_normal_path(variable_get('site_403', ''));