1.12RC - Switching post order (commented/posted/personal) randomly fails.
Created by: Cacasapo
Logging in to an account and continuously changing ordering from commented/posted/personal will cause an error. Sometimes the error causes the page load to hang on the "loading" graphic, sometimes not, and sometimes a "Page not found"(not 404) is displayed. I thought it was a PHP 7 thing, but it also happens on PHP 5.6.24.
This is a Cpanel server with apache 2.4.23. Handler is mod_cgid with timeout at 120. There's pretty much zero traffic on this hub, since it's basically just for myself and testing.
Anyone else experiencing this, whether with mod_cgid or another handler?
mod_cgid log:
%% [Fri Aug 19 12:09:07 2016] GET /cgi-sys/ea-php70/index.php?q=ping&f=&uid=2&_=1471622942247 HTTP/2.0
%% 500 /usr/local/cpanel/cgi-sys/ea-php70
%request
Accept: */*
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Referer: https://social.slacker.cc/network
Accept-Encoding: gzip, deflate, sdch, br
Accept-Language: en-US,en;q=0.8,pt-BR;q=0.6,pt;q=0.4
Cookie: __cfduid=dbec5b86e5bb21e81d55f485bd15bc0721453926753; jsdisabled=0; PHPSESSID=765frrfkbf8d8i6a5115fse711
Host: social.slacker.cc
%response
Apache log:
[Fri Aug 19 12:18:56.465166 2016] [cgid:error] [pid 9196:tid 140549508843264] [client MYIP:51982] End of script output before headers: ea-php70, referer: https://social.slacker.cc/network?f=&order=comment
mod_cgid log:
%% [Fri Aug 19 12:20:37 2016] GET /cgi-sys/ea-php56/index.php?q=network&f=&conv=1 HTTP/2.0
%% 500 /usr/local/cpanel/cgi-sys/ea-php56
%request
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Referer: https://social.slacker.cc/network?f=&order=post
Accept-Encoding: gzip, deflate, sdch, br
Accept-Language: en-US,en;q=0.8,pt-BR;q=0.6,pt;q=0.4
Cookie: __cfduid=dbec5b86e5bb21e81d55f485bd15bc0721453926753; jsdisabled=0; PHPSESSID=n4mr15am17tet84309lkujt3v4
Host: social.slacker.cc
%response
Apache log:
[Fri Aug 19 12:20:37.404597 2016] [cgid:error] [pid 9199:tid 140549559199488] [client MYIP:51987] End of script output before headers: ea-php56, referer: https://social.slacker.cc/network?f=&order=post