hopto menu is working (meaning vars_forums.cgi is probably fine), so I would reupload a fresh copy of ubb_forum.cgi, making sure to upload it in ASCII, and chmodding it to 755

[edit]nm, saw your last post[/edit]

Make sure that files are fresh from the zip file.