Error when i want to see photo's with Phoca

General Forum
jeroen
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Mar 2011, 16:19

Error when i want to see photo's with Phoca

Post by jeroen »

Hello,
When i want to see photo's on my site http://www.vriendenvanhetkalf.nl and i register, the i get the folowing message :

Warning: getimagesize(http://lh3.ggpht.com/_LfyAnx88cmw/TXY0a ... CF0701.JPG): failed to open stream: No route to host in /customers/2/c/e/vriendenvanhetkalf.nl/httpd.www/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php on line 39

Can anyone help me with it

Thanxs
jerome
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error when i want to see photo's with Phoca

Post by Jan »

Hi, this seems like some problem while getting info from the image.

The warning can be disabled with the following code:

getimagesize -> to @getimagesize

in
/customers/2/c/e/vriendenvanhetkalf.nl/httpd.www/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php

Jan
If you find Phoca extensions useful, please support the project
jeroen
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Mar 2011, 16:19

Re: Error when i want to see photo's with Phoca

Post by jeroen »

Hi Jan,

thanks for your reaction ,but where can i find
/customers/2/c/e/vriendenvanhetkalf.nl/httpd.www/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php

sorry for being a nono

thanks jeroen
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error when i want to see photo's with Phoca

Post by Benno »

Hi,
thanks for your reaction ,but where can i find
/customers/2/c/e/vriendenvanhetkalf.nl/httpd.www/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php
/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php
Kind regards,
Benno
jeroen
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Mar 2011, 16:19

Re: Error when i want to see photo's with Phoca

Post by jeroen »

Benno wrote:Hi,
thanks for your reaction ,but where can i find
/customers/2/c/e/vriendenvanhetkalf.nl/httpd.www/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php
/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php
Kind regards,
Benno
When i copy your line ,he gives me al line of restricted acces.
i cant come in this line

regards jerome
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error when i want to see photo's with Phoca

Post by Benno »

Hi,
When i copy your line ,he gives me al line of restricted acces.
i cant come in this line
I'm not sure if I understand you right.
/administrator/components/com_phocagallery/libraries/phocagallery/image/image.php
If you mean this with line, this is a path that you can enter with an FTP-Client like e.g. FileZilla
Enter the root directory of your joomla installation,
enter the folder administator
enter the folder components
and so on...
download the file image.php local to your pc
open image.php with e.g. Editor
make the change Jan recommended:
The warning can be disabled with the following code:
getimagesize -> to @getimagesize
Save!
Upload image.php ( means overwrite the old image.php with the new one)
Kind regards,
Benno
Post Reply