• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Blank page while publishing

R

romulo

Guest
Hello,

My SiteBuilder started with a weird issue this week. While trying to publish a page, after some minutes it stops and shows a blank page.

I've noticed these lines in Sitebuilder's error log:

[Tue Apr 29 22:47:59 2008] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: php5, referer: http://sitebuilder.xxxxxxxxxxx.com/Admin/Site/Form
[Tue Apr 29 22:49:59 2008] [warn] [client xxx.xxx.xxx.xxx] Timeout waiting for output from CGI script /opt/php52/cgi-bin/php5, referer: http://sitebuilder.xxxxxxxxxxx.com/Admin/Site/Form

I've already increased the php's memory_limit directive and upgraded the server RAM.

Any idea on fixing this?

Thanks in advance.
 
As I can see error states that there was timout error for script. Try to increase following parameters in /usr/local/sitebuilder/etc/php.ini file:

max_execution_time = 120
default_socket_timeout = 120

Restart apache and check it one more time. Hope it helps.
 
Didn't worked. The current value is more than 2x of values you said :/
 
As I understand you get these errors in /var/log/httpd/sitebuilder_error.log on Sitebuilder site. If so, try to increase 'Timeout' directive in httpd.conf file (by default /etc/httpd/conf/httpd.conf), restart apache and make publication one more time. Let me know about the results.
 
SiteBuilder is working now. I dunno if due the Timeout change on Apache or due to the cgi deactivation to run php as.

Thank you so much.
 
Back
Top