WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Bug in ZIP-Upload (3 posts)

  1. f00f
    Member
    Posted 2 years ago #

    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/

  2. Alex Rabe
    Member
    Posted 2 years ago #

    Thanks for te report, will look into it

  3. Alex Rabe
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.