Well, I'm sorry for wasting your time then, it was php. I updated it to 5.3.3 and everything is working fine now. Thanks again for trying to help. Now here's hoping nothing else broke :P
I guess PHP 5.3.23 is not compatible with piwik 2?
I guess PHP 5.3.23 is not compatible with piwik 2?