Unknown Errors

Phoca Gallery plugins - plugins for Phoca Gallery extension
bhale723
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 27 Apr 2011, 02:27

Unknown Errors

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

Re: Unknown Errors

Post by Jan »

Hi, try to check path to your files, try to check the permissions and ownership of files and folders on your server :idea:

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
If you find Phoca extensions useful, please support the project
adriana252
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 Sep 2011, 10:47
Contact:

Re: Unknown Errors

Post by adriana252 »

I've checked everything you adviced historic Mainstreet Inn, but still I get this strange errors.... :x
What about you bhale723?
Last edited by adriana252 on 01 Jul 2013, 16:11, edited 3 times in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48676
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unknown Errors

Post by Jan »

Hi, did you found the the file on the server which is the path displaying?
If you find Phoca extensions useful, please support the project
ciobanu
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Nov 2009, 23:15

Re: Unknown Errors

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

Re: Unknown Errors

Post 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
If you find Phoca extensions useful, please support the project
Post Reply