-
Notifications
You must be signed in to change notification settings - Fork 13
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
Odd behaviour with PHP7.4 Nginx & php-fpm #136
Comments
Hi Jimmyfi, try to delete everything from table Regards, |
Hi Update |
Do you open O!MPD page using host name or ip address? |
I use Hostname. |
Please try with ip address - maybe Cloudflare Proxy blocks somehow communication when using hostname. |
hmm direct IP doesn't work since there are multiple vhosts running.. When I had cloudflare proxy on the IP adress on sessions was kind of random, when I disabled it, it changed the IP address on session table to my local network IP address. I wonder if there is some way to fix it that it would work with cloudflare proxy on? |
Hi
I moved my Ompd! from virtual machine to native machine for better performance and "Reasons" and then I began receiving odd issues one was quite often typed "Login failed Unexpected IP address". Login to the page took ages and all of sudden i got request to login again. I checked logs and I got alot of following errors
2020/12/16 06:50:02 [error] 2951754#2951754: *152 FastCGI sent in stderr: "PHP message: PHP Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /mnt/zfs/Websites/Ompd/include/initialize.inc.php on line 239PHP message: PHP Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /mnt/zfs/Websites/Ompd/include/initialize.inc.php on line 240" while reading response header from upstream, client: 162.158.238.217, server: jukebox.sideburns.pm, request: "GET /cache.php?action=css&skin=dark_wide&hash=727c62abce3144da5f2c7c03f54b7bbe HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm-jukebox.sock:", host: "url", referrer: "url"
I've tried everything I Know including loading latest versions from github enabled systemwide opcache etc, but nothing seems to help so far :( I Wonder if community might have some suggestions?
My server setup
Debian Testing with latest kernele
PHP Version 7.4.11
Nginx nginx/1.18.0
php-fpm settings :
With Kind Regards Jimmyfi
The text was updated successfully, but these errors were encountered: