Bug #2156
closedCan't install TinyDNS: unexpected '&'
0%
Description
I was trying to install TinyDNS under my installation of pfsense ..
It got to the Installing dns-server and its dependencies & Loading package instructions... then it just stopped
I noticed the following error message at the bottom of the page:
"Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /usr/local/pkg/tinydns.inc on line 935"
Updated by Jim Pingle over 13 years ago
- Priority changed from High to Low
Looks like the IPv6 code I added last June might be breaking this in two ways on 1.2.3. First because PHP4 doesn't like foreach by reference, and second because IPv6.inc doesn't exist on 1.2.3
Given that it's been in this state for 7 months and we've only had one report, I'm not sure if fixing it for 1.2.3 is really warranted. Upgrade to 2.0.1, the current supported release of pfSense, and it works fine. Disabling dns-server on 1.2.3 is probably the most prudent thing to do here.
Otherwise we'll need to split the tinydns port up in two, one for a 1.2.3-legacy version and another for 2.0+.
Jim
Updated by Chris Buechler over 13 years ago
- Status changed from New to Closed
1.2.3 is no longer supported. If someone would like to make a merge request in git for a separate package for 1.2.3 that works with PHP 4, we could merge it, otherwise you have to upgrade to 2.0.x.