WordPress.org

Support

Support » Plugins and Hacks » Exports and Reports » [Resolved] [Plugin: Exports and Reports] Just displays a blank browser page on export

[Resolved] [Plugin: Exports and Reports] Just displays a blank browser page on export

Viewing 7 replies - 1 through 7 (of 7 total)
  • I am having the same problem. The report runs and I can see the records in the admin, but when clicking on the CSV button It’s nothing but a blank screen.

    Decided to try and older version of the plugin and it works (0.5.1 (svn))

    I just fixed it for myself for the latest version. 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.

    fantomas_bg, thanks for sharing that!

    Plugin Author Scott Kingsley Clark

    @sc0ttkclark

    Sorry for the delay. I’ve been deep into Pods development and haven’t had much free time since the 2.0 launch.

    Thanks @fantomas_bg for the suggested fix, will implement soon.

    Thanks fantomas_bg. I just had this problem too.

    Plugin Author Scott Kingsley Clark

    @sc0ttkclark

    Sorry for the delay, I’ve had my hands full with development of Pods.

    I’ve implemented the fix as posted here into Exports and Reports 0.5.3, just now released.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Exports and Reports] Just displays a blank browser page on export’ is closed to new replies.
Skip to toolbar