We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The popup window to view source in the error log doesn't work in PHP 8.3.
This is true for 2.1 & 3.0. PHP 8.2 works fine.
No issue logged, in smf, php or apache error logs. Nothing in the console either.
From the forum: https://www.simplemachines.org/community/index.php?topic=589529.0
This is what it looks like in php 8.2:
This:
3.0 Alpha 2 & 2.1.4
All
8.4
8.3.8
Nothing found in any log...
No response
The text was updated successfully, but these errors were encountered:
The root of the issue here is that in PHP 8.3, significant changes were made to php's to highlight_string()... https://php.watch/versions/8.3/highlight_file-highlight_string-html-changes
highlight_string() is used in our highlightPhpCode() function.
In particular, highlight_string() no longer returns line feeds as <br />.
<br />
Sorry, something went wrong.
Looks like we need to version sniff to handle the output properly then.
There is logic there already for 8.3, but I think it needs a tweak or two.
I'm working on a PR.
No branches or pull requests
Basic Information
The popup window to view source in the error log doesn't work in PHP 8.3.
This is true for 2.1 & 3.0. PHP 8.2 works fine.
No issue logged, in smf, php or apache error logs. Nothing in the console either.
From the forum:
https://www.simplemachines.org/community/index.php?topic=589529.0
Steps to reproduce
Expected result
This is what it looks like in php 8.2:
Actual result
This:
Version/Git revision
3.0 Alpha 2 & 2.1.4
Database Engine
All
Database Version
8.4
PHP Version
8.3.8
Logs
Nothing found in any log...
Additional Information
No response
The text was updated successfully, but these errors were encountered: