vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Cannot redeclare Problem (https://vborg.vbsupport.ru/showthread.php?t=55591)

Xelation 07-25-2003 02:44 AM

Cannot redeclare Problem
 
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..

PHP Code:

    exit;
}

function 
archive_nopermission()
{
    global 
$homeheadinclude,$homenewpm,$bbtitle,$bburl,$hometitle,$homeurl,$titleimage,$copyrighttext,$vbhlversion,$versionnumber;

    
$metakeytags ''

This is line 379

PHP Code:

    global 


Here is admin/functions.php

PHP Code:

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


This is line 2721

PHP Code:

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


All times are GMT. The time now is 07:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01116 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete