WordPress.org

Ready to get started?Download WordPress

Forums

BackWPup Free - WordPress Backup Plugin
BACKWPUP_PLUGIN_BASEURL Pulls Full File Path, Not URL (2 posts)

  1. Travis Tubbs
    Member
    Posted 1 year ago #

    I recently set up BackWPup on an Apache web server hosted by AT&T. (Not my choice, but it's what I have to work with.) I am also using a custom content path using WP_CONTENT_DIR and WP_CONTENT_URL in my wp-config.php.

    After adding the BackWPup plugin, I noticed the styles and scripts for it weren't loading. Looking at the Developer Console in Chrome, I noticed the URLs for the styles and scripts were adding in the full file path, not just the URL. For example, instead of:
    http://www.example.com/content/plugins/backwpup
    it was pulling
    http://www.example.com/content/plugins/home/e/example.com/public_html/content/plugins/backwpup

    I can temporarily fix this by adjusting Line 33 in backwpup.php to define('BACKWPUP_PLUGIN_BASEURL',plugins_url('backwpup'); but that'll break in the next update of the plugin.

    Is there something I'm possibly doing wrong? Is there something not configured properly in the plugin?

    http://wordpress.org/extend/plugins/backwpup/

  2. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    i have changed it a littel bit and it works on my test with define('BACKWPUP_PLUGIN_BASEURL', plugins_url(BACKWPUP_PLUGIN_BASEDIR));

    i will add this to next update

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic