Page 1 of 1

error message Warning: getimagesize - phocagallery.php on li

Posted: 07 Nov 2008, 23:35
by jannemann
hi jan,

my name is jan from germany. i love the phoca gallery. i am getting very sad because after re-installing three times there will be no picture shown in the front. when i click on one picture the following error message apperas:

Code: Select all

Warning: getimagesize(/is/htdocs/wp1107684_22291H08EN/www/images/phocagallery/thumbs/phoca_thumb_l_252-2422.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /is/htdocs/wp1107684_22291H08EN/www/administrator/components/com_phocagallery/helpers/phocagallery.php on line 43
please help me. thank you very much.

with best regards,
jan

Re: error message Warning: getimagesize - phocagallery.php on li

Posted: 08 Nov 2008, 00:06
by Jan
Hi, see if the thumbnail exists in the folder and see the permissions of this file...

Jan

Re: error message Warning: getimagesize - phocagallery.php on li

Posted: 08 Nov 2008, 00:31
by jannemann
hi jan,

there is no thumbnail created. i can upload the files via phoca...

best regards,
jan

Re: error message Warning: getimagesize - phocagallery.php on li

Posted: 08 Nov 2008, 16:42
by Jan
so there are some problems with permissions or ownership of files on your site.. GD creates thumbnails but this cannot be read because of permissions or ownership :-(

Jan

Re: error message Warning: getimagesize - phocagallery.php on li

Posted: 14 Nov 2008, 21:07
by Jnewton
Jan,

I've used an earlier version of you gallery on another site and it is working just fine. It needs to be updated, but at present it is working just fine, so I'm not touching it.

I'm currently trying to use Phoca on our photography club's web site but I'm having the same problem. I upload the images via FTP to the various directories for the gallery. I then add the images from the directories, but no images are showing. I see a file called thumb.db in one of the sub-directory but not in the others.I try and delete the thumb and recreate, I get the blue bar that says its been done, but noting is coming up.

If it is a permission issue, what should the permissions be set to? Currently, the directory is set to 755 and the files all seem to be automatically set to 644. Should these be different, and is so what?

Best regards,
John Newton

Re: error message Warning: getimagesize - phocagallery.php on li

Posted: 14 Nov 2008, 22:02
by Jnewton
Found the problem!! In the parameter settings I needed o enable creating the thumbnails. Works like a champ.

Re: error message Warning: getimagesize - phocagallery.php on li

Posted: 15 Nov 2008, 00:28
by Jan
:wink: