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

    Not sure where to put since no 2.1 section?

    General pfSense Questions
    3
    4
    2.0k
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      Running

      2.1-DEVELOPMENT (i386)
      built on Sun Sep 11 21:36:53 EDT 2011

      You are on the latest version.

      Just ran a gitsync this morning, and getting this error

      unexpected T_RETURN in /etc/inc/xmlrpc_client.inc on line 563

      I had to manually start unbound and bandwidthd after reboot, other than that seem to be working ok - unless you try and look at the package logs?  Then you get that error as well.

      I would have to assume its related to this commit
      https://github.com/bsdperimeter/pfsense/commit/9a4cfa0b23d27db263420cdcf54edfa86c034ad3

      
      @@ -559,8 +559,10 @@ class XML_RPC_Base {
      
           {
      
               include_once 'PEAR.inc';
      
               if (is_object(@$this)) {
      
      +      log_error(get_class($this) . ': ' . $msg . " {$code}")
      
                   return PEAR::raiseError(get_class($this) . ': ' . $msg, $code);
      
               } else {
      
      +      log_error("XML_RPC: " . ': ' . $msg . " {$code}")
      
                   return PEAR::raiseError('XML_RPC: ' . $msg, $code);
      
               }
      
           }
      
      

      Not really a coder, but is not the 2 lines added missing a ; at the end?

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • M
        mikesamo
        last edited by

        Hello All,

        same issue using embedded version

        http://files.pfsense.org/jimp/ipv6/pfSense-2.1-DEVELOPMENT-i386-nanobsd-4g.upgrade.img.gz

        Thanks

        1 Reply Last reply Reply Quote 0
        • M
          mikesamo
          last edited by

          just add the ; and working well

          include_once 'PEAR.inc';
                  if (is_object(@$this)) {
              log_error(get_class($this) . ': ' . $msg . " {$code}");
                      return PEAR::raiseError(get_class($this) . ': ' . $msg, $code);
                  } else {
              log_error("XML_RPC: " . ': ' . $msg . " {$code}");
                      return PEAR::raiseError('XML_RPC: ' . $msg, $code);

          1 Reply Last reply Reply Quote 0
          • L
            LinuxTracker
            last edited by

            I had the same problem today after a manual update to JIMPs i386-20110929-1702.tgz

            I used Putty to get access into the console and ee to apply the fix above.

            Thanks to those who took the time to debug this and save me lots of time.

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