ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Gallery Module - white page

July 06, 2011 1:27pm

Subscribe [3]
  • #1 / Jul 06, 2011 1:27pm

    somwicked

    26 posts

    Every so often, I cannot upload photos using the gallery module. Whether uploading via the new entry tab or via batch, after clicking submit, the page will just go white - no source code or errors displayed. It looks like PHP just gives up. The host is running suPHP if that makes a difference.

    Running 1.7.1. Error has occurred on 1.6.3 and up. Have upgraded hoping there was some odd bug somewhere.

    The issue is seemingly random. I originally thought it was a spotty network connection the client was using (satellite, mifi), but I have ran into the issue on the 2 connections available to me as well (cable 6/1 MB and 16/2 MB).

    I’ve checked permissions on the upload directory - which are fine since it works at times. Reapplied permissions on all directories from the root photo directory on down.

    Checked upload paths in file and system prefs. Removed the trailing / and resubmitted.

    Cleared caches.

    I’ve enabled debugging on level 2 hoping to get some errors - nothing is given.

    I’ve checked server logs (that I can, shared hosting) and there are no errors.

    Was running PHP4, switched to PHP5 - no change.

    Bumped PHP maximum post and upload to 20 MB.

    Have increased PHP script timeout values.

    I’ve checked for open upload_tmp_dir, open_basedir and safe_modein PHP info - nothing set.

    While troubleshooting, sometimes it works, sometimes it doesn’t. I can upload a 500K photo, it fails on a 1.5 MB photo, can upload another 700 k photo, it fails on a 360k photo. There doesn’t seem to be any pattern or consistency I can find.

    Working with the web host, and they too are unable to see anything weird or indicate there may be an issue somewhere.

    I’m just short of backing up, reinstalling and bringing the site back in to make sure there is not a corrupted file somewhere - but that doesn’t make sense since it does work at times.

    Any thoughts?

  • #2 / Jul 07, 2011 6:10am

    John Henry Donovan

    12339 posts

    somwicked,

    One thing you did not mention was PHP memory.
    Can you boost this to something like 128MB if this is lower?

    Are you using ImageMagick or GD for creating thumbnails?

  • #3 / Jul 07, 2011 10:10am

    somwicked

    26 posts

    Bumped memory via php.ini to 128 MB October/November 2010 when it first started happening.
    Running GD.

    Just recently set session.save_path = /tmp. The initial tests afterward are working again so far.

    Not sure if its too soon to tell

  • #4 / Jul 08, 2011 5:59pm

    Sue Crocker

    26054 posts

    If you have the ability to test locally, I would. If you can’t replicate the problem, then it has to be server related.

    Are there any server logs that might help pinpoint the problem?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases