[solved]when in portuguese language , easy rule fail …
-
my line 1071 is
-
Was that from /conf/config.xml.bad ?
That doesn't make a lot of sense for it to have thrown an error there or anywhere near there. Might need to see more of /conf/config.xml.bad
If you run xmllint on it, does it report any errors? (xmllint /conf/config.xml.bad)
-
sorry ..
in first post i post 1071 in /conf/config.xmlnow in /conf/config.xml.bad
<rule><type>pass</type> <interface>opt2</interface> <ipprotocol>inet</ipprotocol> <protocol>icmp</protocol> <icmptype>echoreq</icmptype> <source> <address>192.168.1.1</address> <destination><address>192.168.1.50</address></destination> <created><time>1453983212</time> <username>Regra Fácil</username></created></rule>
-
Looks like it's the username to blame, it apparently shouldn't be translated in that context.
-
Looks like it's the username to blame, it apparently shouldn't be translated in that context.
yeah 1071 is <username>Regra Fácil</username>
this error only occur when i in portuguese language
-
OK I pushed a fix. The username was being run through gettext when it shouldn't have been doing so in that specific place.
-
thanks
-
updated the pfsense , problem still there .
How i can help ?
Jan 30 15:50:58 php-fpm 40694 /easyrule.php: Erro de XML: Undeclared entity error na linha 1071 em /conf/config.xml Jan 30 15:50:58 php-fpm 40694 /easyrule.php: pfSense está restaurando a configuração /cf/conf/backup/config-1454176187.xml Jan 30 15:50:58 php-fpm 40694 /easyrule.php: New alert found: pfSense está restaurando a configuração /cf/conf/backup/config-1454176187.xml
-
Perhaps the updated snap didn't have the fix in it yet. Have you updated and tried again?
-
still happens in last build
Notices pfSenseConfigurator pfSense está restaurando a configuração /cf/conf/backup/config-1454415802.xml @ 2016-02-02 12:06:33
-
<username>Regra Fácil</username>
-
ok I found another place that was doing the same thing. Next new snap should be OK.
-
fixed .