Actions
Bug #2794
closedPHP Error on NTP
Start date:
02/05/2013
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
All
Description
Fatal error: Cannot use string offset as an array in /usr/local/www/services_ntpd.php on line 43
Caused by $config['installedpackages']['openntpd'] being an empty string.
Fix is to change line 43 to this:
if ($config['installedpackages']['openntpd'] && empty($config['installedpackages']['openntpd']['config'][0]['interface'])) {
Reproduced on yesterday's 2.1 snapshot.
Updated by Jim Pingle almost 12 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset d2b2872afa2e7d36c6cb7c30b8885cff8147985e.
Updated by Jim Pingle almost 12 years ago
Applied in changeset 506c6bee8994ed17f16c56a5c7e2ed4085f76846.
Updated by Phil Lavin almost 12 years ago
This is resolved - tested in last night's snapshot.
Updated by Jim Pingle almost 12 years ago
- Status changed from Feedback to Resolved
Actions