{"id":2907,"date":"2019-09-12T16:23:25","date_gmt":"2019-09-12T04:23:25","guid":{"rendered":"https:\/\/www.deltics.co.nz\/blog\/?p=2907"},"modified":"2019-09-12T16:28:26","modified_gmt":"2019-09-12T04:28:26","slug":"site-upgrades-and-problems","status":"publish","type":"post","link":"https:\/\/www.deltics.co.nz\/blog\/posts\/2907\/","title":{"rendered":"Site Upgrades and Problems"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">[Estimated Reading Time: <\/span> <span class=\"rt-time\">2<\/span> <span class=\"rt-label rt-postfix\">minutes]<\/span><\/span>\n<p>This is just a brief post to explain some problems that you may have seen on the site recently.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Upon returning to this site after some time I found it was in desperate need of updating on the back-end.  So I brought everything (almost) bang up-to-date with a new PHP runtime (7.2) and WordPress installation.<\/p>\n\n\n\n<p>Unfortunately, along the way it seems some things got broken and other things don&#8217;t play nice with these new toys.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" style=\"text-align:center\">What I Know Is Impacted<\/h4>\n\n\n\n<p>The download manager was broken but I think this is now fixed.  If you find a post with a download link that isn&#8217;t working please do let me know!  Everything should be working so a broken link is not just a sign of neglect and will be fixed (no matter how old the post).<\/p>\n\n\n\n<p>The biggest impact of the changes however was unfortunately the syntax highlighter plug-in.  This is particularly annoying since the one I use has been adopted by WordPress themselves for their hosted services!  If any of the plug-ins I was using should have been Ok, this was one of them!<\/p>\n\n\n\n<p>Frustratingly this appears to be fine for smaller snippets of code or when using an older highlighting engine version but causes pages to hang when loading larger snippets with the most current (which the old site was already using so it&#8217;s some interaction between that and the new WordPress engine I guess).<\/p>\n\n\n\n<p>On the pages I tested everything seemed OK but the most recent posts have experienced problems.  I&#8217;ve switched the old\/current highlighter to an older version of the engine which isn&#8217;t quite as capable or as pretty but should still work and at least hopefully won&#8217;t crash the pages.<\/p>\n\n\n\n<p>Meanwhile, I&#8217;m going through and changing pages to an alternate highlighter plug-in.<\/p>\n\n\n\n<p>With a lot of posts to get through this could take some time.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" style=\"text-align:center\">What Else Might Be Broken ?<\/h4>\n\n\n\n<p>Honestly, I just don&#8217;t know.  I&#8217;m going through the entire site to check everything as best I can, not just the syntax highlighting.  But if you come across something that doesn&#8217;t look right, again please do let me know!<\/p>\n\n\n\n<p>Apologies for any inconvenience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">[Estimated Reading Time: <\/span> <span class=\"rt-time\">2<\/span> <span class=\"rt-label rt-postfix\">minutes]<\/span><\/span> Some teething troubles with the recent site upgrades.  Please bear with me and let me know if you come across any other problems.<\/p>\n","protected":false},"author":2,"featured_media":2909,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[18,4,1],"tags":[334,332,335],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.deltics.co.nz\/blog\/wp-content\/uploads\/site-maintenance.jpg?fit=1050%2C525&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1TKYv-KT","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2620,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/2620\/","url_meta":{"origin":2907,"position":0},"title":"Hidden\/Hard to Find Deals on Parallels Desktop Pro","date":"17 Apr 2017","format":false,"excerpt":"For some years now I've been running a Mac as my main development system, using Parallels Desktop to run Windows in VM's on that hardware. I like the Parallels software, but not their licensing policy, which requires me to license each machine I use rather than the \"No Nonesense\" approach\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1974,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/1974\/","url_meta":{"origin":2907,"position":1},"title":"Improved Quality in Delphi &#8211; Yeah Right","date":"28 Oct 2013","format":false,"excerpt":"Here in Aotearoa there is a beer company called \"Tui\", named in turn for a native bird. As well as a series of TV ads voiced by the great Tom Baker, Tui are famous here for their \"Yeah, right!\" billboard ads. I felt compelled to make one for Delphi. I\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.deltics.co.nz\/blog\/wp-content\/uploads\/tui.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3066,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/3066\/","url_meta":{"origin":2907,"position":2},"title":"It&#8217;s Nearly 2022 and I Bought An Intel iMac.  Am I Mad?","date":"09 Dec 2021","format":false,"excerpt":"With all the attention that the new M1 based Mac's are getting these days, and with the stated intention of phasing out Intel in the Apple hardware, someone would have to be mad to buy an Intel Mac at the moment. Wouldn't they?Well I did, and here's why... What am\u2026","rel":"","context":"In &quot;Blogging&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.deltics.co.nz\/blog\/wp-content\/uploads\/m1-vs-intel.png?fit=1200%2C391&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":750,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/750\/","url_meta":{"origin":2907,"position":3},"title":"XE2 FireMonkey Designer &#8211; Clipboard Gotcha","date":"06 Sep 2011","format":false,"excerpt":"We are still waiting for our XE2 licenses to be organised but in the meantime I have started playing around with the Free Trial Edition. I haven't had much time to form much of an opinion as yet, but have already identified some oddities in the FireMonkey Form Designer, specifically\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.deltics.co.nz\/blog\/wp-content\/uploads\/Screen-Shot-2011-09-06-at-9.48.39-AM.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1166,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/1166\/","url_meta":{"origin":2907,"position":4},"title":"XE3 Upgrade from Delphi 2009 &#8211; Only Until the End of the Year","date":"05 Sep 2012","format":false,"excerpt":"I previously speculated that the upgrade eligibility window for XE3 might have been edged open ever so slightly. Sadly it seems this is not the case (German language forum). At least, not unless they extend another upgrade offer as they did with XE2. Here's the response, as translated by Google:\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":338,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/338\/","url_meta":{"origin":2907,"position":5},"title":"Delphi 2009 &#8211; A Heads-Up for Low-Level Coders","date":"13 Sep 2008","format":false,"excerpt":"Prompted by a conversation with some colleagues where-in we collectively speculated about the implementation details of a generic class and what impact - if any - this might have on performance vs a \"traditional\" polymorphic equivalent, I threw together a quick performance test case in my Smoketest framework, and as\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/2907"}],"collection":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/comments?post=2907"}],"version-history":[{"count":4,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/2907\/revisions"}],"predecessor-version":[{"id":2912,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/2907\/revisions\/2912"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/media\/2909"}],"wp:attachment":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/media?parent=2907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/categories?post=2907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/tags?post=2907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}