picasa.inc uses the variable $url_to_fetch, which contains the user defined url of their Picasa gallery. This variable may have had its arguments changed from ampersands (&) to ampersand escapes (&) - presumably by an input filter, but I didn't check this. This results in the HTTP request to Picasa to failing, returning a 404 Not Found error, and ultimately, no gallery being displayed.

I'm unsure if this is the correct way to solve the issue, but inserting

$url_to_fetch = str_replace("&", "&", $url_to_fetch);

into line 36 resolves this issue. I've attached a patch, which was rolled against latest 6.x-4.x-dev from CVS.

Comments

Aeternum’s picture

Assigned: Aeternum » Unassigned
mokko’s picture

I inserted the new line manually in v3.6 and it solved my problem. Before that I could only get one picasa gallery to work. Now both of them work. Great work!

Have been using it all day and it works fine!

mokko’s picture

Status: Needs review » Reviewed & tested by the community
karlschneider98’s picture

Does this code snippet replace the code on line 36?
When you say insert, I am not sure what this means.
Inset in [addition to] the code that is there already or replace?
Can you please clarify?
Thank you.

mokko’s picture

StatusFileSize
new3.86 KB

attached is my manually patched picasa.inc. It still works brilliantly... I hope this answers your question for v3.6.

karlschneider98’s picture

Thanks you Maurice. [Danke schön Maurice]
Worked perfect.