View Single Post
  #3  
Old 09-08-2009, 02:25 PM
NoKSouLz NoKSouLz is offline
 
Join Date: Feb 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If i copied and pasted the code would any of you be able to pick out whats wrong?

I tried to look myself but failed miserably lmao

--------------- Added 08 Sep 2009 at 23:06 ---------------

First section of the code which is the file that used when it errors:

PHP Code:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # Copyright ? BananaLive Scripts. All Rights Reserved. ############# ||
|| #################################################################### ||
\*======================================================================*/
 
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT''competitions');
if (
$_REQUEST['do'] && in_array($_REQUEST['do'], array('addannouncement''editannouncement''editrules''addteam''editteam')))
{
define('GET_EDIT_TEMPLATES'true);
}
$phrasegroups = array('posting''postbit''user''timezone''global''pm''reputationlevel''search');
$specialtemplates = array(
    
'bbcodecache',
    
'smiliecache',
);
$globaltemplates = array(
    
'editor_clientscript',
    
'editor_css',
    
'editor_jsoptions_font',
    
'editor_jsoptions_size',
    
'editor_smilie',
    
'editor_smiliebox',
    
'tmnt_editrules',
    
'editor_smiliebox_row',
    
'editor_smiliebox_straggler',
    
'editor_toolbar_off',
    
'editor_toolbar_on',
    
'memberinfo_block_visitormessaging',
    
'memberinfo_css',
    
'memberinfo_usercss',
    
'newpost_disablesmiliesoption',
    
'showthread_quickreply',
    
'tmnt_addcomment',
    
'tmnt_cmpt',
    
'tmnt_bracket',
    
'tmnt_cmptlms',
    
'tmnt_cmptlms',
    
'tmnt_cmptlms',
    
'tmnt_index',
    
'tmnt_teamlist',
    
'tmnt_teamlist_bot',
    
'tmnt_teamlist_top',
    
'tmnt_team_won',
    
'tmnt_ladder_edit',
    
'tmnt_index_lbit',
    
'tmnt_index_tbit',
    
'tmnt_ladder_list',
    
'tmnt_ladder_list_bot',
    
'tmnt_ladder_list_top',
    
'tmnt_ladder_cmpt_ddms',
    
'tmnt_ladder_new',
    
'tmnt_newteam',
    
'tmnt_cmptlms_top',
    
'tmnt_cmptlms_bot',
    
'tmnt_comment',
    
'tmnt_createteam',
    
'tmnt_display',
    
'tmnt_displayannouncement',
    
'tmnt_displayrules',
    
'tmnt_displayteam',
    
'tmnt_edit',
    
'tmnt_team_join',
    
'tmnt_editann',
    
'tmnt_editcomment',
    
'tmnt_editplayer',
    
'tmnt_editteam',
    
'tmnt_hof',
    
'tmnt_hof_bot',
    
'tmnt_hof_top',
    
'tmnt_join',
    
'tmnt_ladder_chll',
    
'tmnt_ladder_allchll',
    
'tmnt_ladder_allchll_rm',
    
'tmnt_ladder_allchll_bot',
    
'tmnt_ladder_allchll_none',
    
'tmnt_ladder_allchll_top',
    
'tmnt_ladder_tlchll',
    
'tmnt_ladder_tlchll_bot',
    
'tmnt_ladder_tlchll_none',
    
'tmnt_ladder_tlchll_top',
    
'tmnt_ladder_chllpm',
    
'tmnt_ladder_chll_bot',
    
'tmnt_ladder_chll_top',
    
'tmnt_ladder_cmpt',
    
'tmnt_ladder_cmpt_bot',
    
'tmnt_ladder_cmpt_none',
    
'tmnt_ladder_cmpt_top',
    
'tmnt_ladder_display',
    
'tmnt_ladder_elorating',
    
'tmnt_ladder_join',
    
'tmnt_ladder_insertmatch',
    
'tmnt_ladder_repmatch',
    
'tmnt_ladder_repmatch_top',
    
'tmnt_ladder_repmatch_bot',
    
'tmnt_ladder_submitscore',
    
'tmnt_letter',
    
'tmnt_list',
    
'tmnt_listann',
    
'tmnt_listann_bot',
    
'tmnt_listann_top',
    
'tmnt_list_bot',
    
'tmnt_list_top',
    
'tmnt_new',
    
'tmnt_newannouncement',
    
'tmnt_editcat',
    
'tmnt_newplayer',
    
'tmnt_noannouncements',
    
'tmnt_nocomments',
    
'tmnt_notmnts',
    
'tmnt_playerstats',
    
'tmnt_rules',
    
'tmnt_shell',
    
'tmnt_swapplayer',
    
'tmnt_teammember',
    
'tmnt_teammember_ddm',
    
'tmnt_threadtemplate',
    
'tmnt_ladder_teamchal',
    
'tmnt_ladder_yourteams',
    
'tmnt_nocategories',
    
'tmnt_listcat_con',
    
'tmnt_listcat',
    
'tmnt_newcategory',
    
'pm_newpm'
   
&nbsp;);
$actiontemplates = array(
);
 
require_once(
'./global.php');
require_once(
DIR '/includes/functions.php');
require_once(
DIR '/includes/functions_tal.php');
 
$navbits construct_navbits(array(
        
'competitions.php' $vbulletin->session->vars['sessionurl_q'] => $modname,
        
'' => construct_phrase('Error')
   &
nbsp;));
    eval(
'$navbar = "' fetch_template('navbar') . '";');
 
// #############################################################################
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02081 seconds
  • Memory Usage 1,834KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete