Solution: Nextgen display types disappeared
-
For some reason my NextGen 2.1.0 install broke: it did not show the display types anymore, causing every page to show ‘Invalid’ instead of a gallery. Probably this was the result of using a database cleanup tool a bit too rigorously.
I found out there is no easy way to restore the database settings. Reinstalling the plugin will not change anything in the database. Even deleting it will not remove all the settings.
But after some investigation I found the following solution, which will work for most database-related issues, I guess. This procedure resets some database options but keeps all the picture-, gallery- and albumdata. In my case, the Options page for the different display types was unusable so I did not have to go over those.
0. Go to NextGen Gallery main page and note the number of pictures, galleries and albums. You also might want to check the Options pages for any specific settings.
1. use MyPHPAdmin or another tool to export the 3 specific NGG tables wp_ngg_album, wp_ngg_galleries and wp_ngg_pictures (I simply chose a .sql export per table)
2. Go to Gallery > Other options and choose Reset Options
3. Press ‘Reset all options to default settings’
4. Go to Plugins and deactivate NextGen Gallery (optional, for safety)
5. use MyPHPAdmin or another tool to re-import the 3 .sql files into the respective tables
6. Activate NextGen Gallery (if you deactivated it in step 4)
7. Check the NextGen Gallery main page if it displays the same number of pictures and galleries as there were in step 0.
8. Reconfigure NGG on the Options page to your preference.Hope this helps others with the same issues.
- The topic ‘Solution: Nextgen display types disappeared’ is closed to new replies.