Page 1 of 1

Admin page error 500 after upgrading 2.1

Posted: 05 May 2009, 03:27
by eissap
After upgrading to the latest version. I'm suffering with the following:
Within a folder where there a lot of pictures i'm getting an error 500.
After inspecting the logs the memory is the problem.
Code
[Tue May 05 09:20:44 2009] [error] [client 87.210.206.59] PHP Fatal error:  Allowed memory size of 67108864 bytes exhausted
              (tried to allocate 14592 bytes) in /home/users/eissap/www/imagevue/include/ivImage.class.php on line 42  
Could these be because of the new sorting feature ?
Within the old releases i didn't had this problem.

with regards,

Eissap

Posted: 05 May 2009, 08:47
by Nick
Could you please provide a link with admin login/pass and probably we'll need ftp login too.

Posted: 07 May 2009, 08:03
by eissap
pm was send. any updates on this ?

Memory Error

Posted: 07 May 2009, 16:48
by fux
Hi

If i upload more than 160 pictures into a folder and try to create thumbnails in that folder i get the following error:
Code
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4096 bytes)in /home/sites/mywebsite.com/public_html/imagevue/include/ivImage.class.php on line 42
I'm using latest version 2.1.0

Posted: 09 May 2009, 04:28
by Nick
Are you sure you're not uploading images that are just too big to be resized?

eissap: Are you sure you did send anything to me? I can't find PM from you.

Posted: 10 May 2009, 05:17
by eissap
I just send you a new pm.

Posted: 11 May 2009, 13:35
by fux
Are you sure you're not uploading images that are just too big to be resized?
Yes I'm shure. The size of the images is between 80KB and 250KB. And if i delete some of the pictures (not the biggest), it works fine.
With less than 150 pictures it works fine, but if i have more than 150 it doesn't works anymore.

Posted: 11 May 2009, 13:59
by Nick
Yea we're having bugfix already, just need some live subject to test, could somebody provide ftp login?

Posted: 12 May 2009, 04:40
by eissap
please look at you pm. user and pass send

Posted: 12 May 2009, 09:12
by Nick
Well, after studying your configuration I can note the following:

1. You have 592 images in folder, 2222x1700, 1.5-2mb each, I'd recommend maybe use less pictures and resize em.
2. Php is running as CGI, not apache module and suhosin is installed
3. After refreshing several times it finally reached the end.

We fixed it on your site and will release an update in a few days.

fux Could you please provide a link to your gallery and ftp login too?
And by the way, you have 8mb memory limit for php, this is too little anyway. It just won't be able to resize images. It's not the filesize that matters, but image dimensions.

Posted: 12 May 2009, 10:59
by eissap
pain wrote:Well, after studying your configuration I can note the following:

1. You have 592 images in folder, 2222x1700, 1.5-2mb each, I'd recommend maybe use less pictures and resize em.
2. Php is running as CGI, not apache module and suhosin is installed
3. After refreshing several times it finally reached the end.

We fixed it on your site and will release an update in a few days.
First of all thank you for your quick response. To answer you questions:

1) Although i agree by lowering the number of pictures i must say that imagevue is a gallery software for photo's and in my "arrogant" :wink: opinion it should handle those images easily. Mabey making paginations could be an option.(just a thought)
2) If these settings are a problem, could you provide me with some more details on this. I'm happy to change this if necessary but i dont think it's making things worse.
3) me to, so thanks for that.

With regards,

Eissap

Posted: 12 May 2009, 13:06
by mjau-mjau
Now pain has been looking into this I guess, so I don't really now whats going on, but I would question the image size of 2222x1700 px.

Normally, shared web servers can't even create thumbnails from this size because of memory limitations. The normal limit is at around 1200-1400 px wide as maximum before server creates error(unless you have a dedicated server of course). Also, is is strictly necessary to have 2222px images? 90% of your visitors will see images at less than half that size anyway, so the load will only be an undesired burden on their bandwidth.

Posted: 13 May 2009, 03:22
by eissap
I think you have a good point.
When i have some time I'll down scale all my pictures so bandwidth and admin pages will be saved.