Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author Fabian

    (@fabifott)

    Can you please try to edit wpfb-ajax.php:

    starting at line 7:

    function wpfb_print_json($obj) {
    	@ob_end_clean();
    	if(!WP_DEBUG)
    		@header('Content-Type: application/json; charset=' . get_option('blog_charset'));
    	echo json_encode($obj);
    	@ob_flush();
    	@flush();
    	exit;
    }

    replace with:

    function wpfb_print_json($obj) {
    	@ob_end_clean();
    	if(!WP_DEBUG)
    		@header('Content-Type: application/json; charset=' . get_option('blog_charset'));
    	$json = json_encode($obj);
    	@header('Content-Length: '.strlen($json));
    	echo $json;
    	exit;
    }

    If this does not help, edit wp-config.php to enable WP_DEBUG.

    Hi!

    Thanks for your answer!

    I made the changes you suggested above, but unfortunately it didn′t help.

    WP debug is now set to true, but it doesn′t give me any leads…

    Plugin Author Fabian

    (@fabifott)

    try removing the line @ob_end_clean() in the edited code.

    YES!!! IT WORKS!!

    From the bottom of my heart – thank you!!

    Plugin Author Fabian

    (@fabifott)

    Cool, I’m glad to see it works :). Fix will be included in the next.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘[Plugin: WP-Filebase Download Manager] Not loading’ is closed to new replies.