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.

CommentFileSizeAuthor
revisioning_includes_drupalroot.patch1.6 KBJaza

Comments

rdeboer’s picture

Good point Jaza!
Thanks for the patch.
Rik

Jaza’s picture

Priority: Major » Normal
Status: Needs review » Needs work

New meta-issue for wider discussion of this issue: #1928072: Bootstrapping Drupal from outside the Drupal root directory

rdeboer’s picture

Assigned: Jaza » rdeboer
Status: Needs work » Fixed

Commited with attribution.
Thanks jaza.
Rik

Status: Fixed » Closed (fixed)

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