hjelmua / php-timeclock-with-bootsrap Goto Github PK
View Code? Open in Web Editor NEWFork of php time clock v 1.1 with bootstrap
License: GNU General Public License v3.0
Fork of php time clock v 1.1 with bootstrap
License: GNU General Public License v3.0
Hello,
I have an error message when I would like to delete a previous registrated time.
Warning: include(config.inc.php): failed to open stream: No such file or directory in /home/clients/ea27f7cbee09d7101a32496af37c62cf/web/pointeuse/admin/timedelete.php on line 29
Warning: include(config.inc.php): failed to open stream: No such file or directory in /home/clients/ea27f7cbee09d7101a32496af37c62cf/web/pointeuse/admin/timedelete.php on line 29
Warning: include(): Failed opening 'config.inc.php' for inclusion (include_path='.:/opt/php5.6/lib/php') in /home/clients/ea27f7cbee09d7101a32496af37c62cf/web/pointeuse/admin/timedelete.php on line 29
Error: Could not connect to the database. Please try again later.
What shall I do ?
Kind regards
Stéphane
I am trying this out on Ubuntu 16.10. When I transfer the database from an old version of timeclock current status report shows the correct time for old punches. The settings are set to mirror original setup using timezone from server.
The issues I am having is the As of time, next to the Current Status Report title, is off by 4 hours. Also any new punches are also off by 4 hours. If I turn off use server time, the As of time corrects but then all the imported times ended up off by 4 hours.
Does anyone else have this issue and were you able to correct it?
Took me all day yesterday to figure this out. The time in reports was pulling in the wrong format, even after changing it in the settings under System Settings. Don't know much about codging but can navigate through it, after a bunch of digging found the settings to manually change the format in "..\theme\templates" I found this code:
$('#datepicker').datepicker({ autoclose: true, format: 'd/m/yyyy', weekStart: 1, todayHighlight: true }); $('#datepicker1').datepicker({ autoclose: true, format: 'd/m/yyyy', weekStart: 1, todayHighlight: true });
and changed the format: d/m/yyyy to format: m/d/yyyy
Just posting it here so hopefully it can help someone else out. First time using github so not sure how to properly contribute.
Thanks for the program/script/free time clock!
Currently getting this error in my excel sheet when a report is exported:
<b>Notice</b>: A non well formed numeric value encountered in <b>...\reports\get_csv.php</b> on line <b>478</b><br />
Same thing for line 578 and line 605. Looks like maybe something to do with the $hours variable? Not sure. It's also messing up the total hours added up. It's correct on total_hours.php though.
Any help would be greatly appreciated. Thanks!
Hi,
I'm having problem with Administrator's login.
I already have tried "admin" "admin" and I already have changed the admin's password in the DB, but I can't login.
Thanks
Hello,
I would like to thank you for the update of that small but efficient timeclock. We work with it for several years and every thing was ok apart there was no update. Hopefully, you did it ! Well, I migrated mysql database from the previous version of timeclock 1.04. Everything seems to work great excepted as I would like to edit a report. It does not find the well registrated employees, group and office. I can not have any reports...
What should I have to do please ?
Kind regards
Several scripts are still using the deprecated (as of PHP 5.5) mysql_* functions and need to be replaced with mysqli_* counterparts. This would account for other issues regarding the admin and office pages listed previously
Can you please tell my why I have this error
Error: Could not connect to the database. Please try again later.
All settings are as they should be in the config.inc.php
Several of the sections, like Add User, Edit Settings, etc. are only showing a white page when clicked. I was able to create an office, and group...but users and several others are not working.
Have tried turning on error reporting, both in .user.ini and in the actual files, and nothing is showing errors.
Not sure how to proceed or if I missed a step, everything else seems to work fine.
It states you have this code mysql code had been updated to PHP 7.
All the php files in the script folder have mysql_ code not mysqli_ code.
I managed to change the mysql to mysqli on my test server by viewing it in other files. But I don't know enough about mysqli to says it correct.
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
Notes typed by the user are not recorded in the 'info' table.
The original program 'leftmain.php' used the function: 'ereg_replace' which is deprecated. In this version was replaced by 'preg_replace' but leaving the arguments intact does not work. I changed '[: alnum:]' to 'A-Za-z0-9' and now it works.
// $notes = ereg_replace("[^[:alnum:] \,\.\?-]","",strtolower($_POST['left_notes']));
// $notes = preg_replace("[^[:alnum:] \,\.\?-]","",strtolower($_POST['left_notes']));
$notes = preg_replace("([^A-Za-z0-9] ,.?-)", "", strtolower($_POST['left_notes']));
I'm not sure why does not work '[: alnum:]' in this case, and the impact of the change I made. Furthermore, I can see that '**preg_replace("[^[:alnum:] **' is used in other three php programs: 'admin/timeedit.php', 'admin/timedelete.php' and 'admin/timedelete copy.php'
Any suggestions or comments?
When i add a note have a error:
HP Warning: preg_replace(): Compilation failed: POSIX named classes are supported only within a class at offset 1 in /var/www/html/leftmain.php on line 600, referer: http://35.239.215.170/timeclock.php
System:
SO: Debian 9.4
PHP:
PHP 7.0.27-0+deb9u1 (cli) (built: Jan 5 2018 13:51:52) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.27-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies
HTTP Server: Apache2
DB: MariaDB Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
Hello,
I am very pleased to test this new version of phptimeclock. Thanks for that fork. By the way I am facing an error, check the included pic. I do not know how to do to solve it ? I can not punch with the profile I created. Moreover the system time edit does not record the punches. I can not also correct the punches. As a result the reports are always free of punches. I am admin when I do that. A bit help please...
Regards
Stéphane
Radio Campus Tours - 99.5 FM
Hello,
I'm trying to create a new officer and the follow error is shown.
PHP Fatal error: Uncaught Error: Call to undefined function mysql_query() in /var/www/html/scripts/dropdown_get.php:40\nStack trace:\n#0 /var/www/html/admin/header_get.php(90): include()\n#1 /var/www/html/admin/usercreate.php(29): include('/var/www/html/a...')\n#2 {main}\n thrown in /var/www/html/scripts/dropdown_get.php on line 40, referer: http://10.8.14.109/admin/index.php
Thank you.
I'm having two issues with the time clock. The first is that two users that have their time in/out displayed as d/m/y but all the other users have the preferred m/d/y. I'm not able to find any per user setting for date display.
The second issue is that one of these users cannot clock in. It always says to "Please use a different status". I've tried several different combinations to get this user the ability to clock in with no luck.
Any help appreciated.
Thank you very much for this excellent work
I have problem creating a user
Site www.kinesiologiaestetica.cl/time
user: admin
pass:admin
I have an office and a group, but when I try to create a new user, it does not show me the group or the office
please help
There is a problem when editing the time, it sends a message of A valid Time is required.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.