WordPress.org

Support

Support » Plugins and Hacks » NextGEN Gallery - WordPress Gallery Plugin » Gallery title and ID out of sync after deleting galleries

Gallery title and ID out of sync after deleting galleries

  • If you delete galleries, the title and ID goes out of sync.

    For example, say I made 5 galleries named with the title { 1, 2, 3, 4, 5 }.
    Then I delete galleries { 2, 3, 4, 5 }.
    The next time I make a new gallery with the title { 2 }, the gallery ID for it will be 6.
    So I have a new gallery with the title { 2 } and gallery ID with { 6 }.

    I’ve been able to temporarily fix this problem manually by going into mysql and changing the “gid” and “galleryid” from “6” to “2”.
    But the problem still persists if make a new gallery because of auto incrementation from some field/table. ( The new gallery will have an gallery ID of 7 ).

    I have to manually change the ID through mysql every time I make a new gallery.

    I’ve already searched the web for answers and found 2 other links addressing similar issues but no solution are listed.

    This plugin is awesome and would like to continue using it but ID syncing is crucial to my installation.

    If I can’t find a solution, I’m going to have to find an alternative.
    Does someone out there know how to fix this problem?

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

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Gallery title and ID out of sync after deleting galleries’ is closed to new replies.
Skip to toolbar