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.
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...
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)
This error is cause by XenForo_Discussion_Definition_Thread::getDiscussionForUpdate:
That function query SELECT ... FOR UPDATE => must _forceMaster (but not)
@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...