aprilcanipe
Member
Posted 2 years ago #
When I click the link to add new post this error comes up.
Fatal error: main() [function.require]: Failed opening required '.../admin.php' (include_path='.:/usr/lib/php') in /homepages/0/d308704601/htdocs/wp-admin/post-new.php on line 10
I did the upgrade yesterday. It was working afterwards, but not today. So I tried to reinstall the upgrade and that didn't fix it.
Have you tried:
- deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- switching to the default theme to rule out any theme-specific problems?
- resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.
- re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress?
aprilcanipe
Member
Posted 2 years ago #
ok i tried all of the above and nothing worked. any other suggestions??
aprilcanipe
Member
Posted 2 years ago #
ok so i was just putting a fresh wordpress install over the other files directly on the server...
but i just deleted the wp-admin and wp-include folders off the server completely and then installed the new ones and it fixed it!
thanks!