timeclock icon indicating copy to clipboard operation
timeclock copied to clipboard

Major multi-purpose update.

Open BoatrightTBC opened this issue 8 years ago • 1 comments

  1. Fix all mysql calls to mysqli calls
  2. fix all non-initialized variables (mostly in punchclock) causing warnings.
  3. Replace broken phpweather (noaa discontinued the service) with saratoga-weather, which just looks nicer anyway.
  4. Fix issues with path to the logo file, which is in timeclock/images but when running code from admin or reports or punchclock it was looking in admin/images etc... oops. Fixed.

Yes, I know this is a huge pull request, but the mysql touched almost every file. This now runs in php 5.5 with NO ERRORS ANYWHERE

BoatrightTBC avatar Jan 26 '17 00:01 BoatrightTBC

these following errors show up when performing certain tasks https://pilotweb.nas.faa.gov/qryhtml/icao/ the link is dead trying to delete a time clock entry for a user: Warning: preg_match(): Unknown modifier ',' in C:\xampp\htdocs\timeclock\admin\timedelete.php on line 288 Notice: Undefined variable: tzo in C:\xampp\htdocs\timeclock\admin\timeadd.php on line 546 Notice: Undefined variable: tzo in C:\xampp\htdocs\timeclock\admin\timeadd.php on line 693 hours workded report shows a different time than the time that was entered can not find metar for the city of cleveland, OH as the above link is dead Notice: Undefined index: metar in C:\xampp\htdocs\timeclock\admin\sysedit.php on line 1282

rjonesbsink avatar Feb 14 '17 04:02 rjonesbsink