This should fix the database errors when launching the upgrade script for the gallery.
edit:
forums/admincp/vbgallery_install.php
About line 869-874
find:
Code:
Content visible to verified customers only.
Replace:
Code:
Content visible to verified customers only.
Try running the update script again.