Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [solved]when in portuguese language , easy rule fail …

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    16 Posts 2 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      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)

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • W
        whitexp
        last edited by

        sorry ..
        in first post i post 1071 in  /conf/config.xml

        now 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>
        
        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Looks like it's the username to blame, it apparently shouldn't be translated in that context.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • W
            whitexp
            last edited by

            @jimp:

            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

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              OK I pushed a fix. The username was being run through gettext when it shouldn't have been doing so in that specific place.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • W
                whitexp
                last edited by

                thanks

                1 Reply Last reply Reply Quote 0
                • W
                  whitexp
                  last edited by

                  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
                  
                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Perhaps the updated snap didn't have the fix in it yet. Have you updated and tried again?

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • W
                      whitexp
                      last edited by

                      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 
                      
                      1 Reply Last reply Reply Quote 0
                      • W
                        whitexp
                        last edited by

                        <username>Regra Fácil</username>

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          ok I found another place that was doing the same thing. Next new snap should be OK.

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • W
                            whitexp
                            last edited by

                            fixed .

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.