Howdy.
I am trying to use PiwigoNG on my android phone. When I log in as an admin, it seems to work fine; I can drill down to the photo level and I have the options to organize albums.
When I log in as a guest though and open an album, all I get is “Error No Data / 12 photos.” Or however many photos are in that album. Permissions are set to public.
What am I doing wrong?
thanks
Piwigo URL: http://kozpics.com
Offline
I assume that by "log in as a guest" you mean you leave both Username and Password fields empty and then tap the Login button. Works fine on my site, but I can reproduce the failure on your site. No idea what gives. Make sure your Piwigo API is available and working for not logged-in users, this quite generic error is thrown by PiwigoNG when the API reponse's image list result has no data. Though I had no problems accessing your API generally.
Offline
Thanks erAck. Right; guest user means not logged in.
I'm kind of a neophyte on this. How do I check that the Piwigo API is available working for not logged-in users?
Kozmo
Offline
It's available at the site's tools/ws.htm to try, which then translates the input to a ws.php webservice call. It looks like it is working generally, but then again I don't know what sequence PiwigoNG is actually executing, or what exactly it expects.
For example, this
https://kozpics.com/ws.php?format=rest&method=pwg.categories.getList
returns the top level albums (categories), and picking one (e.g. the first ID 53)
https://kozpics.com/ws.php?format=rest&method=pwg.categories.getImages&cat_id=53
returns a list of images. So far so good.
I notice that additionally to the pwg.* API hierarchy you also have a piwigo_client.* hierarchy partially overriding calls, which in itself work similar and for this example return the same list, but maybe get in the way somehow? (shouldn't, but..). They seem to stem from [extension by extorn] PiwigoClientWsExts, try to disable that once.
Offline
That PiwigoClientWsExts plugin was required to update to ver15. I temporarily deactivated it at your suggestion and there was no change in Piwigo NG.
I have another Piwigo gallery that works fine in NG. I just noticed that, according NG, its server is still using version 14.5 and was not updated to 15. It has the PiwigoClientWsExts plugin installed.
Does that help understand this or should I post a new message to troubleshoot ver15?
Offline
Sorry, I have no further idea then.
Offline