NextGEN Gallery
[resolved] XMLRPC method ngg.editAlbum and nggdb::update_album parameters mismatch (2 posts)

  1. vlad13
    Posted 3 years ago #

    I am implementing support for the NextGEN Gallery in my Lightroom plug-in (http://alloyphoto.com/plugins/nextgen/), and I have noticed an issue with invoking the nggdb::update_album() method from nggXMLRPC::editAlbum:

    This is how the method is being invoked:

    $result = nggdb::update_album($id, $name, $preview, $description, $description, $galleries);

    and this is the function declaration:

    function update_album($id, $name = false, $previewpic = false, $description = false, $sortorder = false, $pageid = false )

    Notice the last two parameters - instead of $sortorder and $pageid you are passing the $description (a second time) and $galleries, which causes the SQL update query to fail.

    Could you comment on that? Thanks a lot.

  2. Alex Rabe
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.