Project

General

Profile

Actions

Bug #2156

closed

Can't install TinyDNS: unexpected '&'

Added by Ahmed El Gamil over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
DNS Server
Target version:
-
Start date:
01/31/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
1.2.3
Affected Plus Version:
Affected Architecture:
amd64

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"

Actions #1

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

Actions #2

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.

Actions

Also available in: Atom PDF