This is usually an issue with the server settings. More specifically the testing server Site URL setting. I'd have to see your testing server settings to debug. Have you made sure your MAMP server is running and you are able to connect to phpMyAdmin?