Viewing 2 replies - 1 through 2 (of 2 total)
  • Interesting issue.
    Have seen it reported by other people in this forum.
    Never been able to figure out what is causing it nor recreate it.
    (But this was mostly because noone seems to be determined enough to find out and put some effort into it …).

    Do have 1 theory …
    The “Create Database Backup” button on the Backups page is actually a form.
    Please use Firefox build in Inspector to check for the value of the hidden form field named wp_nonce. Perhaps there are special chars (like ć) in the value of this hidden security field. That could potentially invalidate the form security check…
    Are you using the WordPress Dashboard in your native language ? (Non English).

    While following the instructions above you will also notice that 2 hidden form security fields are duplicated because the wp_nonce_field() function\method is used incorrectly. A minor cosmetic bug. But if this was the cause of the issue it would be easy to reproduce …

    As a possible workaround you could try and create a database backup from the “Important First Steps” modal window. Good chance that works.

    The “Important First Steps” modal window is displayed automatically once right after plugin install\activation.
    To have it displayed again please click on the “Show Intro” link in the upper right corner of the iTSec plugin Dashboard page.

    dwinden

    Never mind my earlier post.
    This could actually be a multi-site specific issue.

    For confirmation please perform the following test (as I don’t have a multi-site env yet):

    1. Make a backup copy of the better-wp-security/modules/free/backup/class-itsec-backup-admin.php file on your server.

    2. Edit the better-wp-security/modules/free/backup/class-itsec-backup-admin.php file. Search for:

    Security error!

    and replace it with:

    Security error!!

    (Only replace the FIRST search hit !)

    3. Save the file.

    4. Then retest this issue.

    If this is a multi-site specific issue you will now get a blank page with Security error!! when clicking on the “Create Database Backup” button on the Backups page.

    If this is not a multi-site specific issue you will still get a blank page with Security error!

    Don’t forget to restore the backup file after the test.

    dwinden

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot backup database’ is closed to new replies.