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

Gallery just displays a white page

Discussion in 'Plesk for Linux - 8.x and Older' started by chud67, May 6, 2005.

  1. chud67

    chud67 Guest

    0
     
    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?
     
  2. eWebtricity

    eWebtricity Guest

    0
     
    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
     
  3. chud67

    chud67 Guest

    0
     
    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
     
  4. chud67

    chud67 Guest

    0
     
    Ok, I commented out the ioncube line in /etc/php.ini and it appears to be working now.
     
  5. mikecouk

    mikecouk Guest

    0
     
    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
     
  6. bigdaddy

    bigdaddy Guest

    0
     
    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!!!!
     
  7. mikecouk

    mikecouk Guest

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