Page 1 of 1
Unknown Errors
Posted: 27 Apr 2011, 02:32
by bhale723
I have this installed on two of my sites using Joomla 1.6 and I am getting these same errors and really don't even know where to start. This is when I go to view the pictures in a categorized view. I don't want to start going in changing code and making the problem worse. Any help is greatly appreciated. Thank You. Errors are Below
Warning: getimagesize(/home/content/32/7637132/html/components/com_phocagallery/assets/images/shadow1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/content/32/7637132/html/components/com_phocagallery/views/category/view.html.php on line 200
Fatal error: Call to a member function getPathway() on a non-object in /home/content/32/7637132/html/components/com_phocagallery/views/category/view.html.php on line 1936
Re: Unknown Errors
Posted: 01 May 2011, 00:09
by Jan
Hi, try to check path to your files, try to check the permissions and ownership of files and folders on your server
Check if this file:
/home/content/32/7637132/html/components/com_phocagallery/assets/images/shadow1.jpg
is located on your server, if no, there were some problem with installing, if yes, then seems like some permissions or ownership problem.
Jan
Re: Unknown Errors
Posted: 29 Sep 2011, 12:15
by adriana252
I've checked everything you adviced
historic Mainstreet Inn, but still I get this strange errors....
What about you bhale723?
Re: Unknown Errors
Posted: 29 Sep 2011, 17:37
by Jan
Hi, did you found the the file on the server which is the path displaying?
Re: Unknown Errors
Posted: 27 Feb 2012, 10:14
by ciobanu
Jan, that folder has shadow1.png and shadow1.gif -- but not shadow1.jpg as you'd mentioned.
We're having the same issue with our image view:
Warning: getimagesize(/home/rosies/public_html/components/com_phocagallery/assets/images/shadow1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/rosies/public_html/components/com_phocagallery/views/category/view.html.php on line 214
Changing the "Image Background Shadow" to "None" (instead of "Shadow1") in the Category View Settings under the Phoca Gallery Options solves the problem (the error no longer occurs)
I'd suggest somewhere in the php that the ".jpg" changes to ".png", or the files are changed to ".jpg" to match the code.
Cheers!
Ciobanu
Re: Unknown Errors
Posted: 29 Feb 2012, 01:31
by Jan
Hi, you can set it in Options ... Setting jpg can be done in case, the theme include jpg images. Mostly themes include png or gif - so just set png in Option of Phoca Gallery:
https://www.phoca.cz/documents/2-phoca-g ... parameters
Jan