You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '_wedding/karen_and_ben_8.26.06/44360001__small_.JPG' WHERE id = '2'' at line 1
guessing there is a function in plog-manage.php that tries to update the directory name in mysql, but does not add slashes to the name, so a gallery name with ' in it causes an error
ok yeah i have no idea. i see that the mysql_real_escape_string is already added where it needs to be, so i have no idea. This is the area of code i'm looking at in plog-admin-functions.php, in the update_album function:
// proceed only if rename succeeded $query = "UPDATE ".$TABLE_PREFIX."albums SET name = '$name', description = '$description', thumbnail_id = '$thumbnail_id', path = '$target_name' WHERE id='$album_id'";