Page 2 of 3

You can set an optio

Posted: 10 Mar 2008, 13:41
by WARit
You can set an option in the config page to allow users to choose which is the memory limit "or" find something that get's this particular information by the server itself?

yes, you right, I ge

Posted: 10 Mar 2008, 13:47
by Jan
yes, you right, I get there a 'if' clause

Jan

It is changed, you c

Posted: 10 Mar 2008, 15:51
by Jan
It is changed, you can download it now (the same version 1.6.0)

Thank you very much!

Posted: 10 Mar 2008, 17:45
by WARit
Thank you very much!
By the way I've tested the modifcation increasing the ini_set('memory_limit', '50M') to 128 (that is the host default) and it worked.

I think that if everybody like me is going to mainly use phocagallery with the "multiple add" option that automatically creates categories and lots of images thumbnails at the same time, the problem of memory exhaust could reappear and actually phocagallery is stuck in that error loop.

I would like to suggest to find a way to return an error message and avoid the bugging of pochagallery untill the user deletes the images via media manager or ftp.

Best regards and keep up the good work!

I don't underst

Posted: 10 Mar 2008, 20:36
by Jan
I don't understand how you can get the loop, When I have tested it (with no memory), I got the Fatal error and the script was ended - no loop ???... The problem is, that I added error messages and after these error messages loop will end but it doesn't work with the memory (ImageCreateFromJPEG() ) because you get Fatal error... And Fatal error stop the script and the looping by itself...

???

Jan

The loop I get is th

Posted: 11 Mar 2008, 09:57
by WARit
The loop I get is this, once I do a multiple add, if in the process there are lots of images (it happened to me with just 5) and I get the error message of memory exhaust, it wont get back to the gallery page anymore.
If I try to access the phocagallery > gallery section I will get again the memory exhaust message untill I delete those images via media manager or ftp.
Once the images are deleted I can get to the gallery section, and the images I've tryed to dowload are there but w/o thumbnail and it says that there was an error and I have to reupload those images etc etc.

Yes, there is a link

Posted: 11 Mar 2008, 11:06
by Jan
Yes, there is a link to disable the automatically thumbnail creating, but it cannot be used if fatal error is appearing... So if each error appears, you can disable it and go to the Phoca Gallery... The problem of ImageCreateFromJPEG() is that it returns string 0 but the Fatal error too...

Ok fine, I can disab

Posted: 11 Mar 2008, 11:18
by WARit
Ok fine, I can disable the thumbnail creation, but how I can redo that thumbnail?
Is it possibile per image basis?

Sorry to bother you excessively on this topic eheh :D

You can enable the t

Posted: 11 Mar 2008, 11:25
by Jan
You can enable the thumbnail creation in default settings (in case your memory is ok now) or you can add images per image. Just click on new (but there you must have the thumbnail creation enabled )

Jan

Okies, thanks for th

Posted: 11 Mar 2008, 11:37
by WARit
Okies, thanks for the support!