• Resolved j2fb

    (@j2fb)


    Hi,

    After the latest update, every download link on my website downloads an empty “download.html” file instead of re-directing to the actual download. It was working fine before.

    However if I right click / copy link and paste that link in my browser, it works fine. It just doesn’t work when clicking the Download button.

    Any suggestions?

Viewing 3 replies - 16 through 18 (of 18 total)
  • thank you so much for the added effort <3.

    maybe opening downloads in a new windows could fix the issue.
    this how I am doing it, but it dosent work.

    <a class="download-button" target="_blank" title="<?php if ( $dlm_download->get_version()->has_version_number() ) {
    			printf( esc_html__( 'Version %s', 'download-monitor' ), esc_html( $dlm_download->get_version()->get_version_number() ) );
    		} ?>" href="<?php echo esc_url( $download->get_the_download_link() ); ?>" rel="nofollow">
    			<?php echo esc_html__( 'Download File', 'download-monitor' ); ?>
    			<small><?php echo esc_html( $dlm_download->get_version()->get_filename() ); ?> &ndash; <?php echo esc_html( $dlm_download->get_version()->get_filesize_formatted() ); ?></small>
    		</a>
    Plugin Author Razvan Aldea

    (@raldea89)

    It sill goes through XHR download, so through JS, and that seems to be the problem.

    Did you clear your phone’s caching? That might be the problem if the cache was stored on your phone before the clearing and remaking the minified files from the website. That is why in incognito it works, and also that is why for me and my colleagues it also works.

    Warmly,
    Razvan

    clearing cache did fix the issue.
    but what about my returning visitor with old cache? this is really bad.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘empty download.html’ is closed to new replies.