-
-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
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
openlog error after update to php 8.1 #5053
Comments
openlog exists in PHP 8. Disabled in php.ini perhaps?
…On Sun, Jan 29, 2023, 09:13 Tobias Paar ***@***.***> wrote:
*Describe the bug*
I upgraded php version from 7.2 to 8.1. After this the freshrss page
breaks, showing this error in my server log:
mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined function openlog() in freshrss/lib/lib_rss.php:23
mod_fcgid: stderr: Stack trace:
mod_fcgid: stderr: #0 freshrss/p/index.php(3): require()
mod_fcgid: stderr: #1 {main}
mod_fcgid: stderr: thrown in freshrss/lib/lib_rss.php on line 23
*Expected behavior*
*Environment information (please complete the following information):*
- Device: pc
- OS: Manjaro
- Browser: Chrome, Firefox
- FreshRSS version: 1.20.2
- Database version: mysql
- PHP version: 7.2 / 8.1
- Installation type: shared hosting
*Additional context*
Downgrade of php back to version 7.x solves the problem.
—
Reply to this email directly, view it on GitHub
<#5053>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABRQBMGPN2H3ABMQI45JYDWUYRBXANCNFSM6AAAAAAUKDO45Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Similar issue: #5027 |
True, |
It would require a patch to implement a workaround for systems without syslog, which we do not have at the moment |
For PHP 8+, the workaround would be easy to implement https://php.watch/versions/8.0/disable_functions-redeclare |
Awesome! It works under php 8.1, although I get following message in my logs:
|
@tobip Are you sure those warning/error logs are when running your PHP 8.1? |
Whops sorry, I think those errors were still there from when I was running php 7. |
Describe the bug
I upgraded php version from 7.2 to 8.1. After this the freshrss page breaks, showing this error in my server log:
Expected behavior
Environment information (please complete the following information):
Additional context
Downgrade of php back to version 7.x solves the problem.
The text was updated successfully, but these errors were encountered: