[Plugin: NextGen Gallery] Database error – Can’t Create Gallery
-
I recently came across an error while trying to create a gallery in the NextGen Gallery Plugin. I found a thread on the exact same topic, but it didn’t quite answer my question. Being that it had been tagged as resolved (3 months ago) I feared I wouldn’t get a response to it.
For your reference, here are the comments on that thread:
Pulk99:
hi,
I’m using wp 2.7 and nextGen gallery 1.0.2, and get following error when trying to upload a zip file into a new gallery:Database error. Could not add gallery!
when I try to create a new gallery, I hit the “Add Gallery” button, the page refreshes but nothing happened.
Tried to deactivate and activate the plugin, no effect. I had no problems before, the gallery was working fine.
alexrabe:
Uninstall the plugin (not only deactive it) and try to upload it again, check also your server error logsMedialive:
I don’t know if this is the same problem, but when I add a first gallery after successful installation, the add images/gallery page goes blank and I can not add anything to the gallery. The gallery is there, I can see it on the server. I just can’t get to it in WordPress.It’s got to have something to do with my host or database. I’m just not sure what to be looking for. Any thoughts?
thanks.pulk99:
@alex
the galleries are actually created on the server, also the images are uploaded and the thumbs are generated.if you say uninstall, you mean the uninstall function in the setup menu of the gallery, right?
How is the best way to restore my galleries after that?pulk99:
ok, finally resolved the issue.I had running wp with a database user with full rights at the beginning, at some point it seems I revoke some privileges (like creating tables, fields,…) from that user.
so after the update of nextgen-gallery the plugin couldn’t add the new fields to the table. that’s why I got the database error.
thanks alex for the help!
Visualadventures:
I tried uninstalling the plug in, reinstalling, that fixed it, but after I uploaded images again, I ended up in the same place. What needs to be done to keep this from happening?CGGURR:
So here’s my post…Alex or pulk99,
I am having the exact same problem as pulk99 had.
Did you just uninstall and reinstall the plugin as Alex suggested? And that’s what fixed it? Or did you do something with your database that fixed it? If so, what did you do?If you uninstalled it, what happened with all of your previously uploaded galleries/images? After you uploaded the plugin again, did it work just the same?
I have a lot of posts each with a ton of images using the Nextgen Gallery plugin and I’m scared that if I uninstall it, it will lose the images, etc.
Thanks in advance for you help!
- The topic ‘[Plugin: NextGen Gallery] Database error – Can’t Create Gallery’ is closed to new replies.