Page 2 of 4

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 13:17
by Jan
so there can be some problem with your GD library, because if you have 128 MB for php, it is enough

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 14:34
by tess63
Hi Jan
What is the recommended GD version/minimum requirements for Phoca Gallery? I'm getting my hosting company to look into this.

Thanks - Tess

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 20:13
by RichardGase
Hello,
Despite of changing php.,ini to 128M and changing the Global settings back every time I try to upload I get the Fatal error. I'm running a localhost with XAMPP 1.6.7. on Vista business SP1, Joomla 1.5.4 and 1.5.5 and tried several different templates including the standard templates. Only one photo can be uploaded and then no more.
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

Stop Thumbnails Creation
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 3888 bytes) in C:\xampp\htdocs\Joomla\administrator\components\com_phocagallery\helpers\phocagallery.php on line 881

Does someone have some more suggestions what can be done??

Thanks in advance,

Richard from Netherlands

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 22:24
by ErwinK
Hi all,

First I want to thank for the great modules you've made.
I use the gallery and the guestbook, and they work very nice.

Until I upgraded my joomla from 1.5.0 to 1.5.4 I had no problems.
After the upgrade I had the same problem as above, no Thumbnails where created.
First I blamed the 1.5.4 version of joomla, but after a restore I had the same problem on 1.5.0.

Is it possible that an automatic update of my php5-gd environment has introduced the problem?

Currently I have the following installed on SuSE 10.1 64bit:
php5-gd-5.1.2-29.50 (<command> rpm -qa | grep gd </command>)

I hope we can solve this problem together.

Greetings from the Netherlands.

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 22:32
by Jan
no idea... I am running it on:

suse 11, php5, J!1.5.5 8MB (ini_set sets it to 50MB for thumbnail creation)
suse 11, php4, J!1.5.5 8MB (ini_set sets it to 50MB for thumbnail creation)
winxp, php5,J!1.5.3 - 1.5.5 8MB --||--
frebsd,php5, J!1.5.1 12 MB --||--

There is all GD2

no problems there :(

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 22:44
by ErwinK
this problem occurs after 'multiple add'. After apply you detect the problem if no thumb is made from the added photo.

I don't receive any error message.
Also checked the permissions and owner of the files, but no errors found.

Is there any way to trace failures within Phoca Gallery?

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 22:51
by Jan
do you have enabled the php error messages...

Phoca Gallery should return error messages... except the error is a fatal error (fatal errors cannot be handled)

so if you don't get any error message, maybe there is some fatal error which is not displayed ... ???

Jan

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 23:05
by ErwinK
re: php error reporting
I have in J! Global Configuration, Server, Error Reporting at Maximum.

After a retry, still no errors.

re: memlimit, I have 128MB at php.ini set.

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 23:14
by ErwinK
My mistake..

In the configuration of Phoca gallery apparently ' Enable Thumbnails Creation' was set to NO .
How this has happened I have no idea, but after changing it to YES the thumbs are created.

Thanks for all the help. I feel like an idiot. Sorry I can't help the other users.

Re: Automatic Thumnail creation doesnt work

Posted: 29 Jul 2008, 23:41
by Jan
Great to hear, it works...

Jan