Error

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
jbussert
Posts: 5
Joined: Wed Jun 11, 2008 2:43 pm
Location: Charlotte, NC

Error

Post by jbussert »

I am trying to get my vacation accural to work and so I was going through the steps to get the debug and all set to post. Now I have everything set I try to log on and it says "wrong username or password" i have tried both my login and the administrator log in with nothing working.

(postgres7): select * from users where user_name = ? AND deleted = 0 [ (user_name=>'jbussert') ]
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(postgres7): select * from users where user_name = ? AND status_id = ? AND deleted = 0 [ (user_name=>'jbussert') (status=>'10') ]
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(postgres7): insert into authentication (session_id,user_id,ip_address,created_date,updated_date) VALUES( ?, ?, ?, ?, ? ) [ (session_id=>'c5cb4c372308a66f0f65c9dc5effe0b8') (user_id=>'2') (ip_address=>'127.0.0.1') (created_date=>'1215014879') (updated_date=>'1215014879') ]
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(postgres7): SELECT NEXTVAL('system_log_id_seq')
--------------------------------------------------------------------------------
C:\Program Files\TimeTrex\cache\/01/adodb_01966084020d17b28ed5020acf2dc239.cache reloaded, ttl=76322 [ select object_id,action_id,table_name,user_id,description,date,id from system_log where id = -1 ]

--------------------------------------------------------------------------------
(postgres7): INSERT INTO system_log ( OBJECT_ID, ACTION_ID, TABLE_NAME, USER_ID, DESCRIPTION, DATE, ID ) VALUES ( 2, 100, 'authentication', 2, 'SourceIP: 127.0.0.1 Type: USER_NAME SessionID: c5cb4c372308a66f0f65c9dc5effe0b8 UserID: 2', 1215014879, 2388 )
--------------------------------------------------------------------------------
Smart Commit occurred

--------------------------------------------------------------------------------
(postgres7): select session_id,user_id,ip_address,created_date,updated_date from authentication WHERE session_id = ? AND ip_address = ? AND updated_date >= ? [ (session_id=>'dda6afe9a2218c6506d3ca08cf0e5460') (ip_address=>'127.0.0.1') (updated_date=>'1215000479') ]
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(postgres7): update authentication set updated_date = ? where session_id = ? [ (updated_date=>'1215014879') (session_id=>'dda6afe9a2218c6506d3ca08cf0e5460') ]
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(postgres7): select * from station where company_id = ? AND station_id = ? AND deleted = 0 [ (company_id=>'1') (station_id=>'bc1f0bcd03eea848fc6b45241a8636e7') ]
--------------------------------------------------------------------------------



Debug Buffer
============================================================================
Memory Usage: 6941176
----------------------------------------------------------------------------
DEBUG [259]: [Function](): URI: /interface/Login.php
DEBUG [261]: [Function](): Version: 2.2.10 Edition: 10 Production: 1 Demo Mode: 0
DEBUG [111]: TTDate::setTimeZone(): Setting TimeZone: America/New_York
DEBUG [53]: [Function](): Bypassing Authentication
DEBUG [400]: TTi18n::chooseBestLocale(): Choosing Best Locale...
DEBUG [408]: TTi18n::chooseBestLocale(): Using Language from cookie: en_US
DEBUG [318]: TTi18n::setLocale(): Generated/Passed In Locale: en_US
DEBUG [252]: TTi18n::generateLocale(): Array of Locales to try in order: en_US,en
DEBUG [203]: TTi18n::tryLocale(): Found valid windows locale: English_United States.1252 Linux locale: en_US
DEBUG [211]: TTi18n::tryLocale(): Found valid locale: en_US
DEBUG [324]: TTi18n::setLocale(): Attempting to set Locale(s) to: en_US Category: 0 Current Locale:
DEBUG [327]: TTi18n::setLocale(): Setting currency/numeric Locale to: en_US
DEBUG [340]: TTi18n::setLocale(): Setting translator locale to: en_US
DEBUG [357]: TTi18n::setLocale(): Set Master Locale To: en_US
DEBUG [418]: TTi18n::chooseBestLocale(): Using Language from _POST: en
DEBUG [318]: TTi18n::setLocale(): Generated/Passed In Locale: en
DEBUG [252]: TTi18n::generateLocale(): Array of Locales to try in order: en,en_US
DEBUG [203]: TTi18n::tryLocale(): Found valid windows locale: English_United States.1252 Linux locale: en
DEBUG [211]: TTi18n::tryLocale(): Found valid locale: en
DEBUG [324]: TTi18n::setLocale(): Attempting to set Locale(s) to: en Category: 0 Current Locale: en_US
DEBUG [327]: TTi18n::setLocale(): Setting currency/numeric Locale to: en
DEBUG [340]: TTi18n::setLocale(): Setting translator locale to: en_US
DEBUG [357]: TTi18n::setLocale(): Set Master Locale To: en
DEBUG [463]: TTi18n::chooseBestLocale(): Using Locale: en
DEBUG [53]: [Function](): User Name: jbussert
DEBUG [429]: Authentication::Login(): Login Type: USER_NAME
DEBUG [459]: Authentication::Login(): Login Succesful!
DEBUG [399]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:c5cb4c372308a66f0f65c9dc5effe0b8
DEBUG [106]: Validator::isNumeric(): Value:2
DEBUG [94]: Validator::inArrayKey(): Key: 100
DEBUG [145]: Validator::isLength(): Value: authentication Length: 14 Min: 2 Max: 250
DEBUG [145]: Validator::isLength(): Value: SourceIP: 127.0.0.1 Type: USER_NAME SessionID: c5cb4c372308a66f0f65c9dc5effe0b8 UserID: 2 Length: 89 Min: 2 Max: 2000
DEBUG [722]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [768]: Factory::Save(): Calling preSave()
DEBUG [354]: Validator::isDate(): Raw Date: 1215014879 Converted Value: 1215014879
DEBUG [798]: Factory::Save(): Insert ID: 2388
DEBUG [704]: Factory::getInsertQuery(): Insert
DEBUG [732]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [497]: Authentication::Check(): Session Name: SessionID
DEBUG [503]: Authentication::Check(): Session ID: dda6afe9a2218c6506d3ca08cf0e5460
DEBUG [399]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:dda6afe9a2218c6506d3ca08cf0e5460
DEBUG [78]: Authentication::getIdle(): Idle Seconds Allowed: 14400
DEBUG [399]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:dda6afe9a2218c6506d3ca08cf0e5460
DEBUG [58]: [Function](): Login Language: en
DEBUG [318]: TTi18n::setLocale(): Generated/Passed In Locale:
DEBUG [252]: TTi18n::generateLocale(): Array of Locales to try in order: en_US,en
DEBUG [203]: TTi18n::tryLocale(): Found valid windows locale: English_United States.1252 Linux locale: en_US
DEBUG [211]: TTi18n::tryLocale(): Found valid locale: en_US
DEBUG [324]: TTi18n::setLocale(): Attempting to set Locale(s) to: en_US Category: 0 Current Locale: en
DEBUG [327]: TTi18n::setLocale(): Setting currency/numeric Locale to: en_US
DEBUG [340]: TTi18n::setLocale(): Setting translator locale to: en_US
DEBUG [357]: TTi18n::setLocale(): Set Master Locale To: en_US
DEBUG [65]: [Function](): Locale: en_US
DEBUG [75]: [Function](): Station ID Cookie found! bc1f0bcd03eea848fc6b45241a8636e7
DEBUG [35]: Redirect::page(): Redirect URL: index.php
DEBUG [503]: Validator::Error(): Validation Error: Label: user_name Msg: User Name or Password is incorrect
DEBUG [482] Array: Validator::isValid(): Errors
Array
(
[user_name] => Array
(
[0] => User Name or Password is incorrect
)

)


============================================================================

============================================================================
PROFILER OUTPUT
============================================================================
Calls Time Routine
-----------------------------------------------------------------------------
1 7.3760 ms (2.45 %) Authentication::Check()
1 2.3451 ms (0.78 %) getEmptyRecordSet()
1 225.9889 ms (75.01 %) unprofiled

65.5811 ms (21.77 %) Missed
============================================================================
301.2910 ms (100.00 %) OVERALL TIME
============================================================================



I am using Windows XP with TimeTrex version 2.2.10
jbussert
Posts: 5
Joined: Wed Jun 11, 2008 2:43 pm
Location: Charlotte, NC

Also

Post by jbussert »

When I go back and change the timetrex.ini.php file back to orginal it works just fine. No problem logging in.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Setting the debug level to 11 prevents TimeTrex from redirecting you to other web pages. If you want to see debug output for a specific action, you have to login to TimeTrex, go to the place where you are having the problem, then enable debugging, and try to carry out the action. You do not need to logout for this to take effect.
Locked