Ok, I posted a "basic support" question...

But continuing here:

I played with the ultimatebb.cgi script a bit, and found it skips to the Else from the If statement at about line 101:
# If ubb = get_topic we'll redirect to showflat
if ($in{'ubb'} eq "get_topic") {


So I temporarily copied the first
print(qq~Location: $URL...
from line (110) down to where the third line is (117) to see what it would do. The result was a URL without the topic number or any other values from the ubbt_IMPORT_MAP table.

I can't read the code very well, but where and how does the script query the data from the table? It does not look like the query is working.

And might my server have something to block a .cgi script from accessing the MySql database? (The site admin says no.)