Login Problems

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Post Reply
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Login Problems

Post by Snacktime »

I am using the community edition download from you website and the way I downloaded the program was from the automatic installer. We are using version 11.4 3-20190117-105145.
We have been using this program for about a month now and everything works fine. We only use it to keep time. This morning the first 5 employees were able to login this morning and around 7:00 a.m our next employee could not log in. When opening the icon you can input your user name and password but it never logs in to the punch screen. Any help would be appreciated!
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

Can you please attach a screenshot of what you are seeing after you try to login to TimeTrex? Have you tried a different web browser as well to see if that makes any difference?
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

I did download chrome and was reciving the same issues here is a screen shot
Attachments
screen shot.PNG
screen shot.PNG (630.24 KiB) Viewed 12637 times
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

So when you click the Login button nothing on the screen changes at all? Can you press CTRL+F12 to open the developer console in the web browser, then click Login and send a screenshot of any error messages that may appear there?
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

Is this what you need?
Attachments
screen shot 2.PNG
screen shot 2.PNG (344.94 KiB) Viewed 12633 times
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

Sorry, you will need to click on the "Console" tab at the top middle of the screen to see the errors.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

Here you go!
Attachments
screen shot 3.PNG
screen shot 3.PNG (245.68 KiB) Viewed 12632 times
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

Okay, so there is an error on the server preventing logins then. In your TimeTrex.ini.php file, set the following under the [debug] section:
enable = TRUE
enable_display = FALSE
buffer_output = TRUE
enable_log = TRUE
verbosity = 10
Reproduce the issue and include any relevant information from the TimeTrex log file in your post.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

Here is the code after it is changed and the error it generated from changing the code
Attachments
error.PNG
error.PNG (52.42 KiB) Viewed 12629 times
code 6.PNG
code 6.PNG (12.14 KiB) Viewed 12629 times
code 5.PNG
code 5.PNG (11.95 KiB) Viewed 12629 times
code 4.PNG
code 4.PNG (12.7 KiB) Viewed 12629 times
code 3.PNG
code 3.PNG (11.89 KiB) Viewed 12629 times
code 2.PNG
code 2.PNG (12.08 KiB) Viewed 12629 times
code 1.PNG
code 1.PNG (15.21 KiB) Viewed 12629 times
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

You may have caused a syntax error in the timetrex.ini.php file when you modified it. If you right-click on the file and open it with Wordpad rather than NotePad, it should be formatted properly and easier to modify.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

This morning it is trying to login again i opened the file in word and this is what it looks like and the error i received
Attachments
error 1-29-19.PNG
error 1-29-19.PNG (255.38 KiB) Viewed 12603 times
1-29-19 code.PNG
1-29-19 code.PNG (6.79 KiB) Viewed 12603 times
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

Okay, please attach your TimeTrex log files here, you can find them under c:\timetrex\log
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

Are one of these what you are looking for?
Attachments
sub log view.PNG
sub log view.PNG (23.46 KiB) Viewed 12600 times
log.PNG
log.PNG (21.25 KiB) Viewed 12600 times
log view controller copy.txt
(25.67 KiB) Downloaded 347 times
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

I think this is more of what you were looking for
Attachments
timetrex_cron_last_executed.log
(22 Bytes) Downloaded 356 times
timetrex.log
(467.45 KiB) Downloaded 351 times
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

So the error is this:

Code: Select all

DEBUG [L0183] [00194ms]: Debug::Shutdown(): PHP ERROR - FATAL(1): Uncaught Error: Cannot use object of type PEAR_Error as array in C:\Users\snack\OneDrive\Desktop\timetrex\classes\modules\core\RateLimit.class.php:183
Stack trace:
#0 C:\Users\sn
DEBUG [L0183] [00194ms]: Debug::Shutdown(): ack\OneDrive\Desktop\timetrex\classes\modules\core\Authentication.class.php(765): RateLimit->check()
#1 C:\Users\snack\OneDrive\Desktop\timetrex\classes\modules\api\unauthenticated\APIAuthentication.c
DEBUG [L0183] [00194ms]: Debug::Shutdown(): lass.php(193): Authentication->Login('Snacktime', 'Brandi#1', 'user_name')
#2 C:\Users\snack\OneDrive\Desktop\timetrex\api\json\api.php(59): APIAuthentication->Login('Snacktime', '')
#3 C:\Use
DEBUG [L0183] [00194ms]: Debug::Shutdown(): rs\snack\OneDrive\Desktop\timetrex\api\json\api.php(263): unauthenticatedInvokeService('APIAuthenticati...', 'Login', Array, '01aa255e-47c9-2...', Object(APIAuthentication))
#4 {main}
  thrown File: C
DEBUG [L0183] [00194ms]: Debug::Shutdown(): :\Users\snack\OneDrive\Desktop\timetrex\classes\modules\core\RateLimit.class.php Line: 183
DEBUG [L0088] [00195ms]: ProgressBar::error(): error: '01aa255e-47c9-2757-4a2d-d8748eaa3627 Key: 01aa255e-47c9-2757-4a2d-d8748eaa3627(1548767890.4287) Message: ERROR: Operation cannot be completed.
Which is quite strange and unfortunately doesn't provide many details as to what is causing the error.

Could you attach your full timetrex.ini.php file and C:\Users\snack\OneDrive\Desktop\timetrex\classes\modules\core\RateLimit.class.php here for further investigation?
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

Sure!
Attachments
timetrex.ini copy.txt
(3.11 KiB) Downloaded 345 times
RateLimit.class copy.txt
(5.75 KiB) Downloaded 334 times
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

Okay, I'm pretty sure the error is that you set the TimeTrex Cache directory to be on your Desktop and it was likely deleted or permissions were changed, therefore rendering TimeTrex unable to operate. If you re-create each of the directories specified in your timetrex.ini.php file it should start working again for now at least.

For the future though, TimeTrex should definitely not have any directories pointing to your Desktop for this reason and many others. Due to this its likely that your TimeTrex installation is going to be very fragile and prone to random breakage. We would recommend considering to re-install it in the proper recommended location, however it will require a manual migration of all your data to do this.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

Can you send me the link to reinstall the program and tell me how to merge the date?
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

Or is there a way i can just get the hours from last week?
mikeb
Posts: 709
Joined: Thu Jul 27, 2006 11:58 am

Re: Login Problems

Post by mikeb »

You can download TimeTrex here:
https://www.timetrex.com/download.php

See our FAQ on migrating the database:
https://help.timetrex.com/latest/commun ... to_another
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

When I try to reinstall the file it says web server port please enter the port tat the bundled Apache server will listen to by default.
Apache Web Server Port then it has 8085 in the box but when I hit next it gives warning unable to bind to the given port number. Please select another one.
Snacktime
Posts: 13
Joined: Mon Jan 28, 2019 9:31 am

Re: Login Problems

Post by Snacktime »

Sorry not file timetrex
Post Reply