one of the first things to check when you have this problem is to make sure you have mysqli instead of mysql in your config.php file.
that fixes this in many cases.
also, if you attempted to use the auto update at any time for 3.1 to 3.2 you really should start over with the database update.
download the complete 3.2.2 package. unzip it, upload the folder named install to the server, delete everything but the index.htm and the htaccess files from the cache folder.
open the store folder and do the same thing.
then, go to yourdomain.com/yourhpbb/install
click on update
keep clicking on update database until you get a screen that says update database only.
click on that and submit.
let it run, it may take a long time, you may have to refresh/restart it, be patient, it could be an hour or more etc.
see if that helps.
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles
OK, so what's the speed of dark?