Error while loading Picasa pictures in Phoca Gallery

Phoca Gallery - image gallery extension
djeepee
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Apr 2010, 16:25

Error while loading Picasa pictures in Phoca Gallery

Post by djeepee »

Fisrt, I apologies if I don't respect "forum's user rules", this is the first time of my life I'm posting a message on a forum :-0

I wanted to know if there were a way to use Picasa fonctionnality even if my Php version was 5.1.3RC4-Dev .

This would be very easier to me instead than duplicating all my picasa pics on my in-built personal web site.

I read in the requirement that the php 5.2.0 was needed and with my older php version the message I have is the following:

"Connection to Picasa not created. PHP function json_decode is not enabled."

Than a lot,

JP
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while loading Picasa pictures in Phoca Gallery

Post by Jan »

Hi, it depends not on PHP version but on PHP functions.

Since 5.2.0 the json_decode function is there. But such function can be loaded on the server in previous versions too. This depends on server settings.

So in fact you need these two functions:

- allow url fopen
- json decode

If there are enabed these two functions, then it is OK. If not they needs to be installed or enabled.

If you cannot enable them, you can load the images with help of other server (localhost e.g. - you will build your site on localhost) and then you will move the whole site to your server. (it is difficult but can work)

Jan
If you find Phoca extensions useful, please support the project
djeepee
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Apr 2010, 16:25

Re: Error while loading Picasa pictures in Phoca Gallery

Post by djeepee »

Thanks for the answer.

I'll look after my internet supplier to see if there is a way to enable those 2 functions.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while loading Picasa pictures in Phoca Gallery

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply