Active
Project:
MRBS
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
26 Aug 2009 at 20:01 UTC
Updated:
31 Aug 2009 at 13:12 UTC
Hi I made an MRBS installation with drupal integration. Everything works untill I change the $auth["session"] = "php"; and $auth["type"] = "config"; to $auth["session"] = "drupal"; $auth["type"] = "drupal"; in config.inc.php . It shows this: Fatal error: require_once() [function.require]: Failed opening required 'style.inc' (include_path='.;D:\VertrigoServ\Smarty') in D:\VertrigoServ\www\mrbs\Themes\default\header.inc on line 49
Any help please?
Comments
Comment #1
vesapalmu commentedIt seems the integration is currently not working with MRBS 1.4.2. Older version 1.4.0 works without any issues.
Comment #2
ghaya commentedI had the same problem. Someone else will have to come up with a good permanent fix for the module, but I made the following changes and it works as a temporary solution for me.
1. In line 13 of the file auth_drupal.inc just hardcode in the path to your home drupal directory. Something like this
$base_dir = '/home/xyz/xyz' ;
2. In line 49 of \Themes\default\header.inc just hardcode in the path to your mrbs instalation, that's where the file style.inc is located. So something like this require_once '/home/xyz/xyz/web/style.inc';