WordPress.org

Support

Support » Plugins and Hacks » Exports and Reports » Cannot download – error :-(

Cannot download – error :-(

Viewing 2 replies - 1 through 2 (of 2 total)
  • fantomas_bg

    @fantomas_bg

    Mark I just fixed it for myself. You have to do a few things:
    in this file plugins\exports-and-reports\wp-admin-ui\Admin.class.php

    1. (line 13) change: if(isset($_GET[‘download’]) && !isset($_GET[‘page’]) && is_user_logged_in() && isset($_GET[‘_wpnonce’]) && false === wp_verify_nonce($_GET[‘_wpnonce’], ‘wp-admin-ui-export’))

    to: if(isset($_GET[‘download’]) && !isset($_GET[‘page’]) && is_user_logged_in() && isset($_GET[‘_wpnonce’]) && false != wp_verify_nonce($_GET[‘_wpnonce’], ‘wp-admin-ui-export’))

    2. after line 16 add: $file = str_replace(‘\\’, ‘/’, $file);

    3. line 122 change: $this->base_url = WP_CONTENT_URL.str_replace(WP_CONTENT_DIR,”,__FILE__);

    to: $this->base_url = plugins_url( ‘Admin.class.php’, __FILE__ );

    Then the file exports should work.

    Plugin Author Scott Kingsley Clark

    @sc0ttkclark

    I’ll take a look at this, sorry for the delay. I’ve been deep into Pods development and haven’t had much free time since the 2.0 launch.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot download – error :-(’ is closed to new replies.
Skip to toolbar