Page 1 of 1

uploaded pics can't be shown / creating thumbnails fails

Posted: 18 Jun 2009, 16:56
by Wisi
hello,

installed the phoca gallery and all worked like expected.

now to the problem:

the content of the uploaded pictures is not shown in the control panel under pictures and thumbnails aren't created. didn't change anything else, just uploaded two pictures for testing purposes and did everything the manual said. gallery is shown on the homepage but without displaying the pictures.

got no error msg or something like that. thumbnail creation starts but never creates thumbnails (folder for thumbs is created). is there a logfile to check for errors?

tested permissions via ftp and set them to 755 -> not working

edit: while rotating the pictures I get "error 2". maybe this could help for finding the failure.

Re: uploaded pics can't be shown / creating thumbnails fails

Posted: 18 Jun 2009, 21:01
by Wisi
tested everything in the user manual and faq. but didn't find an error on my side. maybe somebody could give me a hint?
I think it's a permission thing but the permission is 755 like in the manual said.

Re: uploaded pics can't be shown / creating thumbnails fails

Posted: 19 Jun 2009, 09:30
by Wisi
after analysing we came to the question: how much ram does the process of thumbnail creation take? my hoster limits this to 40 MB

maybe this could be the problem?

Re: uploaded pics can't be shown / creating thumbnails fails

Posted: 19 Jun 2009, 09:32
by caro84g
Hi,

it depends on your server config if 755 works. It should work with the FTP layer enabled.
If it doesn't work, you can test with 777. This means that everyone is allowed to write to your folders, so it is very insecure!

If you had no problems installing it shouldn't be the problem. Phoca creates only 3 thumbs at the time and start another HTTP request.

Regards, Carolien

Re: uploaded pics can't be shown / creating thumbnails fails

Posted: 19 Jun 2009, 09:55
by Wisi
thank you for your answer. we've already tested this, was not the solution.

could you say something about the demand of ram?

edit: tested with smaller size pictures and everyhting is working. should have tested this before :x . maybe you could put this in the faq, too ;)

how much ram should be available for phoca gallery? 40 MB seems to be to small.

Re: uploaded pics can't be shown / creating thumbnails fails

Posted: 19 Jun 2009, 17:16
by Jan
Hi, I am running Phoca Gallery with 8MB on localhost and 12MB on servers. Phoca Gallery needs more ram if it send request to GD library on server (while thumbnail creation). Then GD needs more ram and the script tries to increase the ram on 50MB, After creating thumbnail, it set the ram requirements back to default value.

Re: uploaded pics can't be shown / creating thumbnails fails

Posted: 19 Jun 2009, 17:33
by Wisi
ok
then it is clear, my provider needs to set a limit of 50 MB, then it should be no problem.

thank you for the support. and maybe it's worth an entry in the faq ;)

Re: uploaded pics can't be shown / creating thumbnails fails

Posted: 19 Jun 2009, 17:42
by Jan
Hi, as Joomla! needs to have enabled ini_set method, then it is not needed to increase memory because of Phoca Gallery, because it does it for itself