Originally Posted by Gizmo
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#Post261747

Anyway, 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:
Code
if(defined @{"${prevpack}::ISA"});


with:
Code
if(@{"${prevpack}::ISA"});


Replace line 329:
Code
	if(defined @{$pack . "::ISA"}) {


with:
Code
	if(@{$pack . "::ISA"}) {


Replace line 353:
Code
if(defined @{$pack . "::ISA"});


with:
Code
if(@{$pack . "::ISA"});



2) Open ultimatebb.php

Remove line 55:
Code
set_magic_quotes_runtime(0);


Replace line 90:
Code
$query_string = split('[;&]', trim($qs));


with:
Code
$split = (strpos( $qs, "&") ) ? "&" : ";" ;
$query_string = explode($split, trim($qs));


Replace line 109:
Code
$pathinfo = split('\/', trim($pi));


with:
Code
$pathinfo = explode('/', trim($pi));


3) Open Templates/public_faq.pl

Replace line 18:
Code
my $short = %$vars_graemlins->{'origs'}->{$item};


with:
Code
my $short = %$vars_graemlins{'origs'}->{$item};


Replace line 34:
Code
my $short = %$vars_graemlins->{'graems'}->{$item};


with:
Code
my $short = %$vars_graemlins{'graems'}->{$item};