Thumbnails are not created

Phoca Gallery - image gallery extension
jakub21
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 31 Jan 2011, 17:02
Location: Poland
Contact:

Thumbnails are not created

Post 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.
jakub21
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 31 Jan 2011, 17:02
Location: Poland
Contact:

Re: Thumbnails are not created

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Thumbnails are not created

Post 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:
If you find Phoca extensions useful, please support the project
jakub21
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 31 Jan 2011, 17:02
Location: Poland
Contact:

Re: Thumbnails are not created

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Thumbnails are not created

Post by Jan »

Hi, I think they cannot affect the database problem. :idea:

Jan
If you find Phoca extensions useful, please support the project
woro
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Dec 2010, 23:15

Re: Thumbnails are not created

Post 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
User avatar
ep98
Phoca Professional
Phoca Professional
Posts: 163
Joined: 12 May 2008, 12:00
Contact:

Re: Thumbnails are not created

Post 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.
woro
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Dec 2010, 23:15

Re: Thumbnails are not created

Post 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
jakub21
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 31 Jan 2011, 17:02
Location: Poland
Contact:

Re: Thumbnails are not created

Post by jakub21 »

That's right. It was all about large dimensions of pictures. Thank you very much for your help.
Post Reply