Forum hiện lỗi JavaScript Console khi xóa hoặc sửa bài

Thảo luận trong 'Installation & Upgrade Questions' bắt đầu bởi Gacon, 25/1/15.

  1. Gacon

    Gacon Member

    Bài viết:
    335
    Likes :
    160
    Forum của người bạn (đang chạy Xen 1.1.3) hiện đang bị lỗi này mà không biết nó bị lỗi gì, bạn nào biết xin chỉ giúp, lỗi này tìm thấy cũng có nhiều người hỏi mà chưa thấy câu trả lời chính xác nhất (tìm hiểu sơ sơ thì nghi là do sever, k biết phải k): Tắt hết Addon cũng vậy.

    Khi thực hiện các thao tác sửa,xóa, đăng bài, thoát nick, hay làm gì nó điều hiện ra cái popup thông báo "
    The server responded with an error. The error message is in the JavaScript console."


    Và 1 lỗi nữa là hay hiện các thông báo này ở trên đầu:

    Template Errors: thread_view

    1. Illegal string offset 'thumbnailUrl' in /var/www/titan/forum/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2021:
      2020: <li id="' . (($__compilerVar154) ? ('AttachedFileTemplate') : ('attachment' . htmlspecialchars($__compilerVar155['attachment_id']))) . '"
      2021: class="AttachedFile ' . (($__compilerVar155['thumbnailUrl']) ? ('AttachedImage') : ('')) . ' secondaryContent">
      2022:

    2. Illegal string offset 'thumbnailUrl' in /var/www/titan/forum/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2025:
      2024: ';
      2025: if ($__compilerVar155['thumbnailUrl'])
      2026: {

    3. Illegal string offset 'filename' in /var/www/titan/forum/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2040:
      2039: $__compilerVar156 .= '
      2040: <!--<img src="' . XenForo_Template_Helper_Core::styleProperty('imagePath') . '/xenforo/widgets/page.png" alt="' . htmlspecialchars($__compilerVar155['filename']) . '" />-->
      2041: <span class="genericAttachment"></span>

    4. Illegal string offset 'filename' in /var/www/titan/forum/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2048:
      2047: <div class="AttachmentText">
      2048: <div class="Filename"><a href="' . XenForo_Template_Helper_Core::link('attachments', $__compilerVar155, array()) . '" target="_blank">' . htmlspecialchars($__compilerVar155['filename']) . '</a></div>
      2049:


    1. @Alucar @KC2T.TòMò18+ @Lightness @thanhthanh

    2. Mọi người ai biết giúp em với ạ...thank you very mút!
     
    Đang tải...
comments powered by Disqus

Chia sẻ trang này

Đang tải...