WordPress is shrinking posts, saving as drafts, then publishing
-
Hello, I’m hosting a friend’s wordpress site and she’s been having a lot of issues with her blog. I created my own install and here’s what I’m noticing happening:
1) Short posts post fine
2) Long posts (my test was over 2000 words) shrink every time “Publish” is clicked. By shrink I mean words are deleted. If publish is continuously clicked, words are deleted until the word count is about 425. Then it publishes, until that point it stays as a draft. For my test blog site I was using the bog standard install, disabled the two plugins that it came with and using the default theme.
Apache version is 2.2
MySQL version is 5.7
PHP version is 5.6One thing I noticed in the error log for both my virtual server and hers, I would see the post show up as a long URL with an invalid method in request for a GET:
[Mon Apr 11 18:07:52 2016] [error] [client 192.168.0.107] Invalid method in request g.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+ over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+b rown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+ dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumpe d+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick +brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+laz y+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jum ped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+qui ck+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+l azy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+j umped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+q uick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the +lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox +jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The +quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+t he+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+f ox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+T he+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over +the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown +fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog. +The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+ov er+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+bro wn+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+do g.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+ over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+b rown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+ dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumpe d+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick +brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+laz y+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jum ped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+The+qui ck+brown+fox+jumped+over+the+lazy+dog.+The+quick+brown+fox+jumped+over+the+l azy+dog.+The+quick+brown+fox+jumped+over+the+lazy+dog.+%0D%0A%0D%0A%0D%0ATHE +END%21&wp- preview=&hidden_post_status=draft&post_status=draft&hidden_post_password=&hi dden_post_visibility=public&visibility=public&post_password=&mm=04&jj=12&aa= 2016&hh=00&mn=59&ss=37&hidden_mm=04&cur_mm=04&hidden_jj=12&cur_jj=12&hidden_ aa=2016&cur_aa=2016&hidden_hh=00&cur_hh=00&hidden_mn=59&cur_mn=59&original_p ublish=Publish&publish=Publish&post_format=0&post_category%5B%5D=0&post_cate gory%5B%5D=1&newcategory=New+Category+Name&newcategory_parent=-1&_ajax_nonce -add- category=958f88f87f&tax_input%5Bpost_tag%5D=&newtag%5Bpost_tag%5D=&excerpt=& trackback_url=&metakeyinput=&metavalue=&_ajax_nonce-add- meta=062b661b6b&advanced_view=1&post_name=&post_author_override=1GET /wordpress/wp-admin/post.php?post=16&action=edit&message=4 HTTP/1.1, referer: http://archon.silvertree.org/wordpress/wp-admin/post.php? post=16&action=editHere’s the virtual host definition:
<VirtualHost 173.11.101.153> ServerAdmin [email protected] DocumentRoot "/home/phoenix/public_html" ServerName www.druidsfire.com ServerAlias druidsfire.silvertree.org ServerAlias druidsfire.com ErrorLog /var/www/logs/druidsfire/error_log LogLevel debug UserDir disabled CustomLog /var/www/logs/druidsfire/access_log common <Directory /> <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> AllowOverride All Options Indexes Order allow,deny Allow from all </Directory> </VirtualHost>I would really like to figure out the solution to this problem. I’ve enabled the LimitRequestLine directive and set it to something ridiculously long and that didn’t help so I removed it.
Any suggestions are greatly appreciated.
The topic ‘WordPress is shrinking posts, saving as drafts, then publishing’ is closed to new replies.