As mentioned previously, UBBCGI is not UBB.Classic; the two may have similar URL structure, but they are not the same. The re-director scripts shouldn't be used in this instance as it is not a UBB.Classic install, so existing URLs won't properly parse to their proper location for this users bookmarked/search engine links.
He is using UBB.classic from 2003. See also Isaacs post here:
https://www.ubbcentral.com/forums/u...m-a-really-really-old-version#Post261747Anyway, I just tried UBB.classic on my server setup and there are indeed three issues. The main problem is the use of the deprecated "defined @" method in carp.pm module.
Here the fixes:
1) Open cgi-bin/Modules/UBBCGI/Carp.pm
Replace line 321:
if(defined @{"${prevpack}::ISA"});
with:
if(@{"${prevpack}::ISA"});
Replace line 329:
if(defined @{$pack . "::ISA"}) {
with:
Replace line 353:
if(defined @{$pack . "::ISA"});
with:
2) Open ultimatebb.php
Remove line 55:
set_magic_quotes_runtime(0);
Replace line 90:
$query_string = split('[;&]', trim($qs));
with:
$split = (strpos( $qs, "&") ) ? "&" : ";" ;
$query_string = explode($split, trim($qs));
Replace line 109:
$pathinfo = split('\/', trim($pi));
with:
$pathinfo = explode('/', trim($pi));
3) Open Templates/public_faq.pl
Replace line 18:
my $short = %$vars_graemlins->{'origs'}->{$item};
with:
my $short = %$vars_graemlins{'origs'}->{$item};
Replace line 34:
my $short = %$vars_graemlins->{'graems'}->{$item};
with:
my $short = %$vars_graemlins{'graems'}->{$item};