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

    [fixed] Avahi php warning 2.4.5

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    4 Posts 3 Posters 860 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.
    • S
      strangegopher
      last edited by strangegopher

      Just upgraded to 2.4.5 from 2.4.4 and got this avahi package php error and it is not starting.

      Crash report begins.  Anonymous machine information:
      
      amd64
      11.2-RELEASE-p4
      FreeBSD 11.2-RELEASE-p4 #27 021c0c7c1ad(RELENG_2_4_4): Tue Oct  2 22:53:42 EDT 2018     root@buildbot3:/crossbuild/ce-master/obj/amd64/9kCJYnqE/crossbuild/ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense
      
      Crash report details:
      
      PHP Errors:
      [02-Oct-2018 23:11:30 America/Vancouver] PHP Warning:  Use of undefined constant AVAHI_RCFILE - assumed 'AVAHI_RCFILE' (this will throw an Error in a future version of PHP) in /usr/local/pkg/avahi/avahi.inc on line 94
      
      
      No FreeBSD crash data found.
      

      edit2: reinstall the package and clicking save on config page fixed the issue

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

        Looks like there was a small typo/inconsistency in the name of that constant in the code. Should be fixed in the next new version when it shows up after the next snapshot run.

        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!

        dennypageD 1 Reply Last reply Reply Quote 0
        • S
          strangegopher
          last edited by

          @jimp thanks

          1 Reply Last reply Reply Quote 0
          • dennypageD
            dennypage @jimp
            last edited by

            @jimp Sorry about that!

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