Support » Plugin: Download Monitor » Downloading 0 bytes on v1.3.2

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    From which version? Server software? (windows v linux) PHP version? etc etc

    Apache version 2.2.21
    PHP version 5.2.17
    MySQL version 5.0.96-community
    Architecture x86_64
    Operating system linux

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Could you perhaps see which one of these changes affects it?

    https://github.com/mikejolley/download-monitor/commit/70d478b0f4218b3e675b42e76cb0906e282d606c

    My downloads are working, so it must be related to environment.

    Sorry Mike, I wouldn’t even know where to start. I’ve just done HTML, no idea about php or java.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    In the includes/class-dlm-download-handler.php file, compare to the link I send. Green is whats new, red is removed (from the last version).

    Try changing:

    @ob_clean(); // Clear the output buffer

    Back to:

    while ( ob_get_level() > 0 ) @ob_end_clean();

    I don’t know why this would break, but that would be my guess.

    Hi Mike,

    The issue lies with – WordPress HTTPS (SSL) – plugin. When this plugin is activated, the download gives 0 bytes. If I deactivate it, it works fine with the current version.

    The plugin is also not working with my theme so gonna get rid of it but you might want to look into why this is happening.

    Thanks a mill for the help. Great plugin by the way 🙂

    Mike,

    Making that change you suggested fixed the problem for me.

    Just had the same issue with 1.5.1, made the change above (although it’s ob_end_clean in 1.5.1) and fixed.

    Had to make that change as well running version 1.5.1

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Downloading 0 bytes on v1.3.2’ is closed to new replies.