PDA

View Full Version : Cannot redeclare Problem


Xelation
07-25-2003, 02:44 AM
After installing vbhome lite.. I set my settings and then recieved the following error...


Fatal error: Cannot redeclare archive_nopermission() (previously declared in /home/fusionf/public_html/global.php:378) in /home/fusionf/public_html/forum/admin/functions.php on line 2721


Here is Global.php for the main page..


exit;
}

function archive_nopermission()
{
global
$homeheadinclude,$homenewpm,$bbtitle,$bburl,$homet itle,$homeurl,$titleimage,$copyrighttext,$vbhlvers ion,$versionnumber;

$metakeytags = '';


This is line 379


global



Here is admin/functions.php


}
// ###################### Start archive_nopermission #######################
function archive_nopermission()
{
global $headinclude,$headnewpm,$bburl,$bbtitle,$homeurl,$ hometitle,$titleimage,$copyrighttext,$versionnumbe r;



This is line 2721


function archive_nopermission()


can anyone help me with this? I'm guessing I have to delete one of these?

function archive_nopermission()

but which?

Xelation
07-25-2003, 03:00 AM
reply nevermind, I figured it out.. I had installed tecks archive hack before hand.. I just needed to delete all the archive sections in the global.php file :)

bozzy
12-08-2003, 04:14 AM
oh, i have the same problem, and i also have the archive hack installed...why cant he make his hacks work together? sheesh

bozzy
12-08-2003, 04:21 AM
this is bull++++, there are no archive settings in the global.php file, what gives? i uninstalled the archive hack but this problem with vbhome still persists!!!!!

bozzy
12-08-2003, 04:24 AM
I just downloaded a fresh copy of global.php and this error still persists!!! why couldnt you have gone into more detail about how you fixed it????? come on