![]() |
login-attempt: 500 Internal Server Error - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10) +--- Thread: login-attempt: 500 Internal Server Error (/showthread.php?tid=118) |
login-attempt: 500 Internal Server Error - Tengu - 08-03-2010 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 RE: login-attempt: 500 Internal Server Error - administrator - 08-03-2010 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. RE: login-attempt: 500 Internal Server Error - alekseyn - 08-03-2010 Check if this solution would help you.... http://forums.letodms.com/showthread.php?tid=113&pid=402#pid402 RE: login-attempt: 500 Internal Server Error - Tengu - 08-05-2010 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 RE: login-attempt: 500 Internal Server Error - alekseyn - 08-05-2010 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. RE: login-attempt: 500 Internal Server Error - Tengu - 08-06-2010 (08-05-2010, 01:00 PM)alekseyn Wrote: Please check your paths in the settings file... Thx a lof4hlp! Got no success.......please have a look at the atts. Cheers... RE: login-attempt: 500 Internal Server Error - alekseyn - 08-06-2010 (08-06-2010, 03:22 AM)Tengu Wrote: Thx a lof4hlp! try the attached settings file... I have corrected some lines |