Sean Goresht wrote: Using PHP 5.1.6 (I know that's the reason)...
To say it's outdated - to say nothing. It's ancient.
If you cannot make your hosting provider upgrade your php version - maybe to change provider?
If not - restore site from backup (hope you made it before updating)