01-09-2010, 03:25 PM
(01-09-2010, 06:53 AM)oharach Wrote: No error messages, just I put Admin credentials but is does not change to the next page (rool folder.)
I mean once I put the Admin credentials, the system back to the same login page.
**************************Inc settings php***********************************
class Settings
{
var $_siteName = "DMS";
var $_footNote = "Document Management System";
var $_siteDefaultPage = "out/out.ViewFolder.php";
var $_adminID = 1;
var $_guestID = 2;
var $_rootFolderID = 1;
var $_enableGuestLogin = true;
var $_restricted = false;
var $_strictFormCheck = false;
var $_rootDir = "/usr/local/apache/htdocs/dir/1/dms/";
var $_httpRoot = "http://server.com/areas/1/dms/";
var $_contentDir = "/usr/local/apache/htdocs/areas/1/dms/repository/Documents/";
var $_useLegacyDir=false;
var $_contentOffsetDir = "1048576";
var $_maxDirID = 32700;
var $_language = "English";
var $_updateNotifyTime = 86400; //means 24 hours
var $_viewOnlineFileTypes = array(".txt", ".html", ".htm", ".pdf", ".gif", ".png", ".jpg");
var $_enableConverting = true;
var $_theme = "blue";
var $_titleDisplayHack = true;
// -------------------------------- Database-Setup --------------------------------------------
var $_ADOdbPath = "/usr/local/apache/htdocs/areas/1/2/repository/adodb/";
//DB-Driver used by adodb (see adodb-readme)
var $_dbDriver = "mysql";
//DB-Server
var $_dbHostname = "server.com"; < This should be localhost which would be better ,
//database where the tables for mydms are stored (optional - see adodb-readme)
var $_dbDatabase = "dms";
//username for database-access
var $_dbUser = "user_dms";
//password for database-access
var $_dbPass = "pwd";
// -------------------------------- LDAP Authentication Setup --------------------------------------------
// var $_ldapHost = ""; // 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();
?>
************************************************************
did you import the LetoDMS database on mysql ?
Before:
CREATE TABLE `tblDocumentLocks` (
`document` int(11) NOT NULL default '0',
`userID` int(11) NOT NULL default '0',
PRIMARY KEY (`document`)
) ;
After:
CREATE TABLE `tblDocumentLocks` (
`document` int(11) NOT NULL default '0',
`userID` int(11) NOT NULL default '0',
PRIMARY KEY (`document`)
) ENGINE = MyISAM ;
and did you add a user or modify the user id in phpmyadmin?
oh um please follow this txt file i am attaching as well .