I have v3.0.1 of WordPress installed on the site.
Today I have upgraded some plugins, including Akismet. However after trying to also upgrade WordPress to 3.1.1 the system was coming up with an error saying "You do not have permission to access this page directly" although I am logged in as Administrator.
Then I looked at the permissions on the script upgrade-core.php and others in the wp-admin directory.
I changed it all to 755 from 644. However now I am getting a "page could not be found..." error when trying to upgrade automatically from within the Dashboard, logged in as Administrator.
Can anyone point me in the right direction please.