timeclock
timeclock copied to clipboard
PHP7 Support?
I am assuming why I am getting a white page is because I am trying to do this in a PHP7 env.
Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/timeclock/header.php:33
all mysql_* functions have been depricated after 5.3 and deleted in 7. They have to be replaced with mysqli functions. I did that in the fork at boatright/timeclock
I am working on a PHP7 upgrade it will be ready very soon just finishing up some testing will make a pull request
created a pull request with php7 upgrades
Thank you for sharing this, @Kayoti !
https://github.com/Kayoti/timeclock
Hey @Kayoti i have been getting an error with your PHP7 compatible version of "PHP Timeclock" with Bootstrap Implemenation
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Timecard has a deprecated constructor in /home/user/public_html/time/punchclock/class.Timecard.php on line 9
Warning: session_start(): Cannot start session when headers already sent in /home/user/public_html/time/punchclock/entry.php on line 24
Warning: Cannot modify header information - headers already sent by (output started at /home/towqblao/public_html/time/punchclock/class.Timecard.php:9) in /home/user/public_html/time/punchclock/lib.common.php on line 286
what is the action you were trying to perform
Hello, well there is one thing it will not let me login to my timecard or My Time Entry ?
Hello, well there is one thing it will not let me login to my timecard or My Time Entry ?
looking into that