1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Blank page while publishing

Discussion in 'Sitebuilder 4.1 for Linux' started by romulo, Apr 30, 2008.

  1. romulo

    romulo Guest

    0
     
    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.
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    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.
     
  3. romulo

    romulo Guest

    0
     
    Didn't worked. The current value is more than 2x of values you said :/
     
  4. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    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.
     
  5. romulo

    romulo Guest

    0
     
    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.
     
Loading...