Actions
Bug #8967
closedPHP error in DNS Forwarder when config has no dnsmasq settings
Start date:
09/27/2018
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All
Description
https://www.reddit.com/r/PFSENSE/comments/9je1ar/244_php_error/
Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96 Stack trace: #0 {main} thrown in /usr/local/www/services_dnsmasq.php on line 96 PHP ERROR: Type: 1, File: /usr/local/www/services_dnsmasq.php, Line: 96, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96 Stack trace: #0 {main} thrown
Code on that line assigns by reference, needs initialized first.
To me, I have a fix.
Updated by Jim Pingle about 6 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 651b4dcb4ed2dc1404cd532a2a53190e77cbcbc4.
Updated by Jim Pingle about 6 years ago
Typo fix for this as well f31ef5aa0e777c236fb175778e63b9e26a9d2627
Updated by Steve Wheeler about 6 years ago
- Status changed from Feedback to Resolved
Unable to replicate this in either 2.4.4 or in:
2.4.5-DEVELOPMENT (amd64) built on Mon Oct 01 01:24:24 EDT 2018 FreeBSD 11.2-RELEASE-p4
Removed <dnsmasq> tags from the config. Rebooted to be sure. Opened services_dnsmasq.php. Enabled the forwarder. Added host overrides.
Updated by Anonymous about 6 years ago
- Target version changed from 2.4.4-GS to 2.4.4-p1
Updated by Anonymous about 6 years ago
- Target version changed from 2.4.4-p1 to 2.4.4-GS
Actions