php-timeclock-with-bootsrap icon indicating copy to clipboard operation
php-timeclock-with-bootsrap copied to clipboard

Error modify time and delete time

Open groucha17 opened this issue 5 years ago • 4 comments

Hi, I am trying to update the original timeclock project. I did it with that, everything seems to work fine. As I try to correct a time by deleting or modifying I am confronted to a "Error: Could not connect to the database. Please try again later." What shall I do to fix it please ? Regards

groucha17 avatar Nov 11 '19 15:11 groucha17

Having the same issue. Anyone know the fix for this?

ctknoxville avatar Dec 23 '19 19:12 ctknoxville

The fix for this is to find the following line in timeedit.php:

include 'config.inc.php';

Change to:

include '../config.inc.php';

ctknoxville avatar Dec 23 '19 19:12 ctknoxville

I'm getting the wrong year 1969 Any suggestion to fix Top day fo history correct 2021 Current Status Report As of: 19:00, 31/12/1969 (for check-in/out 1969) 2 different environment same story

agnemedia avatar Mar 29 '21 18:03 agnemedia

I just tested and the code does not work on php 7.4. Most date errors are due to the 2 config files.

hjelmua avatar May 31 '21 08:05 hjelmua