Page 1 of 1

Thumbnails are not created

Posted: 31 Jan 2011, 21:49
by jakub21
I have a problem with thumbnails - they just stop being created. I had browsed many topics, but the problems were quite far than mine. It started when I accidentally closed the page on which thumbnails (after multiple adding images) were created and then, many of the images were added without thumbnails and option "Allow thumbnails" was been disabled. When I tried to able creating thumbnails and refreshed the page, creating thumbnails started, but after a few time (only small part of the photos was done) the page just cleaned - it was empty, only with "Stop creating thumbnails" link. I retried to do it many times, but it always gone identically (or the empty page appeared on the beginning).

Using Joomla! 1.5.22 and Phoca Gallery 2.7.5

Thank you in advance for your help. I hope I clearly described my problem.

Re: Thumbnails are not created

Posted: 05 Feb 2011, 18:53
by jakub21
Something new, when refreshing the "Images" page with not-thumbnailed photos, there is an error:
Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering
Does it explain anything?

Re: Thumbnails are not created

Posted: 05 Feb 2011, 20:06
by Jan
Hi, it explains, that there is some problem in database, mostly this can be the problem with memory (time), the database has no memory to work. Tryt to check all the recommended settings (view info in PHoca Gallery) and check other extensions on your site, if there is no memory problem :idea:

Re: Thumbnails are not created

Posted: 08 Feb 2011, 17:06
by jakub21
There are two things wrong: cURL and json_decode (should be disabled, but it isn't). Can this effort on creating thumbnails and if yes, how to disable it? I can't find anything in PMA.

Re: Thumbnails are not created

Posted: 13 Feb 2011, 01:13
by Jan
Hi, I think they cannot affect the database problem. :idea:

Jan

Re: Thumbnails are not created

Posted: 16 Feb 2011, 18:01
by woro
Nearly the same problem with my installation:
The galery with "creating thumbnails" worked fine till there was perhaps something wrong with an uploaded file. I dont know it by sure. Nevertheless I got the problem.
When I will go to pictures I see a clear page with the link "disable creating thumpnails". Only by following this Link I can see the pictures but creating thumbnails is now disabled.
When I now enable the function creating thumbnail and refresh the site, then I see the clear page with the link "disable creating thumpnails" again.
My installation: Jommla 1.5.22, Phoca Gallery 2.6.2
The Upgrading Phoca Gallery to 2.7.6 didn't sove the problem.
Is there any hint?
Regards
Wolfgang

Re: Thumbnails are not created

Posted: 17 Feb 2011, 15:53
by ep98
Both of you check files and folder permissions on /phocaimages (or what is called in your installation) via FTP or eXtplorer.
Check Joomla main configuration for enabled cache if is enabled - disable.
Enabled or not go and clear it from the Administration, in case if file or two are not removing, then definitely something is bad with the permissions:
a) contact with the HSP and ask why
b) contact with the HSP for backup (if even is supported)
c) try to change it by hand (backup before any file manipulations)
chmod 666 to be able to overwrite for files
chmod 777 to be able to overwrite, write, delete, create sub-folders for directories.

Re: Thumbnails are not created

Posted: 18 Feb 2011, 14:49
by woro
Thank you for your reply.
I found the solution for my problem.
As I assumed, there was a file with to large dimensions.
The size of the file, which makes the trouble, was only 1.3 MB but the resolution was more than 3072 px.
At the first look I could not see, that the resolution was not right.
After deleting this file, phoca galery works fine again an all thumbnails were created.
Thanks again.
Wolfgang

Re: Thumbnails are not created

Posted: 19 Feb 2011, 11:56
by jakub21
That's right. It was all about large dimensions of pictures. Thank you very much for your help.