Automatic Thumnail creation doesnt work
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Automatic Thumnail creation doesnt work
so there can be some problem with your GD library, because if you have 128 MB for php, it is enough
If you find Phoca extensions useful, please support the project
-
tess63
- Phoca Member

- Posts: 18
- Joined: 26 Mar 2008, 12:33
- Location: United Kingdom (Great Britain)
- Contact:
Re: Automatic Thumnail creation doesnt work
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
What is the recommended GD version/minimum requirements for Phoca Gallery? I'm getting my hosting company to look into this.
Thanks - Tess
-
RichardGase
- Phoca Newbie

- Posts: 4
- Joined: 28 Jul 2008, 20:51
Re: Automatic Thumnail creation doesnt work
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
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
-
ErwinK
- Phoca Newbie

- Posts: 6
- Joined: 29 Jul 2008, 22:12
Re: Automatic Thumnail creation doesnt work
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.
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.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Automatic Thumnail creation doesnt work
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
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
If you find Phoca extensions useful, please support the project
-
ErwinK
- Phoca Newbie

- Posts: 6
- Joined: 29 Jul 2008, 22:12
Re: Automatic Thumnail creation doesnt work
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?
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?
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Automatic Thumnail creation doesnt work
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
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
If you find Phoca extensions useful, please support the project
-
ErwinK
- Phoca Newbie

- Posts: 6
- Joined: 29 Jul 2008, 22:12
Re: Automatic Thumnail creation doesnt work
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.
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.
-
ErwinK
- Phoca Newbie

- Posts: 6
- Joined: 29 Jul 2008, 22:12
Re: Automatic Thumnail creation doesnt work
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.
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.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Automatic Thumnail creation doesnt work
Great to hear, it works...
Jan
Jan
If you find Phoca extensions useful, please support the project