you can 1st try to just replace wpadmin and wp include folder completely. as long as backup concerned wp-content folder and also plugins if you want. and db backup is must…
Thread Starter
repsak
(@repsak)
Okay, Where can I get a default wpadmin folder?
Im pretty sure it’s just the “wp-admin/includes” that is missing.
I tried changing the theme to default and now the main page loads, but everything still crashes when something in the wp-admin/includes folder is needed (e.g when i try to reach my admin page)
What version of WordPress are you running?
Thread Starter
repsak
(@repsak)
I’m not sure actually, what would be the easiest way to check?
edit: is there a version 3.6 thats what is says in my readme.html in root
(I dont know anything about wp just trying to help a friend who knows even less than me 🙂 )
Try:
– switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.
– resetting the plugins folder by FTP or phpMyAdmin.
– backing up your database
– re-uploading all files & folders – except the wp-content folder and the wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.
– running the upgrade manually via wp-admin/upgrade.php
Thread Starter
repsak
(@repsak)
Switched to default.
Plugin reset didn’t help me reaching the admin page, still getting the same error
Warning: require_once(<strong>..path..</strong>/httpd.www/wp-admin/includes/admin.php): failed to open stream: No such file or directory
Ah thanks for pointing me to the wordpress installation! That’s what I was looking for 🙂 I just grabbed the includes folder from the fresh installation and put it in my wp-admin folder (didn’t need to replace anything since I didn’t have one) and everything seems to be working fine.
No idea how it disappear in the first place but ah well..
For future reference do you know of any good guides on how to backup and restore my database.
Is it enough to go phpMyAdmin–>Databases–>mydatabase–>Export–> Quick – display only the minimal options
and then use the import tab in phpMyAdmin to restore it
Apart from that I’m guessing i should back up the files and folders you mentioned above (wp-content folder and wp-config.php & root .htaccess files)
Thanks again for all the help 🙂 !