Favourites module error

BillWill

Joined: 2008-08-28
Posts: 205
Posted: Mon, 2012-04-30 19:20

Been trying out the Favourites module, and am finding it handy, and would like to release it to the users.

Sometimes, when a photo is added as a favourite, the page with the photo being added is returned, with the star graphic highlighted as intended. However, most of the time it instead generates a white page with this message:

{"result":"success","favourite":true,"hasfavourites":true,"title":"Remove from favourites"}

In either case, the photo has been added successfully, but I can can see how it would be confounding to visitors trying to add their own favorites.

There was a similar issue mentioned here:
http://gallery.menalto.com/node/95436
but it doesn't appear that it was corrected.

===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme

Toolkits = Exif, Gd, ImageMagick

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-05-01 03:29
Quote:
{"result":"success"

this usually means that Javascript did not loaded fully or not there at all. Any JS errors?
I have never used the module so the author might have a better idea.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team