Recent content by Gia Bảo

  1. Gia Bảo

    Fixed unrecognized expression error in xenforo.js

    Goto this url: http://xenforo.com/community/forums/bugs/#/xyz/0 => Uncaught Error: Syntax error, unrecognized expression: #/xyz/0 This error is throw in xenforo.js: $(window).on('load', function() { if (isScrolled || !window.location.hash) { return; } var hash =...
  2. Gia Bảo

    Fixed [minor improment] ETag header should be quoted-string

    The attachment is a diff file againt XF 1.3.0 Note that, I change file library/Sabre/Sabre/DAV/FSExt/File.php. The newer version of Sabre also change like that.
  3. Gia Bảo

    Fixed [minor improment] ETag header should be quoted-string

    ETag HTTP header XF controller Attachment (Public & Admin) is just $attachment['attach_date'] without quotes. Arcoding to RFC2612#sec3.11, this is not a valid ETag header. This issue can be fixed by apply the following patches: Left base folder: /xenforo_1.2.5_x_full.zip Right base folder...
  4. Gia Bảo

    Fixed incorrect info in XenForo_Session::$_knownRobots

    'archive.org_box' need be changed to 'archive.org_bot' ref: http://user-agent-string.info/list-of-ua/bot-detail?bot=archive.org_bot
  5. Gia Bảo

    Master/Slave Database [Deleted]

    Yes. I have changed as above & there is no error now.
  6. Gia Bảo

    Master/Slave Database [Deleted]

    I think we could fix this error by changing DigitalPoint_Mysqli/ line 93 from if (substr($sql, 0, 6) == 'SELECT') to if (substr($sql, 0, 6) == 'SELECT' && strpos(strtoupper($sql), 'FOR UPDATE') === false)
  7. Gia Bảo

    Master/Slave Database [Deleted]

    This error is cause by XenForo_Discussion_Definition_Thread::getDiscussionForUpdate: That function query SELECT ... FOR UPDATE => must _forceMaster (but not)
  8. Gia Bảo

    Master/Slave Database [Deleted]

    I use XF 1.2 RC2
  9. Gia Bảo

    Master/Slave Database [Deleted]

    @digitalpoint I have an error report: After set read_only mysql variable to ON on slaves, wait some minutes, I see this error on /admin.php?logs/server-error : Error Info Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : The MariaDB server is running with the --read-only...
  10. Gia Bảo

    Duplicate error in thread_create template

    Template Errors: thread_create Illegal string offset 'thumbnailUrl'in /var/www/html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 416: 415: <li id="' . (($__compilerVar12) ? ('AttachedFileTemplate') : ('attachment' . htmlspecialchars($__compilerVar13['attachment_id']))) . '"...
Top Bottom