Search…

X3 Photo Gallery Support Forums

Search…
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

Admin page error 500 after upgrading 2.1

05 May 2009, 03:27

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
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

05 May 2009, 08:47

Could you please provide a link with admin login/pass and probably we'll need ftp login too.
firedev.com
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

07 May 2009, 08:03

pm was send. any updates on this ?
 
fux
Posts: 2
Joined: 07 May 2009, 16:19

Memory Error

07 May 2009, 16:48

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
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

09 May 2009, 04:28

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.
firedev.com
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

10 May 2009, 05:17

I just send you a new pm.
 
fux
Posts: 2
Joined: 07 May 2009, 16:19

11 May 2009, 13:35

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.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

11 May 2009, 13:59

Yea we're having bugfix already, just need some live subject to test, could somebody provide ftp login?
firedev.com
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

12 May 2009, 04:40

please look at you pm. user and pass send
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

12 May 2009, 09:12

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.
firedev.com
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

12 May 2009, 10:59

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

12 May 2009, 13:06

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.
 
eissap
Experienced
Topic Author
Posts: 67
Joined: 22 Dec 2006, 09:49

13 May 2009, 03:22

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.