The 'require' statements for the various revisioning .inc files (at the top of revisioning.module) need a DRUPAL_ROOT in front of them. Otherwise, trying to run these 'require' when the site is installed in a vhost subfolder fails, with this message:
Fatal error: require_once(): Failed opening required 'sites/all/modules/contrib/revisioning/revisioning_api.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /path/to/site/sites/all/modules/contrib/revisioning/revisioning.module on line 25
Attached patch fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| revisioning_includes_drupalroot.patch | 1.6 KB | Jaza |
Comments
Comment #1
rdeboerGood point Jaza!
Thanks for the patch.
Rik
Comment #2
Jaza commentedNew meta-issue for wider discussion of this issue: #1928072: Bootstrapping Drupal from outside the Drupal root directory
Comment #3
rdeboerCommited with attribution.
Thanks jaza.
Rik