Categories
Uncategorized

PHP error_reporting

PHP (Once again a note for myself, but if you find it useful, well, you’re welcome!)

After a PHP upgrade, I noticed at least one bit of PHP code one the server wasn’t working (the TextLinkAds plugin for WordPress) so after a bit of digging around in php.ini, I found that this line was uncommented:

error_reporting  =  E_ALL

Which was causing warnings to spit out when some PHP scripts were run. I commented that line, and uncommented this line instead…

error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR

…for a little bit less error reporting/warnings about things, and that fixed it.

I’m sure this is not a cure-all, as another site with the same plugin always worked fine, and was never affected, but still, I didn’t really like seeing those warnings (which I believe are harmless, but they may need investigating anyway.)

Categories
Uncategorized

PowerSmash: Death of a PowerMac

So there I was quietly trying to enjoy my lunch when I heard voices… I then found these two nutcases out back near the dumpsters with an old PowerMac so I grabbed the video camera and caught it all on tape.

They told me they may have more things that need to be smashed, and that I should be on the lookout and always have a camera ready… I told them that if they bring the smashin’ I’ll bring the camera, and we’ll see what happens.

Enjoy!