• Resolved Jane

    (@idesofmarch0315)


    Hello all!

    I hope someone can help me restore my site. I lost all my files due to an issue with the host (long story but basically stay away from A Small Orange). I had no access to my files or CPanel. The only thing I have is a BackWPup wordpress zip file which included most of my files and folders (except wp-includes for some reason) and the .sql file.

    We moved to a new host and then I did a clean install of WP from the new database. I followed various instructions to import my SQL file into the new database and reuploaded my old files but I still got errors such as this one:

    Fatal error: Call to undefined function apply_filters() in /home/[user]/public_html/wp-includes/load.php on line 317

    I am not sure what I else I am missing except the backup of my original wp-includes folder. Could these be a reason the install didn’t take?

    Alternatively if BackWPUP’s SQL file is the issue, I have All in One plugin make an SQL backup that may work (though it gave an error when I imported it in the new database).

    All I want is for my posts to be restored. as I have 10+ years of files on there and they should be in the SQL file. I only need to get those restored and I’ll be fine with reading plugins or themes.

    Can anyone provide feedback on what I can do to restore the backup with the files that I have? I am prepared to make a new SQL table and restore everything else.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Your content is in the .sql file. Use phpmyadmin on your host to import that .sql file into your database.

    Moderator James Huff

    (@macmanx)

    It sounds like you have your database restored, right? If so, that should all be safe, and the quoted error might be an issue with a corrupt core, plugin, or theme file, which is a bit common in massive file transfers unfortunately.

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    If that makes no difference, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    • This reply was modified 8 years, 2 months ago by James Huff.
    • This reply was modified 8 years, 2 months ago by James Huff.
    • This reply was modified 8 years, 2 months ago by James Huff.
    Thread Starter Jane

    (@idesofmarch0315)

    Thanks for the replies. Yes the SQL file is imported into the new SQL database.

    I will definitely try your suggestions, James. I’ve got some pressing other issues, but hoping I can get the site running by this weekend. Will update. Thank you!

    Moderator James Huff

    (@macmanx)

    You’re welcome!

    Thread Starter Jane

    (@idesofmarch0315)

    Update: I did as James suggested and deleted all the files I had uploaded except wp-config and wp-content, then I reuploaded new WP install. The database needed an update and I seem to have lost a few header images on the way, but it worked! Thank you again to James for the support.

    Have a great weekend!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Restoring WordPress from Backup’ is closed to new replies.