Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Tried to Uninstall/Reinstall and Tables are not Created

  • sndinc

    (@sndinc)


    I installed this plugin to see if it was going to do what I wanted. After messing around with it a bit, i wanted to start using it but I wanted to reset my ID numbers and data. So I deactivated the plugin from the dashboard, uninstalled the plugin from the Plugins area of the Dashboard and selected to Delete the file, and I dropped the 3 tables with ngg in them via MyPHPAdmin. So then, I used the Dashboard to re-install the plugin and then activate it. I get no errors that I can see and if I go to the Gallery section in the Dashboard, everything seems fine except I can’t add any galleries. I noticed in MyPHPAdmin I have no tables. I was expecting them to be created again when I re-installed but that didn’t happen. So, I guess I need to know what I need to do to completely uninstall the plugin, so I can re-install it and have it install completely.

    WordPress 3.8.1 and I’m installing from Dashboard (version 2.0.58)

    Thanks for the help.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • tizz

    (@tizz)

    @sndinc You can try this.
    – Deactivate Nextgen via admin.
    – Via FTP remove the entire Nextgen folder in /wp-content/plugins directory. Remove also completely the gallery folder from /wp-content directory (do a backup first if you don’t have any copy of your original images).
    – Even if in MyPHPAdmin you don’t see tables, try anyway this query:
    DROP TABLE wp_ngg_album;
    DROP TABLE wp_ngg_gallery;
    DROP TABLE wp_ngg_pictures;
    (If you had wp_ as prefix) – Do an entire DB backup first
    – Back to admin, remove also any reference to Nextgen (pages, posts, shortcodes, etc.)

    Thread Starter sndinc

    (@sndinc)

    That’s pretty much exactly what I did…
    Aside from “Back to admin, remove also any reference to Nextgen (pages, posts, shortcodes, etc.)”. Not sure what you mean by that exactly.

    When I was testing out the plugin I didn’t really create any pages that I am aware of but that may not be true.

    So after I have everything cleared out (or at least I think I do), I try to reinstall the plugin. I have done it via the “add new” option from the Dashboard and I have just uploaded it and activated it. In both cases, the install looks successful. I go to add my first Gallery, the pop-up comes up, I put the name in and save. It looks successful but it never is actually added. After it goes back to the Manage Galleries page, there is nothing there.

    So I went to MyPHPadmin and I see the tables were never created for ngg.

    It is like when I activate the plugin now it thinks everything is there so it doesn’t create anything. I have no clue what to do at this point. =(

    Thread Starter sndinc

    (@sndinc)

    Oh… based on another post I saw about clearing your cache. I also tried installing from a completely different browser (instead of clearing cache) and had the same problem.

    mooremsbos

    (@mooremsbos)

    I’m having exactly the same problem after uninstalling and re-installing.

    Plugin Contributor photocrati

    (@photocrati)

    @sndinc – You may also need to clean out the NextGEN Gallery related entries in the following tables: wp_options, wp_postmeta, and wp_usermeta

    – Cais.

    Thread Starter sndinc

    (@sndinc)

    @sndinc – You may also need to clean out the NextGEN Gallery related entries in the following tables: wp_options, wp_postmeta, and wp_usermeta

    – Cais.

    That looks like a lot of data… and quite honestly, a very dangerous thing to try and delete. Do you have any more specific info to provide?

    Is there a way to import the ngg tables again some how… maybe that is the easier fix. I don’t need the old data… but I need the structure to be correct.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Tried to Uninstall/Reinstall and Tables are not Created’ is closed to new replies.