Avideo: Upgrading to 9.2 breaks compatibility with php-fpm

Created on 21 Jul 2020  路  9Comments  路  Source: WWBN/AVideo

OS: Ubuntu 20.04
Apache version: 2.4.43
PHP version: 7.2

AVideo version 9.1 was working fine on the same server, running through PHP-FPM.

After upgrading to 9.2, the whole site broke down. Apache gives error 500, and the following error messages are recorded to Apache's error log:

[proxy_fcgi:error] [pid 1234] [client 1.2.3.4:12345] malformed header from script 'index.php': Bad header:
[proxy_fcgi:error] [pid 1234] [client 1.2.3.4:12345] AH01070: Error parsing script headers

Any of the logs available do not reveal exactly which index.php it is that's causing the error.

Switching to mod_php "fixes" the problem -- but it's not a real fix since mod_php has much poorer performance than PHP-FPM.

bug

All 9 comments

Hi

I guess one of those lines is breaking your code.

try to comment them and let me know

https://github.com/WWBN/AVideo/blob/91abad67cf55479205d9ce2d99895e8f12f0c774/objects/functions.php#L2283

https://github.com/WWBN/AVideo/blob/91abad67cf55479205d9ce2d99895e8f12f0c774/objects/functions.php#L2284

Daniel, I will try this fix as soon as I can (within a day or two) and report back to this thread.

I'm having the same problem. I have commented the lines but no change. My website is just blank. White page, no text no videos no pictures. Nothing.

Any other solution?

what exactly is your OS, web server and PHP Version?

Ubuntu 18.04
Apache 2.4.29
PHP 7.2.24

THough I realise I have not updated the database.

@jengajenga so it is working for you?

Yes. Whether I comment or uncomment the lines in function.php, it is working
db 9.1

did the update. i confirm db 9.2 is working.

Ubuntu 18.04
Apache 2.4.29
PHP 7.2.24

Same here, problem fixed by installing the latest update.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

syldri picture syldri  路  3Comments

wetubeclub picture wetubeclub  路  3Comments

matthall1998 picture matthall1998  路  4Comments

hrt644 picture hrt644  路  3Comments

akhilleusuggo picture akhilleusuggo  路  3Comments