PDA

查看完整版本: 已解決 意外的 "(T_ENCAPSED_AND_WHITESPACE), 預期識別碼 (T_STRING) 或變數 (T_VARIABLE) 或數位 (T_NUM_STRING) 在 class_core (4688) eval () 代碼1行



dong
16-11-17, 14:17
W logu 阿帕奇 co jakiś czas pojawiają się takie błędy:

[Thu Nov 16 13:28:57.206922 2017] [:error] [pid 67811] [client x:23464] PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING)
or variable (T_VARIABLE) or number (T_NUM_STRING) in /usr/includes/class_core.php(4688) : eval()'d code on line 1, referer: http://www.forum.alfaholicy.org/147_156_166_gt/21097-jtd_nowy_program_diagnostyczny_tylko_obslugi_jtd_-32.html?language=es
僅在顯示執行緒內容的頁上出現錯誤。只有帶有語言的頁面。在原始語言錯誤不存在。當我從您的瀏覽器到日誌的 url 這個錯誤不會出現-我不能單獨生成此錯誤。檔 class_core 我有在原來的。class_core 的塊. php:

//This global statement is here to expose $vbulletin to the templates.
//It must remain in the same function as the template eval
global $vbulletin;
extract($this->registered, EXTR_SKIP | EXTR_REFS);

$actioned = false;
($hook = vBulletinHook::fetch_hook('template_render_output')) ? eval($hook) : false;

if (!$actioned)
{
$template_code = self::fetch_template($this->template);
}

if (strpos($template_code, '$final_rendered') !== false)
{
eval($template_code);
}
else
{
eval('$final_rendered = "' . $template_code . '";');
}

if ($vbulletin->options['addtemplatename'] AND !$suppress_html_comments)
{
$template_name = preg_replace('#[^a-z0-9_]#i', '', $this->template);
$final_rendered = "\n$final_rendered\n";
}

return $final_rendered;

4688線是:

eval('$final_rendered = "' . $template_code . '";');

vBET
18-11-17, 23:14
你能提供錯誤的頁面的完整的 URL 嗎?在崗位被切開。我想看看他們是否是可見的附加資訊頁面。目前我所知道的是, 一個 templejt 有一個 bug, 但它不知道如何和是否實際與 vBET。我想是這樣, 如果這只發生在翻譯的頁面上, 但它仍然只是一個猜測, 因為如果有時發生錯誤, 它有時也可以翻譯頁面。總之, 現在沒有足夠的資訊。請輸入錯誤發生的頁面的完整 URL。也許會有更多的東西, 如果沒有, 它將有必要添加日誌和列印出一個範本, 有什麼處理, 但沒有什麼可擔心的, 你將需要, 我們將照顧已經。

dong
22-11-17, 22:20
Przykładowy 連結: HTTP://www.forum.alfaholicy.org/159_brera_brera_spider/45063-felgi_kola_159_brera_temat_ogolny-734.html?language=en

vBET
03-12-17, 12:29
Zaglądnij proszę做 PM-potrzebuję informacji, gdzie znajdują się wspomniane 邏輯。

vBET
24-06-18, 10:39
沒有反應-我認為這個問題解決了或無關。順便說一下, 類似的東西拋出另一個用戶端, 所以有一個機會, 這是相同的, 修復將在下一個版本。如果問題仍然困擾, 請提供更多資訊。

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET 4.10.1