Page 1 of 1

Error while loading Picasa pictures in Phoca Gallery

Posted: 02 Apr 2010, 16:37
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

Re: Error while loading Picasa pictures in Phoca Gallery

Posted: 03 Apr 2010, 14:03
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

Re: Error while loading Picasa pictures in Phoca Gallery

Posted: 12 Apr 2010, 14:54
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.

Re: Error while loading Picasa pictures in Phoca Gallery

Posted: 15 Apr 2010, 15:55
by Jan
Ok