andrew867 / timeclock

An updated version of PHP Timeclock
40 stars 68 forks source link

PHP7 Support? #32

Open jslay88 opened 8 years ago

jslay88 commented 8 years ago

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

BoatrightTBC commented 7 years ago

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

Kayoti commented 4 years ago

I am working on a PHP7 upgrade it will be ready very soon just finishing up some testing will make a pull request

Kayoti commented 4 years ago

created a pull request with php7 upgrades

trbolexis commented 3 years ago

Thank you for sharing this, @Kayoti !

Kayoti commented 3 years ago

https://github.com/Kayoti/timeclock

lokilust commented 3 years ago

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

Kayoti commented 3 years ago

what is the action you were trying to perform

lokilust commented 3 years ago

Hello, well there is one thing it will not let me login to my timecard or My Time Entry ?

Kayoti commented 2 years ago

Hello, well there is one thing it will not let me login to my timecard or My Time Entry ?

looking into that