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

    problem with uploading error logs

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 2 Posters 682 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.
    • J
      jc1976
      last edited by

      I've attempted to upload an error log twice in this instance (and it has happened a bunch of time in the past as well), where the file being uploaded is a "PHP_error.txt" only to have a message given to me in red letters saying that the file i'm attempting to upload is not in the correct format, and then it gives me a list of file formats that are acceptable where '.txt' is 3rd or 4th, or 5th on the list.

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

        Can you upload it here?
        https://nc.netgate.com/nextcloud/index.php/s/ewYtCkYzL4obNjN

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

          @stephenw10

          just uploaded it.. they basically all say the same thing. it happens EVERY time i log into the firewall via the web portal.

          thanks!

          "Crash report begins. Anonymous machine information:

          amd64
          14.0-CURRENT
          FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_1-n255918-774957be06d: Wed Nov 15 17:41:06 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_1-main/obj/amd64/GScwGwyy/var/jenkins/workspace/pfSense-CE-snapshots-2_7_1-main/sources/F

          Crash report details:

          PHP Errors:
          [05-Dec-2023 16:56:50 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
          [05-Dec-2023 16:57:24 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
            stephenw10 Netgate Administrator
            last edited by

            Hmm, doesn't seem to be known. It only happens when you login though?

            From different browsers? Different hosts?

            If you manually logout and then back in does it do it?

            Steve

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

              @stephenw10

              i don't know how to find that out. all i know is that every time i log in, i have that crash alert across the top of the page. i'm using firefox.

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

                Ok so do you still see it if you login from a different browser? Or from an entirely different client on the LAN?

                It appears something is being sent before the csrf check and that could be browser related.

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

                  @stephenw10 i just tried it in edge and the message wasn't there..

                  what setting should i be looking for?

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

                    My first guess would be something stored in a saved login. Try using a private window in Firefox.

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