donJulio found a bug in regards to a particular link that would not redirect.
The problem resides in the url link itself http://infopop.univision.com/2/OpenTopic?a=frm&s=864094322&f=33259689241 . Using a GET request, PHP is stripping the url where it thinks it's supposed to assign a variable i.e. the letter s is now $s and f is $f. Since the entire url needs to remain intact and treated as a string I came up with the following solution. This should also solve any other urls with this same type of problem. If anyone can come up with a more efficient way let me know.
Open links_redirect.php and find:
$update_hits = $dbh -> do_query($query);
Add the following just below it:
$query = " SELECT * FROM {$config['tbprefix']}links_links WHERE lid = '$lid' "; $geturl = $dbh -> do_query($query); $row = mysql_fetch_assoc($geturl);
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.