{"id":2336,"date":"2007-05-22T18:11:06","date_gmt":"2007-05-22T12:41:06","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/2007\/05\/got-unusual-wordpress-bugs-check-wp-files-on-server\/"},"modified":"2020-05-24T09:58:27","modified_gmt":"2020-05-24T04:28:27","slug":"got-unusual-wordpress-bugs-check-wp-files-on-server","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2007\/05\/got-unusual-wordpress-bugs-check-wp-files-on-server\/","title":{"rendered":"Got Unusual WordPress Bugs : Check WP Files on Server"},"content":{"rendered":"<p>I recently upgraded to WordPress 2.2, a <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2007\/05\/wordpress-22-is-mandatory-security-upgrade\/#comment-296476\">recommended security upgrade<\/a> for all bloggers. Everything went fine on installation (and database upgrade) as per official upgrade instructions. And then a <strong>wordpress bug<\/strong> strikes my post editor! I tried to figure out the problem and realized it was not a bug after all&#8230;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6adc71c320dbc\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #1a202c;color:#1a202c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #1a202c;color:#1a202c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6adc71c320dbc\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2007\/05\/got-unusual-wordpress-bugs-check-wp-files-on-server\/#Is_it_a_wordpress_bug\" >Is it a wordpress bug?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2007\/05\/got-unusual-wordpress-bugs-check-wp-files-on-server\/#Seeking_wordpress_support\" >Seeking wordpress support<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2007\/05\/got-unusual-wordpress-bugs-check-wp-files-on-server\/#Fixing_WordPress_Bugs\" >Fixing WordPress Bugs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2007\/05\/got-unusual-wordpress-bugs-check-wp-files-on-server\/#WordPress_Lesson_Learnt\" >WordPress Lesson Learnt<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Is_it_a_wordpress_bug\"><\/span>Is it a wordpress bug?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In my post editor screen, when I switched from &#8220;visual&#8221; to &#8220;code&#8221;, all formatting buttons disappeared (even the <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2007\/02\/hidden-formatting-buttons-in-wordpress-21-post-editor\/\">hidden formatting buttons<\/a>) and I could not switch back to Visual editor. Things were fine after &#8220;save and continue editing&#8221; the post, just to recur again on switching to &#8220;Code&#8221; view. Sometimes Firefox acts funny, but the problem was reproducible on IE7 too.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Seeking_wordpress_support\"><\/span>Seeking wordpress support<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>I shouted out on WordPress Trac and WordPress support forums about the issue, but no one else seemed to be affected. Some advised the standard &#8220;clear cache and restart browser&#8221;, others advised other complex <strong>php code editing<\/strong> which was too tricky to do (and understand and risk!). None seemed to help.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Fixing_WordPress_Bugs\"><\/span>Fixing WordPress Bugs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It seemed to affect only me so I decided to <strong>recheck the wordpress installation<\/strong> and database (which was without any problems!). I used my trusted <a href=\"http:\/\/filezilla.sourceforge.net\/\" rel=\"noopener\">Filezilla<\/a> FTP software to check out the files and folders.<\/p>\n<p>First I checked the number of all files and the <strong>total files on server correctly matched<\/strong> the original WordPress number. So all the WP files had been installed. Great. Then I carefully proceeded to check the total file sizes of these files for every folder and one folder size was not matching.<\/p>\n<p>One javascript file deep inside <em>wp-includes<\/em> showed that the file was installed, but its <strong>size was zero<\/strong>. I simply overwrite the file from the original, and the post editor was back to normal. I really don&#8217;t know why this should have happened at all, but the file installed as an empty file (maybe you can comment why).<\/p>\n<h3><span class=\"ez-toc-section\" id=\"WordPress_Lesson_Learnt\"><\/span>WordPress Lesson Learnt<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This incident highlights the fact that the <strong>problem could be specific to your installation<\/strong>. Double check your installation, if you feel the problem is specific to you. After so many upgrades, This is the first time I needed to recheck my wordpress installation files one by one for size, even after the total number of files matched. But now I know that if an unusual wordpress bug strikes, the problem could have been during FTP. I am glad I tried this out.<\/p>\n<p>Yet if you cannot figure out the problem, seek <a href=\"https:\/\/wordpress.org\/support\/\" rel=\"noopener\">wordpress support<\/a> from the community. Always back up your blog. You never know&#8230; its your blog, take care of it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently upgraded to WordPress 2.2, a recommended security upgrade for all bloggers. Everything went fine on installation (and database&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6],"tags":[17],"class_list":["post-2336","post","type-post","status-publish","format-standard","hentry","category-blogging","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/2336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=2336"}],"version-history":[{"count":0,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/2336\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=2336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=2336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=2336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}