W logu 阿帕奇 co jakiś czas pojawiają się takie błędy: Code: [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: Code: //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 = "<!-- BEGIN TEMPLATE: $template_name -->\n$final_rendered\n<!-- END TEMPLATE: $template_name -->"; } return $final_rendered; 4688線是: Code: eval('$final_rendered = "' . $template_code . '";');
[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
//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 = "<!-- BEGIN TEMPLATE: $template_name -->\n$final_rendered\n<!-- END TEMPLATE: $template_name -->"; } return $final_rendered;
eval('$final_rendered = "' . $template_code . '";');
最後編輯者 dong; 16-11-17 在 14:20.
你能提供錯誤的頁面的完整的 URL 嗎?在崗位被切開。我想看看他們是否是可見的附加資訊頁面。目前我所知道的是, 一個 templejt 有一個 bug, 但它不知道如何和是否實際與 vBET。我想是這樣, 如果這只發生在翻譯的頁面上, 但它仍然只是一個猜測, 因為如果有時發生錯誤, 它有時也可以翻譯頁面。總之, 現在沒有足夠的資訊。請輸入錯誤發生的頁面的完整 URL。也許會有更多的東西, 如果沒有, 它將有必要添加日誌和列印出一個範本, 有什麼處理, 但沒有什麼可擔心的, 你將需要, 我們將照顧已經。
最後編輯者 vBET; 18-11-17 在 23:33.
示例連結: HTTP://www.forum.alfaholicy.org/159_...ml?language=en
最後編輯者 dong; 22-11-17 在 22:32.
Zaglądnij proszę做 PM-potrzebuję informacji, gdzie znajdują się wspomniane 邏輯。
沒有反應-我認為這個問題解決了或無關。順便說一下, 類似的東西拋出另一個用戶端, 所以有一個機會, 這是相同的, 修復將在下一個版本。 如果問題仍然困擾, 請提供更多資訊。
查看標籤雲
論壇規則