Bug #10336
fatal error on firewall_aliases_edit.php
0%
Description
if i try to insert a URL
and try to save
Fatal error: Uncaught Error: Call to undefined function idn_to_ascii() in /etc/inc/pfsense-utils.inc:2386 Stack trace: #0 /usr/local/www/firewall_aliases_edit.php(287): parse_aliases_file('/tmp/alias_impo...', 'url', 5000) #1 {main} thrown in /etc/inc/pfsense-utils.inc on line 2386 PHP ERROR: Type: 1, File: /etc/inc/pfsense-utils.inc, Line: 2386, Message: Uncaught Error: Call to undefined function idn_to_ascii() in /etc/inc/pfsense-utils.inc:2386 Stack trace: #0 /usr/local/www/firewall_aliases_edit.php(287): parse_aliases_file('/tmp/alias_impo...', 'url', 5000) #1 {main} thrown
History
#1
Updated by Manuel Piovan about 1 year ago
the function idn_to_asci is inside php-intl
this package need to be installed:
php73-intl: 7.3.15 [pfSense]
icu: 65.1,1 [pfSense]
#2
Updated by Viktor Gurov about 1 year ago
worked before: https://redmine.pfsense.org/issues/10321
it looks like php73-intl is removed from the last build and needs to be added back
#3
Updated by Jim Pingle about 1 year ago
- Assignee set to Renato Botelho
- Target version set to 2.5.0
- Affected Architecture All added
#4
Updated by Manuel Piovan about 1 year ago
if i can also say something about line 2384 ..
/* NOTE: fgetss() is not a typo RTFM before being smart */
it should not be inside a released file or maybe if you change to RTM would be more polite :)
#5
Updated by Jim Pingle about 1 year ago
That wouldn't belong on a PR or change for this issue.
#6
Updated by Renato Botelho about 1 year ago
Viktor Gurov wrote:
worked before: https://redmine.pfsense.org/issues/10321
it looks like php73-intl is removed from the last build and needs to be added back
I've added php-intl as a dependency of pfSense meta package on both 2.5.0 and 2.4.5
#7
Updated by Viktor Gurov about 1 year ago
- Status changed from New to Resolved
no such error on 2.5.0.a.20200317.0046
# pkg info php73-intl php73-intl-7.3.15 Name : php73-intl Version : 7.3.15 ...