Not a bug Server error log truncates content

Affected version
2.0.0 RC2


Well-known member
The server error log truncates strings way too early, and stores them like that in the database, so there is no way to get the error details.

Maybe truncate at 255 in the database and truncate once again in the UI with a button to expand


XenForo developer
Staff member
This is actually coming from PHP's own trace dumping function: I'm not aware of any way to modify that function (short of entirely rolling our own version, which I don't see as necessary/compelling), thus I don't think there will be a change here/this is expected.

Though I'd note the line you highlighted isn't really a good example as the full message is at the top.


XenForo developer
Staff member
The second argument is the file it occurred in (third is the line number), though yes the path is cut off elsewhere too.