I put together a quick WordPress site locally using MAMP, then checked it into an SVN repo. I then checked it out on to my development server.
I didn\'t change anything
My problem was that the hardisk was full. Trying to log into the wordpress administration panel was redirecting me to wp-login.php. I was able to log in again the moment I deleted some files.