Witam, mam oto taki problem.
Nie wiedzieć dlaczego dzisiaj na forum zaczął wyskakiwać błąd:
Parse error: syntax error, unexpected T_STRING in /home/login/domains/nazwastrony/public_html/forumdisplay.php(968) : eval()'d code on line 8
Unable to add cookies, header already sent.
File: /home/login/domains/nazwastrony/public_html/forumdisplay.php(968) : eval()'d code
Line: 8
Powoduje to, że nie wyświetlają się działy oraz są problemy w swobodnym poruszaniu się na forum.
Tutaj początek kody pliku forumdisplay:
Kod:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.8.4 Patch Level 1
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2009 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE & ~8192);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'forumdisplay');
define('CSRF_PROTECTION', true);
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array('forumdisplay', 'inlinemod', 'prefix');
// get special data templates from the datastore
$specialtemplates = array(
'iconcache',
'mailqueue',
'prefixcache'
);
// pre-cache templates used by all actions
$globaltemplates = array();
// pre-cache templates used by specific actions
$actiontemplates = array(
'none' => array(
'ad_forumdisplay_afterthreads',
'FORUMDISPLAY',
'threadbit',
'threadbit_deleted',
'threadbit_announcement',
'forumhome_lastpostby',
'forumhome_forumbit_level1_post',
'forumhome_forumbit_level2_post',
'forumhome_forumbit_level1_nopost',
'forumhome_forumbit_level2_nopost',
'forumhome_subforumbit_nopost',
'forumhome_subforumseparator_nopost',
'forumdisplay_loggedinuser',
'forumhome_moderator',
'forumdisplay_moderator',
'forumdisplay_sortarrow',
'forumhome_subforumbit_post',
'forumhome_subforumseparator_post',
'forumhome_markread_script',
'forumrules',
'optgroup',
'threadadmin_imod_menu_thread',
)
);
// ####################### PRE-BACK-END ACTIONS ##########################
function exec_postvar_call_back()
{
global $vbulletin;
$vbulletin->input->clean_array_gpc('r', array(
'forumid' => TYPE_STR,
));
// jump from forumjump
switch ($vbulletin->GPC['forumid'])
{
case 'search': $goto = 'search'; break;
case 'pm': $goto = 'private'; break;
case 'wol': $goto = 'online'; break;
case 'cp': $goto = 'usercp'; break;
case 'subs': $goto = 'subscription'; break;
case 'home':
case '-1': $goto = $vbulletin->options['forumhome']; break;
}
// intval() forumid since having text in it is not expected anywhere else and it can't be "cleaned" a second time
$vbulletin->GPC['forumid'] = intval($vbulletin->GPC['forumid']);
if ($goto != '')
{
if (!empty($vbulletin->session->vars['sessionurl_js']))
{
exec_header_redirect("$goto.php?" . $vbulletin->session->vars['sessionurl_js']);
}
else
{
exec_header_redirect("$goto.php");
}
}
// end forumjump redirects
}
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once(DIR . '/includes/functions_forumlist.php');
require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/functions_forumdisplay.php');
require_once(DIR . '/includes/functions_prefix.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
($hook = vBulletinHook::fetch_hook('forumdisplay_start')) ? eval($hook) : false;
// ############################### start mark forums read ###############################
if ($_REQUEST['do'] == 'markread')
{
require_once(DIR . '/includes/functions_misc.php');
$mark_read_result = mark_forums_read($foruminfo['forumid']);
$vbulletin->url = $mark_read_result['url'];
eval(print_standard_redirect($mark_read_result['phrase']));
}
// Don't allow access to anything below if an invalid $forumid was specified
if (!$foruminfo['forumid'])
{
eval(standard_error(fetch_error('invalidid', $vbphrase['forum'], $vbulletin->options['contactuslink'])));
Content Relevant URLs by vBSEO 3.6.0 PL3
Ktoś byłby w stanie wskazać błąd? Z góry dziękuję za pomoc!
S.