• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Large post in large thread can not be added

#1
Hi, I have one thread on forum with over 4500 pages (about 10 posts per page) and when I try to add larger post, maybe over 3000+ charters it showing like it adding post but it never adds.

I am on SSD dedicated server, 32 GB RAM, Quad Core, memory limit over 768 MB, execution time over 100 seconds ... MySQL is 5.5 and it has done somo optimizations, xCache installed, caching activated from xenForo ...

Can anybody point me what to change, I think ti is related to MySQL, most likely with my.ini ...

Thank you
 

Mike

XenForo developer
Staff member
#2
Is it just a large post or any post?

Really, the size of the post should have very little to do with it.
 
#3
Is it just a large post or any post?

Really, the size of the post should have very little to do with it.
Until now I only get reports from users that try to post larger posts, adding small posts is OK and I have also tested anything larger, over 3000 charters is not added, it just showing like it is adding, and after some time nothing happen ...

Post charter limit is over 10 000, just to exclude that.
 

Mike

XenForo developer
Staff member
#4
Are there any server error logs listed? Do you have any add-ons installed? If so, I'd recommend disabling them and trying again to confirm there in them causing this.
 
#5
When I test it is not log any error, but I do find this error, related to that large thread:

Cannot insert a message in the middle of a discussion


Code:
XenForo_Exception: Cannot insert a message in the middle of a discussion. - library/XenForo/DataWriter/DiscussionMessage.php:446
Generated By: gasans, Juče u 18:04
Stack Trace
#0 /home/username/public_html/library/XenForo/DataWriter/DiscussionMessage.php(353): XenForo_DataWriter_DiscussionMessage->_setPosition()
#1 /home/username/public_html/library/XenForo/DataWriter.php(1434): XenForo_DataWriter_DiscussionMessage->_preSave()
#2 /home/username/public_html/library/XenForo/ControllerPublic/Thread.php(541): XenForo_DataWriter->preSave()
#3 /home/username/public_html/library/VfcodersHH/ControllerPublic/Thread.php(35): XenForo_ControllerPublic_Thread->actionAddReply()
#4 /home/username/public_html/library/XenForo/FrontController.php(337): VfcodersHH_ControllerPublic_Thread->actionAddReply()
#5 /home/username/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/username/public_html/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
  ["url"] => string(75) "http://mysite.com/threads/internet-radio-i-televizija.60172/add-reply"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(9) {
    ["message_html"] => string(605) "<p>[CODE]#EXTINF:-1,Fudbal </p>
<p>http://178.150.31.219:8888/udp/238.0.0.58:1234&nbsp; </p>
<p>#EXTINF:-1,fudbal+ </p>
<p>http://178.150.31.219:8888/udp/238.0.0.71:1234</p>
<p>#EXTINF:-1,hokej </p>
<p>http://178.150.31.219:8888/udp/238.0.0.112:1234</p>
<p>#EXTINF:-1,DANCE TRIPPIN </p>
<p>http://178.150.31.219:8888/udp/238.0.0.219:1234</p>
<p>#EXTINF:-1,MTV </p>
<p>http://178.150.31.219:8888/udp/238.0.0.44:1234 </p>
<p>#EXTINF:-1,MUSIC BOX UA </p>
<p>http://178.150.31.219:8888/udp/238.0.0.45:1234 </p>
<p>#EXTINF:-1,A ONE </p>
<p>http://178.150.31.219:8888/udp/238.0.0.42:1234
</p>"
["_xfRelativeResolver"] => string(75) "http://mysite.com/threads/internet-radio-i-televizija.60172/page-4617"
["attachment_hash"] => string(32) "7e995617c16a7116e1309a488c7bdbfc"
["last_date"] => string(10) "1387645403"
["last_known_date"] => string(10) "1387645403"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(52) "/threads/internet-radio-i-televizija.60172/page-4617"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}[/CODE]