Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
login-attempt: 500 Internal Server Error
#1
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 Angry

Cheers
Reply
#2
do you have the following requirement :

1. Requirements

MyDMS is a web-based application written in PHP. It uses the MySQL RDBMS to manage the documents that are loaded into the application.

Make sure you have PHP 4.0 or higher installed, and MySQL 4 or higher. MyDMS will work with PHP running in CGI-mode as well as running as module under apache. If you want to give your users the opportunity of uploading passport photos you have to enable the gd-library (but the rest of MyDMS will work without gd, too).

You will also need to download and install the ADODB database abstraction library from http://adodb.sf.net/ since MyDMS relies upon it for all database connectivity.
Reply
#3
Check if this solution would help you....
http://forums.letodms.com/showthread.php...402#pid402
Reply
#4
Hey administrator, hey alekseyn,

thx a lot for trying to help me....but:

- Requirement: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch (I use already some Joomla CMS)

- checked the solution: but got same error after changing

After typed in the admin/admin, I got the 500 error - on http://...../op/op.Login.php
Reply
#5
Please check your paths in the settings file...
use full path for your 'data' folder

if still no luck, please attach a ZIP file with your settings and your index.php files... I'll check them for you.
Reply
#6
(08-05-2010, 01:00 PM)alekseyn Wrote: Please check your paths in the settings file...
use full path for your 'data' folder

if still no luck, please attach a ZIP file with your settings and your index.php files... I'll check them for you.


Thx a lof4hlp!

Got no success.......please have a look at the atts.

Cheers...
Reply
#7
(08-06-2010, 03:22 AM)Tengu Wrote: Thx a lof4hlp!

Got no success.......please have a look at the atts.

Cheers...

try the attached settings file... I have corrected some lines
Reply


Forum Jump:


Users browsing this thread: