You need to be logged in for one as this is an administration thing. Your second screenshot shows you trying to run the install script not logged in
I see in screen 1 where you show your gallery directory. Did you upload the contents of the forums directory from our downloaded code into your webroot since that is where your forum is installed?
If I try and run that file I get the
vb login box to log in as admin.