• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Can't load images on image gallery

Miguel Mesa Mesa

New Pleskian
When I try to view any image on an image gallery, a blank page is showed. Some days before, an error message like "the file is empty" was displayed, but now the page is blank. You can view this problem on http://www.carpinteriarocio.com/page7.php.

The problems appeared when I updated the php-ioncube loader because I had the problem http://kb.odin.com/en/5244, so I updated the ioncube loader and then the image gallery had the file empty error, so I downgraded the ioncube loader for the old one, but the problem persisted. I disabled SSO, the enabled again SSO, I updated ioncube again, disable SSO again, I uninstalled Hotfix-20090605, I installed Hotfix-20090605 again, reinstall sitebuilder... I've tested a lot. Please, I need help.

My system are:
CentOS 5.3 x86_64
4 GB RAM
Plesk 9.2.3
SiteBuilder 4.5

PHP:
PHP 5.2.11
Zend Engine 2.2.0
Ioncube PHP Loader 3.3.7

Apache error_log:
[Mon Jan 04 16:37:44 2010] [error] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/carpinteriarocio.com/httpdocs/include/Modules/ImageGallery/Image/Broker.php on line 569, referer: http://www.carpinteriarocio.com/page7.php
[Mon Jan 04 16:37:44 2010] [error]PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/carpinteriarocio.com/httpdocs/include/Modules/ImageGallery/Image/Broker.php on line 560, referer: http://www.carpinteriarocio.com/page7.php
[Mon Jan 04 16:37:44 2010] [error] PHP Notice: Undefined index: image in /var/www/vhosts/carpinteriarocio.com/httpdocs/include/Modules/ImageGallery/Image/Broker.php on line 706, referer: http://www.carpinteriarocio.com/page7.php
[Mon Jan 04 16:37:44 2010] [error] PHP Notice: Undefined index: image in /var/www/vhosts/carpinteriarocio.com/httpdocs/include/Modules/ImageGallery/Image/Broker.php on line 722, referer: http://www.carpinteriarocio.com/page7.php
[Mon Jan 04 16:37:44 2010] [error]PHP Notice: Undefined index: id in /var/www/vhosts/carpinteriarocio.com/httpdocs/include/Modules/ImageGallery/Image/Broker.php on line 732, referer: http://www.carpinteriarocio.com/page7.php
[Mon Jan 04 16:37:44 2010] [error] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 142401972731904 bytes) in /var/www/vhosts/carpinteriarocio.com/httpdocs/include/SB/Modules/Storage/Db/Adapter/Sqlite.php on line 764, referer: http://www.carpinteriarocio.com/page7.php
 
I downgrade to php 5.1.6 and reinstall plesk and sitebuilder. Now all is ok.
I think that sitebuilder with php 5.2 on CentOs is a bad idea.
 
Back
Top