• I was attempting to set up a local site using DesktopServer by Server Press. My client will not grant me cPanel access so I was relying upon his database backup to clone the site locally. The issues it that the .sql file he provided me came up short and some tables were missing. The site did resolve great on my local site, minus the menus and ability to login via wp-admin due to the user table absence.

    In an attempt to resolve this and create a complete clone of his site on my local server so I could start development, I installed this plugin. I performed one backup, it still was missing those key tables in the database. I then hit the “optimize database’ button, and then tried to do a download, but I got an error.

    When I tried to load the site in the front end, it was completely broken and I noticed via ftp that the wp-content folder was completely gone. I replaced the folder content with my local backup but still nothing.

    What I did try was creating a fresh install locally, then I replaced the default wp-content folder with my backed up version, the site resolved half way locally, but when I replaced the fresh install wp-config.php file with the backed up version the site then resolved on my local site.

    I tried to replace the live version of the wp-config.php file with the backup version and I got a ‘database can’t be found’ and it also crashed the server for a few minutes. (not sure if that is related)

    Anyway, I really need to fix this and get the site back up and running normally, I could really use your help.

    https://www.ads-software.com/plugins/wp-dbmanager/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Lester Chan

    (@gamerz)

    This sounds like a server/db issue rather than a plugin one though. To be honest, I have no idea how to help you.

    1. Optimized Database should not give you any error though, what error are you getting?
    2. Your wp-content folder should never be missing, this plugin doesn’t delete stuff from your wp-content folder. Only to your backup-db folder in wp-content.
    3. db not found means your credentials of wp-config.php is wrong? Check to see if you can access the DB using GUI like phpmyadmin or something.
    4. If you got a db dump, use phpmyadmin to restore it. If you need an alternative.

    Thread Starter treenut

    (@treenut)

    1. I got an error saying “backup failed”

    2. When I installed the plugin I got an error message saying to change the backup path to wp-content rather than wp-content/backup-db, so I did.

    3. I replaced it and it works now.

    4. I don’t have a complete one

    Plugin Author Lester Chan

    (@gamerz)

    1. Optimize has nothing to do with backup. When you click optimize, it is impossible for it to trigger a backup fail message.

    Thread Starter treenut

    (@treenut)

    What do you suppose happened then? Do you think there has been some kind of database corruption within the server by chance? While I was using this plugin?

    here is a link to the site: https://bluegooseinn.com/

    Thread Starter treenut

    (@treenut)

    Thread Starter treenut

    (@treenut)

    Oh, and this is the error message I was getting

    “Your backup folder is NOT writable
    To correct this issue, make the folder /home/dkbroberg702/public_html/wp-content/backup-db writable.
    Your backup folder MIGHT be visible to the public
    To correct this issue, move the file from /home/dkbroberg702/public_html/wp-content/plugins/wp-dbmanager/htaccess.txt to /home/dkbroberg702/public_html/wp-content/backup-db/.htaccess”

    Plugin Author Lester Chan

    (@gamerz)

    Sorry man, I will not know what has happen at least I haven’t see this happen for the past 10 years this plugin has been created.

    That error message has nothing to do with optimizing your DB.
    1. It is just simply your PHP script can’t write to that folder. Chmod it to 777 or make it writable by your apache/nginx process.
    2. Just follow the instructions and you are fine.

    Thread Starter treenut

    (@treenut)

    It is pointless now because all page content and post content is gone, none of the images are loading and I am not sure how to restore the database backup without access to the cPanel. Is this something that went wrong within the server? I am pretty sure this site is hosted by GoDaddy, but I don’t have access to do any troubleshooting with them.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Content Folder Vanished, Site Down!!’ is closed to new replies.