LetoDMS Community Forum
Infinite Loop on login - 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: Infinite Loop on login (/showthread.php?tid=186)



Infinite Loop on login - wildfandango - 10-07-2010

Hi all:

This is my first post here (sry for my bad english)

I have a test installlation of letoDMS here

but when i try login with admin / admin... the system enter in an infinite loop... ¿?

The host system is a windows 2008x64 webserver edt. IIS7 PHP 5.2.14, MySQL 5.1.50 with last leto version downloaded yesterday from sourceforge...

i have created the tables in the data base ok.
i have checked the username and password of the db and all is ok

and i have configure this settings (i have overwirtten some characters for * for security)...

PHP Code:
<?php
// MyDMS. Document Management System
// Copyright (C) 2002-2005 Markus Westphal
// Copyright (C) 2006-2008 Malcolm Cowe
// Copyright (C) 2010 Matteo Lucarelli
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

class Settings
{
// Name of site -- used in the page titles. Default: MyDMS
var $_siteName = "letoDMS";

// Message to display at the bottom of every page.
var $_footNote = "letoDMS free document management system - www.letodms.com";

// if true the disclaimer message the lang.inc files will be print on the bottom of the page
var $_printDisclaimer = true;

// Default page on login. Defaults to out/out.ViewFolder.php
var $_siteDefaultPage = "out/out.ViewFolder.php";

// IDs of admin-user, guest-user and root-folder (no need to change)
var $_adminID = 1;
var
$_guestID = 2;
var
$_rootFolderID = 1;

// If you want anybody to login as guest, set the following line to true
// note: guest login should be used only in a trusted environment
var $_enableGuestLogin = true;

// Restricted access: only allow users to log in if they have an entry in
// the local database (irrespective of successful authentication with LDAP).
var $_restricted = true;

// Strict form checking. If set to true, then all fields in the form will
// be checked for a value. If set to false, then (most) comments and
// keyword fields become optional. Comments are always required when
// submitting a review or overriding document status.
var $_strictFormCheck = false;

// path to where mydms is located
var $_rootDir = "*\\wwwadmin\\nubeblogs\\letodms\\";

// The relative path in the URL, after the domain part. Do not include the
// http:// prefix or the web host name. e.g. If the full URL is
// http://www.example.com/mydms/, set $_httpRoot = "/mydms/".
// If the URL is http://www.example.com/, set $_httpRoot = "/".
var $_httpRoot = "\\letodms\\";

// Where the uploaded files are stored (best to choose a directory that
// is not accessible through your web-server)
var $_contentDir = "*\\wwwadmin\\nubeblogs\\letodms\\data\\";

// To work around limitations in the underlying file system, a new
// directory structure has been devised that exists within the content
// directory ($_contentDir). This requires a base directory from which
// to begin. Usually leave this to the default setting, 1048576, but can
// be any number or string that does not already exist within $_contentDir.
var $_contentOffsetDir = "1048576";

// Maximum number of sub-directories per parent directory. Default: 32700.
var $_maxDirID = 32700;

// default language (name of a subfolder in folder "languages")
var $_language = "Spanish";

// users are notified about document-changes that took place within the last $_updateNotifyTime seconds
var $_updateNotifyTime = 86400; //means 24 hours

// files with one of the following endings can be viewed online (USE ONLY LOWER CASE CHARACTERS)
//var $_viewOnlineFileTypes = array();
var $_viewOnlineFileTypes = array(".txt", ".text", ".html", ".htm", ".pdf", ".gif", ".png", ".jpg", ".jpeg");

// enable/disable converting of files
var $_enableConverting = false;

// default style (name of a subfolder in folder "styles")
var $_theme = "clean";

// Workaround for page titles that go over more than 2 lines.
var $_titleDisplayHack = true;

// enable/disable automatic email notification
var $_enableEmail = true;

// enable/disable group and user view for all users
var $_enableUsersView = true;

// false to don't list administrator as reviewer/approver
var $_enableAdminRevApp = false;

// the name of the versioning info file created by the backup tool
var $_versioningFileName = "versioning_info.txt";

// set false to disable log system
var $_logFileEnable = true;

// the log file rotation (h=hourly, d=daily, m=monthly)
var $_logFileRotation = "m";

// enable users images
var $_enableUserImage = false;

// enable calendar
var $_enableCalendar = true;

// calendar default view ("w" for week,"m" for month,"y" for year)
var $_calendarDefaultView = "y";

// first day of the week (0=sunday, 6=saturday)
var $_firstDayOfWeek = 0;

// false to don't show the folder tree side panel
var $_enableFolderTree = true;

// 0 to start with tree hidden
// 1 to start with tree shown and first level expanded
// 2 to start with tree shown fully expanded
var $_expandFolderTree = 1;

// -------------------------------- Database-Setup --------------------------------------------

//Path to adodb
var $_ADOdbPath = "*\\wwwadmin\\nubeblogs\\letodms\\adodb\\";

//DB-Driver used by adodb (see adodb-readme)
var $_dbDriver = "mysql";

//DB-Server
var $_dbHostname = "localhost";

//database where the tables for mydms are stored (optional - see adodb-readme)
var $_dbDatabase = "letodms";

//username for database-access
var $_dbUser = "tyc.*";

//password for database-access
var $_dbPass = "db.*";

// -------------------------------- LDAP Authentication Setup --------------------------------------------

/* new code by Doudoux - TO BE TESTED */
// var $_ldapHost = ""; // URIs are supported, e.g.: ldaps://ldap.host.com
// var $_ldapPort = 389; // Optional.
// var $_ldapBaseDN = "";
// var $_ldapAccountDomainName = "";
// var $_ldapType = 1; // 0 = Generic LDAP ; 1 = Microsoft LDAP

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

?>

where is the problem? in the paths?

thx for all

one more thing, this is the log of leto
Code:
2010/10/06 18:27 admin (79.156.*) op.Login
2010/10/06 18:27 admin (79.156.*) op.Login
2010/10/06 18:27 admin (79.156.*) op.Login
2010/10/06 18:30 admin (79.156.*) op.Login
2010/10/06 18:32 admin (79.156.*) op.Login
2010/10/06 18:54 admin (79.156.*) op.Login
2010/10/06 18:54 admin (79.156.*) op.Login
2010/10/06 19:02 admin (79.156.*) op.Login
2010/10/06 19:02 admin (79.156.*) op.Login
2010/10/06 19:02 guest (79.156.*) out.ViewFolder
2010/10/06 19:02 guest (79.156.*) out.ViewFolder
2010/10/06 19:02 guest (79.156.*) out.ViewFolder
etc



RE: Infinite Loop on login - matteo lucarelli - 10-07-2010

The loop is a code execution loop or simply you are redirected to login page indefinitly?


RE: Infinite Loop on login - wildfandango - 10-07-2010

(10-07-2010, 06:49 PM)matteo lucarelli Wrote: The loop is a code execution loop or simply you are redirected to login page indefinitly?

is a redirect to login page indefinitly, i think... u can try if u want, is a test site and the username and password for the admin user is the default...

thx...



RE: Infinite Loop on login - matteo lucarelli - 10-11-2010

I've just login as administrator in your test system and created a "nueva subcarpeta" with no problems.

Perhaps the problem is with your workstation?


RE: Infinite Loop on login - wildfandango - 10-11-2010

(10-11-2010, 04:57 PM)matteo lucarelli Wrote: I've just login as administrator in your test system and created a "nueva subcarpeta" with no problems.

Perhaps the problem is with your workstation?

Yes sry... i have solved the problem this weekend (the cfg path is the error)... now i work in the translation i willsend you the update translation to Spanish... thx!