Once again - problem with thumbnail-creation

Phoca Gallery - image gallery extension
Silberchen
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Mar 2011, 18:36

Once again - problem with thumbnail-creation

Post by Silberchen »

Hi,
I installed phoca on my joomla 1.5.20-Page.
There is one category that contains 6 pics.
In the beginning 3 of them got thumbnails, after some tries in recreation and re-installation these disappeared, and now there are no thumbnails at all.
Whenever I click "recreate", it takes a moment, then the page is reloaded with the message "Thumbnail deleted and recreated". But it isn't, the thumbs-folder is empty.

I searched through this forum, and tried many things, but no hint seems to work.
I tried:

Checking, if GD is activated. Here are the settings:

Code: Select all

GD Support 	enabled
GD Version 	bundled (2.0.34 compatible)
FreeType Support 	enabled
FreeType Linkage 	with freetype
FreeType Version 	2.3.5
T1Lib Support 	enabled
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XBM Support 	enabled 
Checking for memory:

Code: Select all

memory_limit	25M
The pics (jpg) are about 800kb max, the first pics to be created were the larger ones.

I use the slideshow-Plugin, and when I set the settings to "show original size", the pics are shown (though, of course, cropped)
Permission for the /thumbs -folder is 755

The page is this one: http://www.plattsnacker-grafhorn.de


I don't know what else could be wrong. If I missed a thread that contains the solution, please be so kind and tell me about it. Thank you
Stefanie

P.S.
I am a super-admin, by the way, because being only admin could cause this problem, too.
Last edited by Silberchen on 24 Mar 2011, 10:00, edited 1 time in total.
jbx
Phoca Enthusiast
Phoca Enthusiast
Posts: 66
Joined: 19 Apr 2009, 19:18

Re: Once again - problem with thumbnail-creation

Post by jbx »

I have the the same above regarding GD ....

I get the red stop thumbnail... in the top right

I will say it is frustrating, i haven't done much because every time I go to load a pic it doesn't work right.

anyways... what else could it be?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49198
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Once again - problem with thumbnail-creation

Post by Jan »

Hi you should enable php error reporting, maybe you get more detailed info from php.

Jan
If you find Phoca extensions useful, please support the project
Silberchen
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Mar 2011, 18:36

Re: Once again - problem with thumbnail-creation

Post by Silberchen »

I set the error reporting to maximum (in Site - Configuration - Server; hope that was the correct place?).
When I try to create the thumbnails, no error is reported at all. Or is there any errorlog where I could look? I only checked the site that was loaded after creating the thumbnails.

If someone has a look at my page right now and wonders why the slideshow works: I uploaded small pictures and use the orgininal size.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49198
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Once again - problem with thumbnail-creation

Post by Jan »

If you find Phoca extensions useful, please support the project
williamconifer
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Apr 2011, 21:40

Re: Once again - problem with thumbnail-creation

Post by williamconifer »

Hey I'm having the same problem.

Here is the error I am getting.

Fatal error: Out of memory (allocated 64749568) (tried to allocate 19008 bytes) in /home/xxxxxxxx/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

I have increased the memory_limit to 250 meg. (I know that's high but I wanted to be sure).

To be clear, If I have enabled thumbnail creation in parameters, I will get this error when I click on the Files tab in Phoca Gallery. This is really frustrating my client.

Thanks
Jack Hughes
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49198
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Once again - problem with thumbnail-creation

Post by Jan »

Hi, which size the image have. GD libraries on the server normally work with images up to 2MB (3MB)?
If you find Phoca extensions useful, please support the project
williamconifer
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Apr 2011, 21:40

Re: Once again - problem with thumbnail-creation

Post by williamconifer »

Thanks for the reply Jan.

I have set the upload limit to 64 meg.

I could understand this concern if the error was happening when I was uploading images but it's not. The error occurs when I have the phoca config set to auto create thumbnails and I then go to the Images tab. I get a white page with this error.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49198
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Once again - problem with thumbnail-creation

Post by Jan »

Hi, the uploading is not a problem (64mb for upload does not have any relationship to memory needed by GD library while creating thumbnails)

Example (really only example): for 2MB large image you need e.g. 50MB of RAM (on your server) to create thumbnail

So this is why you got the problems while thumbnail creating when GD on your serve was working.

Jan
If you find Phoca extensions useful, please support the project
cvoogt
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 08 Oct 2010, 15:00

Re: Once again - problem with thumbnail-creation

Post by cvoogt »

I am getting this same issue. I have php.ini configured to show all errors, and Joomla is configured for maximum error reporting. I get no errors, but only the first of each batch of thumbnails ever gets created. My memory_limit is 128 mb and the maximum size of any of my images is under 100 Kb per image. So file sizes and memory should also be no problem. It's not a permissions issue ... it *does* create the first image in the batch .. just not any others!

Running Phoca Gallery 2.7.5.
Post Reply