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

    The firewall has encountered an error/crash reporter

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 626 Views 2 Watching
    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.
    • J Offline
      jc1976
      last edited by

      [PHP_errors(3).log](Invalid file type. Allowed types are: .png, .jpg, .bmp, .txt, .gif, .xls, .gz, .zip, .pcap, .pcapng, .7z, .xml, .jpeg, .diff, .patch, .tgz, .tar, .0, .cap)

      dunno why this keeps happening.. not only the php crash, but the "allowed types" not allowing me to upload the crash report, which is a .txt,

      so i'm pasting the output here as well since it seems to not want me to upload the phperror.txt

      "Crash report begins. Anonymous machine information:

      amd64
      14.0-CURRENT
      FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec 6 20:45:47 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/F

      Crash report details:

      PHP Errors:
      [01-Feb-2024 09:04:37 US/Eastern] PHP Fatal error: preg_replace(): Cannot use output buffering in output buffering display handlers in /usr/local/www/csrf/csrf-magic.php on line 163
      [01-Feb-2024 09:04:47 US/Eastern] PHP Fatal error: preg_replace(): Cannot use output buffering in output buffering display handlers in /usr/local/www/csrf/csrf-magic.php on line 163

      No FreeBSD crash data found."

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        @jc1976 said in The firewall has encountered an error/crash reporter:

        /usr/local/www/csrf/csrf-magic.php on line 163

        Any idea what triggered that error?

        I would expect to see it when a session has expired so a page that was open for some time for example.

        Steve

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jc1976 @stephenw10
          last edited by

          @stephenw10

          it happens as soon as i log in. if i clear the error, navigate to another tab, when i come back to the dashboard, the error appears again.

          I've cleared out all my web browser cache as well but that didn't make a difference.

          i just logged in (after first clearing my browser cache (firefox) and received the same error upon logging in.

          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            Hmm, only the dashboard? What widgets do you have up?

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jc1976 @stephenw10
              last edited by

              @stephenw10

              whatever is there by default plus:
              ntp status,
              SMART status
              traffic graphs,
              installed packages,
              Squid status
              pfblockerng,
              firewall logs
              suricata alerts.

              1 Reply Last reply Reply Quote 0
              • stephenw10S Offline
                stephenw10 Netgate Administrator
                last edited by

                Hmm, none jumps out there but I would try removing them one at a time if you're able.

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