08-03-2010, 06:20 AM
Hey there,
tonight I spent much energy and time to find out the reasons for my following problem. After installation and login with admin/admin I got these error-message: 500 Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,.....
Well, I changed the database preferences, etc. and found nothing by google-search.......
Here's my inc.Settings file:
<?php
class Settings
{
var $_siteName = "Dreizahl";
var $_footNote = "Bitte melden Sie sich mit Ihren Benutzerdaten an";
var $_printDisclaimer = false;
var $_siteDefaultPage = "";
var $_adminID = 1;
var $_guestID = 2;
var $_rootFolderID = 1;
var $_enableGuestLogin = true;
var $_restricted = false;
var $_strictFormCheck = false;
var $_rootDir = "/var/www/websites/dreizahl/dms/";
var $_httpRoot = "/dms/";
var $_contentDir = "/data/";
var $_contentOffsetDir = "1048576";
var $_maxDirID = 32700;
var $_language = "English";
var $_updateNotifyTime = 86400; //means 24 hours
var $_viewOnlineFileTypes = array(".txt", ".html", ".htm", ".pdf", ".gif",
var $_viewOnlineFileTypes = array();
var $_enableConverting = false;
var $_theme = "hc";
var $_titleDisplayHack = true;
var $_enableEmail = true;
var $_enableUsersView = true;
var $_enableAdminRevApp = false;
var $_versioningFileName = "versioning_info.txt";
var $_logFileEnable = true;
var $_logFileRotation = "d";
var $_enableUserImage = true;
var $_ADOdbPath = "/var/www/websites/xxx/dms/adodb/";
var $_dbDriver = "mysql";
var $_dbHostname = "localhost";
var $_dbDatabase = "dms";
var $_dbUser = "dms";
var $_dbPass = "xxx";
// var $_ldapHost = "ldaps://ldap.dreizahl.de"; // URIs are supported, e.g.: ldaps://ldap.host.com
// var $_ldapPort = 389; // Optional.
// var $_ldapBaseDN = "";
function Settings()
{
//files with one of the following endings will be converted with the given commands
//for windows users
$this->_convertFileTypes = array(".doc" => "cscript \"" . $this->_rootDir."op/convert_word.js\" {SOURCE} {TARGET}",
".xls" => "cscript \"".$this->_rootDir."op/convert_excel.js\" {SOURCE} {TARGET}",
".ppt" => "cscript \"".$this->_rootDir."op/convert_pp.js\" {SOURCE} {TARGET}");
// For linux users
// $this->_convertFileTypes = array(".doc" => "mswordview -o {TARGET} {SOURCE}");
}
}
$settings = new Settings();
?>
Maybe a problem of the entries of .htaccess:
RewriteEngine on
RewriteCond %{REQUEST_URI} (.*)viewonline/([0-9]+)/([0-9]+)/(.+)$
RewriteRule (.*)viewonline/([0-9]+)/([0-9]+)/(.+)$ $1op.ViewOnline.php?request=$2:$3 [PT]
Hoping you've some ideas - otherwise I'll kill the installation of this DMS
Cheers
tonight I spent much energy and time to find out the reasons for my following problem. After installation and login with admin/admin I got these error-message: 500 Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,.....
Well, I changed the database preferences, etc. and found nothing by google-search.......
Here's my inc.Settings file:
<?php
class Settings
{
var $_siteName = "Dreizahl";
var $_footNote = "Bitte melden Sie sich mit Ihren Benutzerdaten an";
var $_printDisclaimer = false;
var $_siteDefaultPage = "";
var $_adminID = 1;
var $_guestID = 2;
var $_rootFolderID = 1;
var $_enableGuestLogin = true;
var $_restricted = false;
var $_strictFormCheck = false;
var $_rootDir = "/var/www/websites/dreizahl/dms/";
var $_httpRoot = "/dms/";
var $_contentDir = "/data/";
var $_contentOffsetDir = "1048576";
var $_maxDirID = 32700;
var $_language = "English";
var $_updateNotifyTime = 86400; //means 24 hours
var $_viewOnlineFileTypes = array(".txt", ".html", ".htm", ".pdf", ".gif",
var $_viewOnlineFileTypes = array();
var $_enableConverting = false;
var $_theme = "hc";
var $_titleDisplayHack = true;
var $_enableEmail = true;
var $_enableUsersView = true;
var $_enableAdminRevApp = false;
var $_versioningFileName = "versioning_info.txt";
var $_logFileEnable = true;
var $_logFileRotation = "d";
var $_enableUserImage = true;
var $_ADOdbPath = "/var/www/websites/xxx/dms/adodb/";
var $_dbDriver = "mysql";
var $_dbHostname = "localhost";
var $_dbDatabase = "dms";
var $_dbUser = "dms";
var $_dbPass = "xxx";
// var $_ldapHost = "ldaps://ldap.dreizahl.de"; // URIs are supported, e.g.: ldaps://ldap.host.com
// var $_ldapPort = 389; // Optional.
// var $_ldapBaseDN = "";
function Settings()
{
//files with one of the following endings will be converted with the given commands
//for windows users
$this->_convertFileTypes = array(".doc" => "cscript \"" . $this->_rootDir."op/convert_word.js\" {SOURCE} {TARGET}",
".xls" => "cscript \"".$this->_rootDir."op/convert_excel.js\" {SOURCE} {TARGET}",
".ppt" => "cscript \"".$this->_rootDir."op/convert_pp.js\" {SOURCE} {TARGET}");
// For linux users
// $this->_convertFileTypes = array(".doc" => "mswordview -o {TARGET} {SOURCE}");
}
}
$settings = new Settings();
?>
Maybe a problem of the entries of .htaccess:
RewriteEngine on
RewriteCond %{REQUEST_URI} (.*)viewonline/([0-9]+)/([0-9]+)/(.+)$
RewriteRule (.*)viewonline/([0-9]+)/([0-9]+)/(.+)$ $1op.ViewOnline.php?request=$2:$3 [PT]
Hoping you've some ideas - otherwise I'll kill the installation of this DMS

Cheers