• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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