problem with uploading error logs
-
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.
-
Can you upload it here?
https://nc.netgate.com/nextcloud/index.php/s/ewYtCkYzL4obNjN -
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/FCrash 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 163No FreeBSD crash data found."
-
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
-
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.
-
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.
-
@stephenw10 i just tried it in edge and the message wasn't there..
what setting should i be looking for?
-
My first guess would be something stored in a saved login. Try using a private window in Firefox.