{"id":854,"date":"2014-01-30T15:33:40","date_gmt":"2014-01-30T19:33:40","guid":{"rendered":"http:\/\/blog.uvm.edu\/ctl-projects\/?p=778"},"modified":"2014-01-30T15:33:40","modified_gmt":"2014-01-30T19:33:40","slug":"admissions-flat-panel","status":"publish","type":"post","link":"https:\/\/blog.uvm.edu\/waw\/2014\/01\/30\/admissions-flat-panel\/","title":{"rendered":"Admissions flat panel"},"content":{"rendered":"<p>On Jan 16, 2014, at 10:01 AM, Russ McDonald  wrote:<\/p>\n<blockquote><p><em>Hi Wes,<\/em><\/p>\n<p><em>I&#8217;ve been trying to figure out what broke with our LCD screen with PHP 5.3.27. The problem is with the footer.php code. Everything seems to work fine for a while and then it stops refreshing the page and getting new feeds after approximately an hour.<\/em><\/p>\n<p><em>Here&#8217;s what I&#8217;ve tried:<\/em><\/p>\n<p><em>Changed the feeds in the array to see if a particular feed might be the culprit&#8230; even reduced the array to two items and no luck.<\/em><br \/>\n<em>Changed the refresh rate to 2 seconds (was set to 20) to try and determine if it had to do with the how many iterations of the loop are preformed. It still stops right around an hour after I restart it.<\/em><\/p>\n<p><em>Here&#8217;s the page if you wouldn&#8217;t mind taking a look over my shoulder to see if it&#8217;s something obvious I&#8217;m missing.<\/em><\/p>\n<p><em>http:\/\/php53test.uvm.edu\/~remcdona\/fpanel_2013\/footer.php<\/em><\/p><\/blockquote>\n<p><a href=\"http:\/\/blog.uvm.edu\/ctl-projects\/files\/2014\/01\/Screen-Shot-2014-01-30-at-2.28.19-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-779\" alt=\"Screen Shot 2014-01-30 at 2.28.19 PM\" src=\"http:\/\/blog.uvm.edu\/ctl-projects\/files\/2014\/01\/Screen-Shot-2014-01-30-at-2.28.19-PM-1024x717.png\" width=\"595\" height=\"416\" \/><\/a><\/p>\n<p>Wow, this was tricky. Apparently new php enables function\u00a0curl_exec, which activates a section of simplepie (php news feed reader) code that contained some debugging code (print &#8220;stop&#8221;;exit;) inserted by me in 2012 and passed to Russ like a virus.<\/p>\n<p>All is well now<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Jan 16, 2014, at 10:01 AM, Russ McDonald wrote: Hi Wes, I&#8217;ve been trying to figure out what broke with our LCD screen with PHP 5.3.27. The problem is with the footer.php code. Everything seems to work fine for &hellip; <a href=\"https:\/\/blog.uvm.edu\/waw\/2014\/01\/30\/admissions-flat-panel\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41826],"tags":[42758,59905,647],"class_list":["post-854","post","type-post","status-publish","format-standard","hentry","category-wes","tag-boffins","tag-legacy","tag-php"],"_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/comments?post=854"}],"version-history":[{"count":0,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/854\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/media?parent=854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/categories?post=854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/tags?post=854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}