• I use this plugin on a number of sites. On 2 sites the download button for te backups is missing (restore and delete are available).
    I think it’s the server configuration, since they’re both on a host (2 different ones) I use for no other websites.
    What can be the cause for this button to be missing? Can you help me to solve this?
    Thank you,

    Frank

    • This topic was modified 3 years, 11 months ago by frankmanl.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author OnionBazaar

    (@onionbazaar)

    sure lets give it a try.

    The download button is only displayed when the call is_path_accessible( Path::get_path() ) returns true, see functions/core.php @ line 198 in the plugin directory. Try adding the following lines at the top of that function:

    file_put_contents( Path::get_path() . '/debug.txt',  'check if ' . $dir . ' contains ' . Path::get_home_path() );
    return true;

    The Download button should be there now, does it work? Check the debug.txt created in your backup directory and let us know what it says, on a working machine it looks something like this:

    check if /var/www/html/wp-content/backupwordpress-17f54d7318-backups contains /var/www/html

    Thread Starter frankmanl

    (@frankmanl)

    Sorry, I must have missed the notification that you replied.
    Adding that line in functions/core.php solved it.
    The debug.txt files says:
    check if /home/beaufort/domains/beauforthuis.nl/public_html/wpress/wp-content/backupwordpress-f760e19db2-backups contains /home/beaufort/domains/beauforthuis.nl/private_html

    Frank

    Thread Starter frankmanl

    (@frankmanl)

    Hold on: the download button now gives a 404 error.

    Thread Starter frankmanl

    (@frankmanl)

    Any ideas on how to solve this?

    Plugin Author OnionBazaar

    (@onionbazaar)

    sorry for the late response.

    Please click the “Help”-tab in the upper right corner of the plugin and open “Server Info” in the menu. Can you please tell us the values of “ABSPATH” and “Site Root Path” ?

    Thread Starter frankmanl

    (@frankmanl)

    ABSPATH

    /home/beaufort/domains/beauforthuis.nl/public_html/wpress/

    Site Root Path

    /home/beaufort/domains/beauforthuis.nl/private_html

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘download button missing’ is closed to new replies.