No problem you know me. With the tablewrappers and such on my site I can't afford to have a program with html mistakes as my site would look all wacky.
Everything should validate now except the favorites.
The offending line which points to the redirection script is this in show_favorites
If you look at that file contents you can see it also calls the main.inc.php file but to my knowledge the links program already does this.
Here is the redirect file.
// -------------------------- // Update the total number of hits for a link.
require ("../main.inc.php");
$query = "UPDATE {$config['tbprefix']}links_links SET hits = hits+1 WHERE lid = '$lid' "; $update_hits = $dbh -> do_query($query);
header ("Location: $url");
I have tried taking out the require and the header location statement. Maybe someone will spot something obvious but I think the error looks to me like the main.inc being called twice.
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.