Hello.
I did a fresh new installation of MRBS 1.4.8: it's working and i already tested the standalone auth system.
I followed the Readme instruction to set up it in drupal, with your module, but here comes the problems.

When i change the config.inc.php with $auth["session"] = "drupal"; $auth["type"] = "drupal"; and replace it in the webserver, i can't see anymore the MRBS.

The screen goes just blank when i try to open it.

Of course also the auth_drupal.inc and session_drupal.inc are well placed, and the config.inc.php is clean as possible, with only the "drupal" auths mentioned above and the lines relative for the database connection.

Also, after i installed the module into my Website and activated it in the modules page, i still can't see the relative permission tabs!So i can't assign any permission to people to use or not the MRBS 1.4.8.

I suppose the 2 problems are strictly related.

I used the module for the 6.* version a year ago and worked like a charm, i hope we'll fix this problem asap .

Thank you and keep up the good work.
Later i will post my config.inc.php and directory trees if needed.

Comments

giosko’s picture

Update:

I upgraded from my previous version of mrbs to the new module for drupal 7 and mrbs 1.4.8.
Upgrading the version and db worked well, but when i modify the config.php.inc with the

$auth["session"] = "drupal";
$auth["type"] = "drupal";

it still give me back blank screen and i still can't see the permission tab relative to mrbs in drupal.
Also i can't still login in mrbs with my drupal credentials.

Here is my config.php.inc, for further information

<?php

// $Id: config.inc.php 2211 2011-12-24 09:27:00Z cimorrison $

/**************************************************************************
 *   MRBS Configuration File
 *   Configure this file for your site.
 *   You shouldn't have to modify anything outside this file
 *   (except for the lang.* files, eg lang.en for English, if
 *   you want to change text strings such as "Meeting Room
 *   Booking System", "room" and "area").
 **************************************************************************/

/**********
 * Timezone
 **********/
 
// The timezone your meeting rooms run in. It is especially important
// to set this if you're using PHP 5 on Linux. In this configuration
// if you don't, meetings in a different DST than you are currently
// in are offset by the DST offset incorrectly.
//
// Note that timezones can be set on a per-area basis, so strictly speaking this
// setting should be in areadefaults.inc.php, but as it is so important to set
// the right timezone it is included here.
//
// When upgrading an existing installation, this should be set to the
// timezone the web server runs in.  See the INSTALL document for more information.
//
// A list of valid timezones can be found at http://php.net/manual/timezones.php
// The following line must be uncommented by removing the '//' at the beginning



$timezone = "Europe/London";

/***********************************************
 * Authentication settings - read AUTHENTICATION
 ***********************************************/
 $auth["session"] = "drupal";
 $auth["type"] = "drupal";

/*******************
 * Database settings
 ******************/
// Which database system: "pgsql"=PostgreSQL, "mysql"=MySQL,
// "mysqli"=MySQL via the mysqli PHP extension
$dbsys = "mysql";
// Hostname of database server. For pgsql, can use "" instead of localhost
// to use Unix Domain Sockets instead of TCP/IP.
$db_host = "mysqlhost.bo.it";
// Database name:
$db_database = "drupal";
// Database login user name:
$db_login = "mylogin";
// Database login password:
$db_password = 'mypassword';
// Prefix for table names.  This will allow multiple installations where only
// one database is available
$db_tbl_prefix = "mrbs_";
// Uncomment this to NOT use PHP persistent (pooled) database connections:
$db_nopersist = 1;

/*********************************
 * Site identification information
 *********************************/
$mrbs_admin = "Admin";
$mrbs_admin_email = "admin@myemail.it";

// This is the text displayed in the upper left corner of every page.

$mrbs_company = "My company";

$url_base = "";


/* Add lines from systemdefaults.inc.php and areadefaults.inc.php below here
   to change the default configuration. Do _NOT_ modify systemdefaults.inc.php
   or areadefaults.inc.php.  */

And here it is my directory tree

/drupal7/includes
/drupal7/misc
/drupal7/modules
/drupal7/mrbs
/drupal7/profiles
/drupal7/scripts
/drupal7/sites
/drupal7/themes
/drupal7/CHANGELOG.txt
/drupal7/COPYRIGHT.txt
/drupal7/INSTALL.mysql.txt
/drupal7/INSTALL.pgsql.txt
/drupal7/INSTALL.sqlite.txt
/drupal7/INSTALL.txt
/drupal7/LICENSE.txt
/drupal7/MAINTAINERS.txt
/drupal7/README.txt
/drupal7/UPGRADE.txt
/drupal7/authorize.php
/drupal7/cron.php
/drupal7/index.php
/drupal7/install.php
/drupal7/robots.txt
/drupal7/update.php
/drupal7/web.config
/drupal7/xmlrpc.php
-----------------------------------------------
/drupal7/mrbs/Blowfish
/drupal7/mrbs/File
/drupal7/mrbs/Mail
/drupal7/mrbs/Net
/drupal7/mrbs/Themes
/drupal7/mrbs/images
/drupal7/mrbs/jquery
/drupal7/mrbs/mrbs_inc
/drupal7/mrbs/tzurl
/drupal7/mrbs/upgrade
/drupal7/mrbs/Blowfish.php
/drupal7/mrbs/Mail.php
/drupal7/mrbs/PEAR.php
/drupal7/mrbs/add.php
/drupal7/mrbs/admin.php
/drupal7/mrbs/approve_entry_handler.php
/drupal7/mrbs/areadefaults.inc.php
/drupal7/mrbs/auth_auth_basic.inc
/drupal7/mrbs/auth_config.inc
/drupal7/mrbs/auth_crypt.inc
/drupal7/mrbs/auth_db.inc
/drupal7/mrbs/auth_db_ext.inc
/drupal7/mrbs/auth_drupal.inc
/drupal7/mrbs/auth_ext.inc
/drupal7/mrbs/auth_imap.inc
/drupal7/mrbs/auth_imap_php.inc
/drupal7/mrbs/auth_ldap.inc
/drupal7/mrbs/auth_nis.inc
/drupal7/mrbs/auth_none.inc
/drupal7/mrbs/auth_nw.inc
/drupal7/mrbs/auth_pop3.inc
/drupal7/mrbs/auth_smtp.inc
/drupal7/mrbs/config.inc.php
/drupal7/mrbs/day.php
/drupal7/mrbs/dbsys.inc
/drupal7/mrbs/defaultincludes.inc
/drupal7/mrbs/del.php
/drupal7/mrbs/del_entry.php
/drupal7/mrbs/del_entry_ajax.php
/drupal7/mrbs/edit_area_room.php
/drupal7/mrbs/edit_entry.php
/drupal7/mrbs/edit_entry_handler.php
/drupal7/mrbs/edit_users.php
/drupal7/mrbs/escapeshellarg.inc
/drupal7/mrbs/functions.inc
/drupal7/mrbs/functions_ical.inc
/drupal7/mrbs/functions_mail.inc
/drupal7/mrbs/functions_table.inc
/drupal7/mrbs/functions_view.inc
/drupal7/mrbs/grab_globals.inc.php
/drupal7/mrbs/help.php
/drupal7/mrbs/index.php
/drupal7/mrbs/internalconfig.inc.php
/drupal7/mrbs/lang.ca
/drupal7/mrbs/lang.cs
/drupal7/mrbs/lang.da
/drupal7/mrbs/lang.de
/drupal7/mrbs/lang.el
/drupal7/mrbs/lang.en
/drupal7/mrbs/lang.es
/drupal7/mrbs/lang.eu
/drupal7/mrbs/lang.fi
/drupal7/mrbs/lang.fr
/drupal7/mrbs/lang.it
/drupal7/mrbs/lang.ja
/drupal7/mrbs/lang.ko
/drupal7/mrbs/lang.nl
/drupal7/mrbs/lang.no
/drupal7/mrbs/lang.pl
/drupal7/mrbs/lang.pt
/drupal7/mrbs/lang.ru
/drupal7/mrbs/lang.sl
/drupal7/mrbs/lang.sv
/drupal7/mrbs/lang.tr
/drupal7/mrbs/lang.zh-cn
/drupal7/mrbs/lang.zh-tw
/drupal7/mrbs/language.inc
/drupal7/mrbs/mincals.inc
/drupal7/mrbs/month.php
/drupal7/mrbs/mrbs-ie.css
/drupal7/mrbs/mrbs-ie8.css
/drupal7/mrbs/mrbs-ielte6.css
/drupal7/mrbs/mrbs-ielte7.css.php
/drupal7/mrbs/mrbs-ielte8.css
/drupal7/mrbs/mrbs-mail.css
/drupal7/mrbs/mrbs-print.css.php
/drupal7/mrbs/mrbs.css.php
/drupal7/mrbs/mrbs_auth.inc
/drupal7/mrbs/mrbs_sql.inc
/drupal7/mrbs/mysql.inc
/drupal7/mrbs/mysqli.inc
/drupal7/mrbs/pending.php
/drupal7/mrbs/pgsql.inc
/drupal7/mrbs/report.php
/drupal7/mrbs/robots.txt
/drupal7/mrbs/search.php
/drupal7/mrbs/session_cookie.inc
/drupal7/mrbs/session_drupal.inc
/drupal7/mrbs/session_host.inc
/drupal7/mrbs/session_http.inc
/drupal7/mrbs/session_ip.inc
/drupal7/mrbs/session_nt.inc
/drupal7/mrbs/session_omni.inc
/drupal7/mrbs/session_php.inc
/drupal7/mrbs/session_remote_user.inc
/drupal7/mrbs/site_faq.html
/drupal7/mrbs/site_faq_de.html
/drupal7/mrbs/site_faq_es.html
/drupal7/mrbs/site_faq_fr.html
/drupal7/mrbs/site_faq_it.html
/drupal7/mrbs/site_faq_nl.html
/drupal7/mrbs/standard_vars.inc.php
/drupal7/mrbs/style.inc
/drupal7/mrbs/systemdefaults.inc.php
/drupal7/mrbs/theme.inc
/drupal7/mrbs/trailer.inc
/drupal7/mrbs/upgrade.inc
/drupal7/mrbs/version.inc
/drupal7/mrbs/view_entry.php
/drupal7/mrbs/week.php 

--------------------------------------------------------------

/drupal7/sites/all/modules/mrbs/mrbs_inc
/drupal7/sites/all/modules/mrbs/LICENSE.txt
/drupal7/sites/all/modules/mrbs/README.txt
/drupal7/sites/all/modules/mrbs/mrbs.info
/drupal7/sites/all/modules/mrbs/mrbs.module
/drupal7/sites/all/modules/mrbs/mrbs_inc/auth_drupal.inc
/drupal7/sites/all/modules/mrbs/mrbs_inc/session_drupal.inc
giosko’s picture

Priority: Major » Normal
giosko’s picture

Knock knock?
Problem is persisting :(

giosko’s picture

I managed to log in with drupal accounts into MRBs.But i still not see the permission Tab of the module in my website.
The new permission tab for mrbs does not work out of the box, as soon as installed into the /sites/all/modules/ directory and activated it in the module page?
Am i missing something?

isak_manresa’s picture

Hi giosko,

At the beginig I've made the migration using roles to control the access to MRBS.

You make me reflect with your questions, and I think that module permission control is better to control the access to MRBS to certain roles.

In the last release I've changed the role control access to module permission control access.

In another way, I've tried to use a single Session but have problems with MRBS includes. Then the file session_drupal.inc makes the integration better, but still use a independent session for both, mrbs and drupal. Read new readme.txt for more information.

Regards!

Isak

isak_manresa’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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