• 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.

Gallery just displays a white page

C

chud67

Guest
I am running Plesk 7.5.1 on FC2 and added Gallery to one of my domains. I was starting to try to add an album but got a blank page, and now every time I go back to my domain and click the gallery button I just get a white/blank page.
Any ideas?
 
1. check or tail the access_log and error_log for errors or clues

2. do a view source on the white page and see if it really is the gallery app or something else
 
Originally posted by eWebtricity
1. check or tail the access_log and error_log for errors or clues
tail /home/httpd/vhosts/domain.com/statistics/logs/error_log

[client 1.2.3.4] PHP Warning: Illegal offset type in /home/httpd/vhosts/domain.com/httpdocs/bobbygallery/init.php on line 27, referer: http://domain.com/bobbygallery/
[client 1.2.3.4] PHP Warning: Illegal offset type in /home/httpd/vhosts/domain.com/httpdocs/bobbygallery/init.php on line 28, referer: http://domain.com/bobbygallery/
[client 1.2.3.4] PHP Warning: Illegal offset type in /home/httpd/vhosts/domain.com/httpdocs/bobbygallery/init.php on line 29, referer: http://domain.com/bobbygallery/
[client 1.2.3.4] PHP Warning: Illegal offset type in /home/httpd/vhosts/domain.com/httpdocs/bobbygallery/init.php on line 30, referer: http://domain.com/bobbygallery/
[client 1.2.3.4] PHP Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/domain.com/httpdocs/bobbygallery/classes/AlbumDB.php on line 271, referer: http://domain.com/bobbygallery/

Note: IP addy and domain edited
 
Ok, I commented out the ioncube line in /etc/php.ini and it appears to be working now.
 
Just to let you know, i had exactly the same problem with a plesk upgrade on 1and1 servers ( .co.uk not com ), and most of my php sites went down ( postnuke and gallery ).
Couldn't work out what was wrong, but taking out ioncube solved everything.

If you want to get ioncube working again, just pop over to ;

http://www.ioncube.com/php4.3.10_issues.php

and get the latest .so file, and stick it in /var/lib/php4 where the old one is, problem sorted :)

Mike
 
I'm having the same issues with gallery, but i don't see any refernce to ioncube in my php.ini file. any other ideas?

edit:: i located the files and replaced them and all is well again. thanks again for your help with this!!!!
 
it won't be in your php.ini file, but another included ini file, called ;

/etc/php.d/ioncube.ini

It should have one line in it ;

zend_extension=/usr/lib/php4/ioncube_loader_lin_4.3.so

just comment this line out with a ';' character.

Mike
 
Back
Top