Warning: getimagesize

Phoca Gallery plugins - plugins for Phoca Gallery extension
yakfishcanada
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Nov 2009, 13:01

Warning: getimagesize

Post by yakfishcanada »

I am trying to get slide show to work at http://www.yakfishcanada.com/test-gallery
At the above URL When I mouse over images, names show, but no images.
When I go to Control Panel>Phoca Gallery Images, a list appears of images, but there are no images and every image has the following warning.

Warning: getimagesize(/home/yakfish/public_html/images/phocagallery/thumbs/phoca_thumb_s_Lake Simcoe Launch-Oct-08_J.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/yakfish/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php on line 54
I have been playing with this for a few days without success. Any help would be appreciated.

Thanks
Wayne
http://www.yakfishcanada.com
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning: getimagesize

Post by Jan »

Hi, I will take a look at it.
Do you have enabled the thumbnail creation? Were the thumbnails created?

Alpha version is a development version. On production sites you should use latest stable - 2.5.8

Jan
If you find Phoca extensions useful, please support the project
yakfishcanada
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Nov 2009, 13:01

Re: Warning: getimagesize

Post by yakfishcanada »

Thanks. I just uninstalled Beta and instaled2.5.8. I have thumbnail creation enabled. On photo gallery imageslist I have boxes with x's in them for images throughout the entire list.
Wayne
yakfishcanada
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Nov 2009, 13:01

Re: Warning: getimagesize

Post by yakfishcanada »

I just went to delete items in gallery ist and thumnail creation started and then I received the flowing message -Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4288 bytes) in /home/yakfish/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 220

If this helps?
Thanks again
Wayne
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning: getimagesize

Post by Jan »

Hi, if you delete some files, and these are used in other category, then some new thumbnails needs to be created...

Check the php memory limits on your site or try to lower size the orignal images from which the thumbnails are created

Jan
If you find Phoca extensions useful, please support the project
yakfishcanada
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Nov 2009, 13:01

Re: Warning: getimagesize

Post by yakfishcanada »

Thanks I will try.
Now I am getting this message when I try to upload & not sure what to do.
Warning: Invalid argument supplied for foreach() in /home/yakfish/public_html/administrator/components/com_phocagallery/models/phocagallerycs.php on line 100
Wayne
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning: getimagesize

Post by Jan »

try to check if all tables were correctly created (in database), if you have rights and permissions to write and read data, see:


https://www.phoca.cz/documents/2-phoca-g ... em-solving
https://www.phoca.cz/documents/50-phoca/ ... y-settings
If you find Phoca extensions useful, please support the project
Post Reply