WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] How to update database from very old NexGen Galery (1.0.2) to latest? (2 posts)

  1. mmv-ru
    Member
    Posted 1 year ago #

    I don't see any update requests, but unable to upload new images.
    In debug mode i can see errors

    WordPress database error: [Unknown column 'image_slug' in 'field list']
    SELECT image_slug FROM wp_ngg_pictures WHERE image_slug = 'crw_9062_2' AND NOT pid = 0 LIMIT 1

    WordPress database error: [Unknown column 'image_slug' in 'field list']
    INSERT INTO wp_ngg_pictures (image_slug, galleryid, filename, description, alttext, meta_data, post_id, imagedate, exclude, sortorder) VALUES ('crw_9062_2', 92, 'crw_9062_2.jpg', '', 'crw_9062_2', '', 0, '0000-00-00 00:00:00', 0, 0)

    WordPress database error: [Unknown column 'tt.image_slug' in 'where clause']
    SELECT tt.*, t.* FROM wp_ngg_gallery AS t INNER JOIN wp_ngg_pictures AS tt ON t.gid = tt.galleryid WHERE tt.image_slug = '

    WordPress database error: [Unknown column 'meta_data' in 'field list']
    SELECT meta_data FROM wp_ngg_pictures WHERE pid = 0

    WordPress database error: [Unknown column 'meta_data' in 'field list']
    UPDATE wp_ngg_pictures SET meta_data = 'a:16:{i:0;b:0;s:8:\"aperture\";b:0;s:6:\"credit\";b:0;s:6:\"camera\";b:0;s:7:\"caption\";b:0;s:17:\"created_timestamp\";b:0;s:9:\"copyright\";b:0;s:12:\"focal_length\";b:0;s:3:\"iso\";b:0;s:13:\"shutter_speed\";b:0;s:5:\"flash\";b:0;s:5:\"title\";b:0;s:8:\"keywords\";b:0;s:5:\"width\";N;s:6:\"height\";N;s:5:\"saved\";b:1;}' WHERE pid = 0

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

  2. mmv-ru
    Member
    Posted 1 year ago #

    I do it over 1.9.8 as intermediate version.
    I think it must be in install or FAQ

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic