Project

General

Profile

Actions

Bug #9558

closed

GPS NTP source PHP errors

Added by Steve Wheeler almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
NTPD
Target version:
Start date:
05/28/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.x
Affected Architecture:
All

Description

The output from a non-sync'd GPS set as an NTP source produces PHP errors in the NTP status. Both the main status page and the widget.

PHP Warning:  A non-numeric value encountered in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 74
PHP Warning:  A non-numeric value encountered in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 76
PHP Warning:  A non-numeric value encountered in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 87
PHP Warning:  A non-numeric value encountered in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 89
PHP Warning:  A non-numeric value encountered in /usr/local/www/status_ntpd.php on line 131
PHP Warning:  A non-numeric value encountered in /usr/local/www/status_ntpd.php on line 133
PHP Warning:  A non-numeric value encountered in /usr/local/www/status_ntpd.php on line 118
PHP Warning:  A non-numeric value encountered in /usr/local/www/status_ntpd.php on line 120
Actions #1

Updated by Jim Pingle almost 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Jim Pingle over 4 years ago

  • Category changed from Web Interface to NTPD
Actions #3

Updated by Steve Wheeler over 4 years ago

  • Status changed from Feedback to Resolved

This is fixed.

Tested against:

2.5.0-DEVELOPMENT (amd64)
built on Tue Aug 20 20:47:31 EDT 2019
FreeBSD 12.0-RELEASE-p9

Actions #4

Updated by Jim Pingle over 4 years ago

  • Target version changed from 2.5.0 to 2.4.5
Actions #5

Updated by Jim Pingle over 4 years ago

  • Status changed from Resolved to Feedback

Needs checked and/or tested again on 2.4.5 snapshots

Actions #6

Updated by Jim Pingle over 4 years ago

  • Status changed from Feedback to Resolved
  • Assignee set to Jim Pingle

I've unplugged/replugged the GPS and stopped/started NTPD in various combinations while watching the status, no PHP errors resulted.

Actions

Also available in: Atom PDF