On Jan 16, 2014, at 10:01 AM, Russ McDonald wrote:
I’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.
Here’s what I’ve tried:
Changed the feeds in the array to see if a particular feed might be the culprit… even reduced the array to two items and no luck.
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.
Here’s the page if you wouldn’t mind taking a look over my shoulder to see if it’s something obvious I’m missing.
Wow, this was tricky. Apparently new php enables function curl_exec, which activates a section of simplepie (php news feed reader) code that contained some debugging code (print “stop”;exit;) inserted by me in 2012 and passed to Russ like a virus.
All is well now