Page 1 of 2

Can't create connection with Picasa

Posted: 23 Sep 2010, 11:45
by GabIvan
Hi guys.

My server runs PHP 5.2.6.
allow_url_fopen and json_decode are enable.
Phoca gallery version is 2.7.5.

When I try to connect with one album, the component always returns my this message:
"Connection to Picasa not created. There are connection problems or the Picasa User was not found. Check the User field. Check if the album is published. If it is not published but unlisted, check your authentication key."

The link to my album is http://picasaweb.google.com/bvb.anno2010.

I try to load different albums that are Published. For example for the album named Meeting Zonale I typed in Album Name field the word "MeetingZonale". I just copy it from the url bar.
In User field I wrote "bvb.anno2010".

I also try with "bvb.anno2010" but nothing happened.

What It could be the problem?
Thank you.

Re: Can't create connection with Picasa

Posted: 23 Sep 2010, 13:04
by Jan
Hmmm, got no problems with:

user: "bvb.anno2010"
album: "MeetingZonale"

All 75 images was imported :-( :idea: :idea: no idea what can be wrong there ?
Image

Re: Can't create connection with Picasa

Posted: 23 Sep 2010, 13:15
by GabIvan
This is the output of information tabs of phoca gallery.
Image
The function exif_read_data() is disabled but It's not mentionated in the Picasa importing documentation.

Re: Can't create connection with Picasa

Posted: 23 Sep 2010, 13:46
by Jan
Hi, mostly if there will be problem with JSON, cUrl or allow_url_fopen then you will get an error message about this problem.

The error message is comming because the server is not able to load the basic information fro Picasa. Maybe there are some limit or restricting settings on the server ??? Maybe try to use it with Authentication Key ??? :idea:

Re: Can't create connection with Picasa

Posted: 23 Sep 2010, 13:57
by GabIvan
I set the Authentication Key and the message error changed into:
"Picasa Album not found. Check the Album field."

but the name of album is right.

Re: Can't create connection with Picasa

Posted: 23 Sep 2010, 17:01
by Jan
Seems like this is still problem with connecting and getting the info from Picasa server :idea:

Do you have the possibility to check it e.g. on your localhost. I have tested it on my localhost and test server and got your album without any problems. :-(

Re: Can't create connection with Picasa

Posted: 23 Sep 2010, 17:35
by GabIvan
Ok. Now I'm trying on localhost.

Re: Can't create connection with Picasa

Posted: 23 Sep 2010, 18:33
by GabIvan
It works on localhost... :evil:

Re: Can't create connection with Picasa

Posted: 24 Sep 2010, 01:05
by Jan
No sure, but seems like on the server will be some security settings to connect external server (site) :idea:

Re: Can't create connection with Picasa

Posted: 24 Sep 2010, 13:07
by GabIvan
I asked to the hosting service and they want to know what is the number of port used to connect with picasa.