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.

errors not displaying - blank page

March 14, 2012 5:13pm

Subscribe [1]
  • #1 / Mar 14, 2012 5:13pm

    bitsculptor

    30 posts

    I’ve created a photo gallery for my site using a channel and some custom channel fields. Everything was going fine till I decided to upload the rest of the 200 photos into the channel (each as a separate entry). I had about 40 photos in the channel when I did my testing. I’m using ce image resizer to resize the images on the page. Now that I have all of the photos uploaded, the page won’t load if I have the limit on the channel entries loop set any higher than 16 photos. I know it’s the ce image resizer that’s failing, but I don’t know why because there are no errors being output to the page. I checked my log file and there are no errors showing up there either. I went through the ce files and uncommented all the lines that turned on error reporting. Still no errors showing. I also set $debug = 1; and turned template debugging on. Does anyone know why errors wouldn’t show?  I assume it’s some kind of memory error, but it’s strange that it errors at only 20 entries when I used to have 40 displaying with no problem.

  • #2 / Mar 15, 2012 3:22pm

    Dan Decker

    7338 posts

    Hi bitsculptor,

    Having worked with CE Image before, it is certainly a memory error. Do you know what your PHP memory limit is at the moment? Can you double it and see what the effect is?

    I assume it’s some kind of memory error, but it’s strange that it errors at only 20 entries when I used to have 40 displaying with no problem.

    When you had the limit higher, were you doing *less* with CE Image? Have you added any other plugins to your template? Have you enabled CE’s caching?

    Have you contacted Causing Effect for support as well?

    I look forward to your reply!

    Cheers,

     

  • #3 / Mar 15, 2012 5:20pm

    bitsculptor

    30 posts

    for some reason, nothing I do seems to change the memory limit. I tried setting the memory limit via ini_set() but to no avail. I don’t have permissions to modify the php.ini file.

    My solution was to get a batch image resizer on my local machine and resize all the images to as small a size as possible.

    Now all my images are manageable for CE to resize, and if the user uploads a larger image, CE can handle 1 or 2 at a time. I thought 32MB was enough… but apparently large photos take a great deal of memory.

    Thanks for taking the time to reply.

  • #4 / Mar 16, 2012 5:05pm

    Dan Decker

    7338 posts

    Hi bitsculptor,

    I’m glad to see you found a workaround.

    I thought 32MB was enough… but apparently large photos take a great deal of memory.

    Indeed, on the site I referenced, we ended up going to 128MB

    If you ever need anything else, just let us know in a new thread!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases