форум vBSupport.ru > vBulletin > vBulletin 4.0.x-4.1.х > Вопросы по vBulletin 4.0.x-4.1.х
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
AleSS
Простоузер
Default Ошибка на форуме! Пустые блоки
0

Parse error: syntax error, unexpected '<' in /home/kaise113/domains/kaiserhof.ru/public_html/includes/block/html.php(89) : eval()'d code on line 1
Вот такая ошибка, как исправить? Из-за этого не работают боковые панельки. а точнее блоки пустые!
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
AleX
Гость
Default

Quote:
Originally Posted by AleSS View Post
unexpected '<'
Ответ.
 
 
AleSS
Простоузер
Default
0

Parse error: syntax error, unexpected $end in /home/kaise113/domains/kaiserhof.ru/public_html/includes/block/html.php(89) : eval()'d code on line 1
странно добавил просто блок php написал в него "кккк" или картинку вставлю и такая ошибка. как исправить очень нужно....
 
 
Fedcomp
На доске почёта
клон maJic
 
banned nax
Default
0

AleSS, забыл добавить:
} на указанной строке, в указанном файле.
 
 
AleSS
Простоузер
Default
0

Quote:
{
if ($this->config['html_type'] == 'html')
{
$content = $this->config['html_content'];
}
elseif ($this->config['html_type'] == 'php')
{
$content = eval($this->config['html_content']);
}
elseif ($this->config['html_type'] == 'text')
{
$content = nl2br(htmlspecialchars_uni($this->config['html_content']));
}

$templater = vB_Template::create($this->config['html_template']);
$templater->register('blockinfo', $this->blockinfo);
$templater->register('content', $content);
return $templater->render();

}
выделена 89 строка
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 01:12 PM.


Powered by vBulletin® Version Free Edition
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...