Is anything displaying in your error logs in your webspace?
Also, is there a reason for such an antiquated system? You may run into issues running any modern script in php4/mysql4 these days, including things not even processing. It's possible that you'll have to try an older build of the UBB to get it to operate with an older setup.