• Resolved f00f

    (@f00f)


    I just installed ngg 1.8.4 on a fresh wp 3.2.1.

    When I try to upload a ZIP file with images it says
    “Database error. Could not add gallery!”

    The webserver logs show
    “[19-Nov-2011 19:05:53] WordPress-Database-Error Field ‘slug’ doesn’t have a default value for the query INSERT INTO wp_ngg_gallery (name, path, title, author) VALUES (‘****’, ‘wp-content/gallery/****’, ‘****’, ‘1’) from do_action, call_user_func_array, nggAdminPanel->show_menu, nggAddGallery->__construct, nggAddGallery->processor, nggAdmin->import_gallery”

    I’d say the error occurs in the function import_gallery in file ngg/admin/functions.php, where no value for slug is provided (line 173).

    What’s the best way to fix this?

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] Bug in ZIP-Upload’ is closed to new replies.