Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorsidtheduck
    • CommentTimeNov 24th 2009 edited
     
    greensparky45,

    I'm guessing you have the same issue as another user recently (although I can't find the link to their post at the moment). I believe this fix may work for you as well (and it has been included in the recent SVN trunk of code for the next release).

    Open 'plog-admin/plog-admin-functions.php' and look for the following code on line 808:
    $id = mysql_insert_id();
    and change it to read:
    $id = mysql_insert_id($GLOBALS['PLOGGER_DBH']);

    The reason that this is causing issues is that you most likely have another mysql connection open and the add_album function did not have the optional flag to tell which sql connection to use, so it was returning an empty id.
    Try that out and let me know if it solves the issue.