Giter Club home page Giter Club logo

php-timeclock-with-bootsrap's People

Contributors

hjelmua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

php-timeclock-with-bootsrap's Issues

Bug with the Delete time option

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

Doubling timezone adjustment

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?

PHP TimeClock reports pulling wrong date with datepicker

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!

get_csv.php error: - Notice: A non well formed numeric value encountered in

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!

time edit user

Is there a way to add the time manually instead of the java clock ?
Screenshot from 2021-12-22 21:29:32

Login Problem

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

Can't find my users anymore

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

PHP 7 support is invalid due to use of mysql_* functions

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

Certain areas of the admin are not loading properly.

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.

mysql_query() issue with php7

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.

Error modify time and delete time

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.

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?

Add Notes Error

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

Error preg_replace

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...
erreur pointeuse
Regards
Stéphane
Radio Campus Tours - 99.5 FM

PHP Error - Create a New Officer.

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.

Date Display

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.

Problem creating users

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

Time edit issue

Getting a bunch of error codes. Still dealing with other error first, so dealing with that for now..see below
error

Timeedit form

There is a problem when editing the time, it sends a message of A valid Time is required.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.