Admissions flat panel

On Jan 16, 2014, at 10:01 AM, Russ McDonald wrote:

Hi Wes,

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.

Screen Shot 2014-01-30 at 2.28.19 PM

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

About Wesley Wright

Born on a mountain top near New York City, Craziest state in the land of the pretty. Raised in the woods so's he knew every tree, Killed him a bear when he was only three.
This entry was posted in Wes and tagged , , . Bookmark the permalink.