• 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

Image Gallery and Premature End of Script

ccto

Basic Pleskian
Hello All,

We have upgraded the Site Builder for Linux from 4.0 to 4.5.0 Hotfix-20090203 (2009020315), and found that a few Image Gallery module upgraded from 4.0 to 4.5, it intermittently shows "Internal Server Error" in the Browser.

We try to search it in the apache error log, it shows -
[Fri Feb 13 17:31:53 2009] [error] [client 59.x.x.x] Premature end of script headers: page3.php
[Fri Feb 13 17:31:53 2009] [error] [client 59.x.x.x] File does not exist: /home/levxxx/domains/level-xxx.com.hk/public_html/500.shtml
[Fri Feb 13 17:32:11 2009] [error] [client 59.x.x.x] Premature end of script headers: page3.php
[Fri Feb 13 17:32:11 2009] [error] [client 59.x.x.x] File does not exist: /home/levxxx/domains/level-xxx.com.hk/public_html/500.shtml

However, we sometimes press Ctrl-F5 to refresh it, it can successfully show the Gallery page. But when we simply press F5 again, or goto some pages in gallery and back page, it still shows the "Internal Server Error".

Please help.

Thank you very much for your kind attention.

Regards,
George.
 
Also, if we enable the logging in php.ini , it shows the following in the /var/log/message -

Feb 13 17:48:10 peach kernel: php-cgi[12669]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007fff9504fa50 error 4
Feb 13 17:48:35 peach kernel: php-cgi[14027]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007fff998442b0 error 4
Feb 13 17:48:36 peach kernel: php-cgi[14033]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007fffec04aaa0 error 4
Feb 13 17:48:43 peach kernel: php-cgi[14356]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007fff0d9de970 error 4
Feb 13 17:48:44 peach kernel: php-cgi[14369]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007fffefc1e6a0 error 4
Feb 13 17:48:47 peach kernel: php-cgi[14385]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007ffff85d0fa0 error 4
Feb 13 17:48:48 peach kernel: php-cgi[14391]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007fff8c8f2360 error 4
Feb 13 17:48:48 peach kernel: php-cgi[14393]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007fffded0d780 error 4
Feb 13 17:48:48 peach kernel: php-cgi[14394]: segfault at 0000000000000320 rip 00000000006d8fa0 rsp 00007fffa0157bd0 error 4
 
We tried to download the latest ioncube tar.gz into the server, and update it with php.ini, it seems working.

The original ioncube loader -
-rwxr-xr-x 1 root root 871072 Jul 5 2007 ioncube_loader_lin_5.2.so

The current one -
-rwxr-xr-x 1 root root 871104 May 9 2008 ioncube_loader_lin_5.2.so

It seems working now with the image gallery and eShop module (today also found problem on eShop).
 
Back
Top