LetoDMS Community Forum
question. - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Installation Problems (https://community.letodms.com/forumdisplay.php?fid=9)
+--- Thread: question. (/showthread.php?tid=8)



question. - oharach - 01-09-2010

I just Install Leto DMS and the configuration for the database and other settings are working I can access to the login interface, but when try to login with admin credentials the page is not modify, not sure if I need initial settings for the main repocitory documents, any help I will appreciate it.

thanks


RE: question. - administrator - 01-09-2010

hi oharach

are you getting a error msg :

and can you please paste your basic configuration how you set it up...

thanks


RE: question. - oharach - 01-09-2010

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";

//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();

?>
************************************************************


RE: question. - oharach - 01-09-2010

For some reason I am not able to acces to the main folder 'Root-Folder' I Will appreciate your help, thanks.
Regards.


RE: question. - administrator - 01-09-2010

(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 .


RE: question. - administrator - 01-11-2010

i guess your issue is resolved we are going to close this thread.