{"id":1907,"date":"2012-12-29T12:42:44","date_gmt":"2012-12-29T12:42:44","guid":{"rendered":"http:\/\/www.macnovel.org.uk\/?p=1907"},"modified":"2012-12-29T12:42:44","modified_gmt":"2012-12-29T12:42:44","slug":"the-blog-that-wouldnt-crunch","status":"publish","type":"post","link":"https:\/\/www.macnovel.org.uk\/?p=1907","title":{"rendered":"The Blog That Wouldn&#8217;t Crunch"},"content":{"rendered":"<p>This blog has been a bit quiet recently &#8212; and for a change it&#8217;s not down to my indolence or procrastination. Over Christmas I had a serious technical problem. When I tried to upload photos, processing (oddly called &#8216;crunching&#8217;)\u00a0 never completed, which was puzzling. Then I was exasperated to find WordPress wouldn&#8217;t allow me to create new blog posts at all.<\/p>\n<p>I dangle my techie toes in the water by using the open source version of WordPress on my own webhosting space (rather than the WordPress hosted version). This means I&#8217;m very thankful to all my fellow geeks who produce this software for the benefit of the community and little monetary reward but it also means I&#8217;m my own tech support. Or, more accurately, it&#8217;s a case of furiously trying to type the right terms into a search engine to get a vaguely relevant answer.<\/p>\n<p>Sometimes this yields nuggets of pure and practical wisdom. Other times, like on Christmas Eve, I end up proving that a little knowledge is a very dangerous thing.<\/p>\n<p>In a time-pressured panic that became increasingly desperate, I found myself breaking every methodical techie rule in the book &#8212; the main rule being that whatever you try, it&#8217;s more likely to further screw things up than fix them. So the first law is to make sure you can undo your mistakes.<\/p>\n<p>I cut and pasted little snippets of PHP (that&#8217;s the scripting language WordPress is written in &#8212; but that&#8217;s largely the extent of my knowledge) between my computer and my FTP transfer program and opening up the control panels on the mySQL databases.<\/p>\n<p>I deleted something on the WordPress settings page that I had the awful feeling afterwards that I shouldn&#8217;t and I thought I&#8217;d wrecked the whole thing.<\/p>\n<p>I gave up trying to fix it to finish off preparations for Christmas dinner (see next post). I also noticed amid all the self-inflicted errors that on one control screen the database size for the blog had been exceeded and was showing at -47% of its capacity (apparently that means way too big). I made a mental note that this would probably need sorting out &#8212; but at least the site was still online.<\/p>\n<p>Come Boxing Day I decided to ring the hosting provider to ask about the database size. Yes, I&#8217;d exceeded the maximum and wouldn&#8217;t be able to add any more content to the blog &#8212; which wasn&#8217;t very good news.<\/p>\n<p>Fortunately I could move the blog to a new database that I could create which was ten times bigger &#8212; 1Gb rather than 100Mb, which is still only 0.3% of the size of the hard drive of the natty little netbook that I just bought for under \u00a3200. 1Mb still seems pretty stingy but I guess no-one wants to be loading up vast amounts of data from web sites so it&#8217;s probably good discipline. The database itself was too large for me to upload using the hosting provider&#8217;s tools so they had to do it for me.<\/p>\n<p>So eventually, with the blog&#8217;s content all copied over, I updated my WordPress files to point to the new database and prepared myself to work through all the other problems &#8212; but, amazingly, everything worked. I could upload files AND create new posts &#8212; so my fiddling hadn&#8217;t done anything terribly disastrous. In fact the last post that I made, on the <a title=\"Shoreditch Blonde\" href=\"https:\/\/www.macnovel.org.uk\/?p=1898\" target=\"_blank\">Shoreditch Blonde beer<\/a>, was largely to check out whether the site could still be updated. All the problems were not of mine or WordPress&#8217;s making but because I&#8217;d exceeded my database limit.<\/p>\n<p>This illustrates another law of technology that contradicts the statements above about screwing things up &#8212; that the biggest problems are often caused by something quite simple but which is hidden (or not looked for) at the time (usually down to the software&#8217;s terrible usability). And the big things can be relatively easy to fix. I still managed to break Google Analytics, though.<\/p>\n<p>So that&#8217;s a very techie explanation of why the blog&#8217;s been a little quiet recently. When I thought I couldn&#8217;t add any more content and started thinking about the perils of trying to export the content elsewhere I suddenly realised how much investment in time (and a not inconsiderable amount of money in IT costs) I&#8217;d put into creating this blog and how I&#8217;d be very despondent for it to be somehow broken, especially with the novel nearly ready\u00a0(as I&#8217;ve perpetually said during 2012).<\/p>\n<p>The two works are virtually intertwined and I&#8217;m hoping that this blog might be a useful and perhaps entertaining resource for anyone who shows interest in the novel.<\/p>\n<p>And seeing as I earn my &#8216;day job&#8217; crust from things that are IT related, I was pleased I managed to blunder through and fix my problems (and blunder and trial and error is the way most IT professionals work to fix things). It&#8217;s the sort of job that James in the novel would take in his stride, although there would be a lot of swearing on the way. (Maybe I should have him dabble in Kim&#8217;s site? But that would be another 1,000 words I don&#8217;t have room for.)<\/p>\n<p>I suspect that I&#8217;ve run into problems by loading so many pictures on the blog recently &#8212; such as all those of the Olympics, London and the Shard. But now my space has been increased I can stop worrying for a while about my multimedia excesses.<\/p>\n<p>So stand by &#8212; the next couple of postings will be photographic banquets.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog has been a bit quiet recently &#8212; and for a change it&#8217;s not down to my indolence or procrastination. Over Christmas I had a serious technical problem. When I tried to upload photos, processing (oddly called &#8216;crunching&#8217;)\u00a0 never completed, which was puzzling. Then I was exasperated to find WordPress wouldn&#8217;t allow me to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.macnovel.org.uk\/?p=1907\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The Blog That Wouldn&#8217;t Crunch&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29],"tags":[938,352,413,34,537,941,940,939,937],"class_list":["post-1907","post","type-post","status-publish","format-standard","hentry","category-frustrations","tag-blog","tag-blogging","tag-day-job","tag-james","tag-photography","tag-secret-nerd","tag-technology","tag-websites","tag-wordpress"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/1907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1907"}],"version-history":[{"count":6,"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/1907\/revisions"}],"predecessor-version":[{"id":1915,"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/1907\/revisions\/1915"}],"wp:attachment":[{"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.macnovel.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}