+ Post New Thread
Results 1 to 6 of 6
Scripts Thread, mrbs installation in Coding and Web Development; Good Morning, Could someone please give me a hand with my installation of mrbs on a school intranet site? Never ...
  1. #1

    Join Date
    Apr 2011
    Location
    Manchester, United Kingdom
    Posts
    37
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    mrbs installation

    Good Morning,

    Could someone please give me a hand with my installation of mrbs on a school intranet site? Never really used IIS 7 before and I certainly won't be using it again! I am more used to using apache and to be honest it is much easier.

    I have installed php and myphpadmin on to the server. I the proceeded to copy all of the mrbs folder on to the site directory and renamed the folder "booking" I then created the database in myphpadmin and created the tables within the database.

    I navigated through to the address (http://intranet/booking/web/index.php) which asked me to change the php config file for the time (Configuration error: $timezone has not been set.) I changed this by removing the // in the php config file but I am now getting this error:

    Server Error
    500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.

    Is there something I have missed or possibly something I need to do on the IIS server?

    Thanks
    Dean

  2. #2
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    55
    I would suggest you enable logging for the site so you can see what is being requested and what is being sent from the server just until you get it running.

    Also try firebug or developer tools to see what your browser is requesting and what the error is.

    If you turn on remote error messages you can get a more details error on your browser or you can browse to the site on the IIS server and your 500 error should be explained

    edit: I do have it set up here on IIS 7.5 but I can't remember every step I needed to get it working

  3. #3

    Join Date
    Apr 2011
    Location
    Manchester, United Kingdom
    Posts
    37
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Sorry but I did a noobie move and didn't put in the database login credentials. However I have now and it seems to be up and running. Just the fun of trying to integrate with active directory now!

  4. #4
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    55
    I didn't bother with that I just set it to windows authentication and the ntlm-auth login method. Logs them in automagically and you just need to put the admins in the config file

  5. #5

    Join Date
    Apr 2011
    Location
    Manchester, United Kingdom
    Posts
    37
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I think I am being thick again and not being able to log in to the administrators panel, is their a default logon or do we have to create the user? if so how

    Could you also give me an idea on how to do the windows authentication method?

  6. #6
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    55
    Here is the Authentication section from my config.inc.php

    Code:
    /*********************************************** * Authentication settings - read AUTHENTICATION
     ***********************************************/
    
    
    $auth["session"] = "nt"; // How to get and keep the user ID. One of
               // "http" "php" "cookie" "ip" "host" "nt" "omni"
               // "remote_user"
    
    
    $auth["type"] = "ldap"; // How to validate the user/password. One of "none"
                              // "config" "db" "db_ext" "pop3" "imap" "ldap" "nis"
                              // "nw" "ext".
    
    
    // Configuration parameters for 'cookie' session scheme
    
    
    // The encryption secret key for the session tokens. You are strongly
    // advised to change this if you use this session scheme
    $auth["session_cookie"]["secret"] = "This isn't a very good secret!";
    // The expiry time of a session, in seconds. Set to 0 to use session cookies
    $auth["session_cookie"]["session_expire_time"] = (60*60*24*30); // 30 days
    // Whether to include the user's IP address in their session cookie.
    // Increases security, but could cause problems with proxies/dynamic IP
    // machines
    $auth["session_cookie"]["include_ip"] = TRUE;
    
    
    
    
    // Configuration parameters for 'php' session scheme
    
    
    // The expiry time of a session, in seconds
    // N.B. Long session expiry times rely on PHP not retiring the session
    // on the server too early. If you only want session cookies to be used,
    // set this to 0.
    $auth["session_php"]["session_expire_time"] = (60*60*24*30); // 30 days
    
    
    
    
    // Cookie path override. If this value is set it will be used by the
    // 'php' and 'cookie' session schemes to override the default behaviour
    // of automatically determining the cookie path to use
    //$cookie_path_override = '/mrbs/';
    
    
    // The list of administrators (can modify other peoples settings).
    //
    // This list is not needed when using the 'db' authentication scheme EXCEPT
    // when upgrading from a pre-MRBS 1.4.2 system that used db authentication.
    // Pre-1.4.2 the 'db' authentication scheme did need this list.   When running
    // edit_users.php for the first time in a 1.4.2 system or later, with an existing
    // users list in the database, the system will automatically add a field to
    // the table for access rights and give admin rights to those users in the database
    // for whom admin rights are defined here.   After that this list is ignored.
    unset($auth["admin"]);              // Include this when copying to config.inc.php
    $auth["admin"][] = "127.0.0.1";     // localhost IP address. Useful with IP sessions.
    $auth["admin"][] = "administrator"; // A user name from the user list. Useful 
                                        // with most other session schemes.
    $auth["admin"][] = "mjf";
    $auth["admin"][] = "eac";
    The $auth["session"] variable is the important one here. It gets the user id from the logged on users windows account the ["type"] variable is obsolete with this method so can be ignored
    The $auth["admin"] variable can be set with the usernames you want to have as admin users.
    Is IIS select your directory for MRBS and add application if you haven't already and set this to an integrated pipeline .NET 2 application.
    You'll need to change the authentication method to windows and turn off extended protection in the advanced settings.
    Bit of a faff but I couldn't get ldap to work effectively enough and this eliminates the need for the staff to have to remember to use their windows login again to get in to the system (yes they struggle with single sign on too).



SHARE:
+ Post New Thread

Similar Threads

  1. MRBS - Easy to install?
    By glennw in forum Web Development
    Replies: 31
    Last Post: 29th November 2010, 10:01 PM
  2. Remote Installation Services (RIS)
    By Dos_Box in forum How do you do....it?
    Replies: 140
    Last Post: 29th June 2010, 07:27 PM
  3. Projector Installation/ source for parts
    By mark in forum Hardware
    Replies: 23
    Last Post: 20th September 2005, 11:41 PM
  4. Replies: 17
    Last Post: 16th September 2005, 09:07 AM
  5. ..Install software?
    By kingswood in forum How do you do....it?
    Replies: 21
    Last Post: 4th August 2005, 05:00 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •