Jump to content

Recommended Posts

Posted

I have just tried to install PHP and MRBS on a Windows 2003 server. I am using ISAPI PHP and IIS 6.0

 

After finding PHP 5.3.2 would not work at all I have installed 5.2.13 and when I run a test php webpage it comes up fine.

 

However when I tried to load index.php for MRBS I get a 500 Internal Server Error and I am not sure where to go from here

 

my config.inc.php the only real change is the time zone

 

 

// $Id: config.inc.php 1336 2010-04-21 09:53:39Z jberanek $

/**************************************************************************
*   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").
**************************************************************************/

// 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.
//
// When upgrading an existing installation, this should be set to the
// timezone the web server runs in.
//
$timezone = "Australia/Sydney";


/*******************
* 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 = "localhost";
// Database name:
$db_database = "mrbs";
// Database login user name:
$db_login = "mbrs";
// Database login password:
$db_password = 'mbrs-password';
// 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;


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





// This next section must come at the end of the config file - ie after any
// language and mail settings, as the definitions are used in the included file
require_once "language.inc";   // DO NOT DELETE THIS LINE

/*************
* Entry Types
*************/

// This array maps entry type codes (letters A through J) into descriptions.
//
// Each type has a color which is defined in the array $color_types in the Themes
// directory - just edit whichever include file corresponds to the theme you
// have chosen in the config settings. (The default is default.inc, unsurprisingly!)
//
// The value for each type is a short (one word is best) description of the
// type. The values must be escaped for HTML output ("R&D").
// Please leave I and E alone for compatibility.
// If a type's entry is unset or empty, that type is not defined; it will not
// be shown in the day view color-key, and not offered in the type selector
// for new or edited entries.

// $typel["A"] = "A";
// $typel["B"] = "B";
// $typel["C"] = "C";
// $typel["D"] = "D";
$typel["E"] = get_vocab("external");
// $typel["F"] = "F";
// $typel["G"] = "G";
// $typel["H"] = "H";
$typel["I"] = get_vocab("internal");
// $typel["J"] = "J";

?>

Posted (edited)

I get the following PHP error when I try to run MRBS index.php

 

The description for Event ID ( 2 ) in Source ( PHP-5.2.13 ) cannot be found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and 
Support for details. The following information is part of the event: php[4260], PHP Fatal error:  Call to undefined function mysql_pconnect() in C:\Inetpub
\wwwroot\MRBS\web\mysql.inc on line 432.

 

EDIT: I have fixed this error, for anyone with this problem in the future the solution is http://docs.phplivesupport.com/viewarticle.php?uid=1&aid=73&pid=3

Edited by Rhys

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...