When I enable the checks gateway status report and cron is not running anymore.

I find the following errors in the apache log:

[Sat Mar 11 17:51:35.374155 2017] [fcgid:warn] [pid 7453:tid 139889190283008] (104)Connection reset by peer: [client ...] mod_fcgid: error reading data from FastCGI server, referer: http://.../admin/modules
[Sat Mar 11 17:51:35.374198 2017] [core:error] [pid 7453:tid 139889190283008] [client ...] End of script output before headers: index.php, referer: http://.../admin/modules

What's going wrong there?

Comments

Boniro created an issue. See original summary.

Boniro’s picture

Status report and running cron is giving error 500
same error on last stable version

Boniro’s picture

Meanwhile I found out this error occurs as soon as I activate the variable-7x-2.5 module.

Boniro’s picture

Priority: Critical » Minor

This error is caused by line 158 in the admin form of ms_checks, where a token list shall be displayed.

$form['recurring']['ms_check_payment_overdue_mail_token_help']['help'] = array(
'#value' => theme('token_tree', array('token_types' => array('ms_core_order', 'user'))),
);

I commented that block out for the moment and that solved the problem.

I don't know what's wrong with it. But it causes a segfault error 6 in php5-cgi in the php version 5.6.30.
I found a google entry where this error happened in another application and it was stated as a php error that should be corrected in 5.6.4 version.

As it is just a helper function for the admin I'll not investing more work into it actually.

What I'm wondering about is that the ms_check admin function is called when I select status report, cron or flushing the caches. That's a bug too I think.

Boniro’s picture

Priority: Minor » Normal