Install on New URL

I want to move my install from a subdomain to the actual domain

I changed everything in the database which referecnced the subdomain and foler the install was on to the new location. I copied the files but when i try log into the new location i get the following page

Anyone got any ideas on how to fix??

Also the old install still logs in.