Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi hollyrock,
    I think the moderator has all but given up here, so we’re on our own. I was able to resolve the issue I was having by adding an “external” class to the code, it’s a bit over my head, but something in the theme I’m using was interfering with the download. Here’s a communique from my web guy explaining how we resolved it on our end.

    Since the downloads links are also using short code, I was able to put a line of javascript on the downloads page that will add the “external” class to the download links. It worked great for the promo code download.

    Note that we added class="external" to the download links, and it solved the issue.

    I hope that helps, let me know how it comes out.

    – s

    UPDATE: I’ve noticed that if I refresh the page (as it is just sitting thinking) that the download will start? I think I’m on the right track, and now I can tell it’s looking in the right direction, but not sure why it gets stuck? THANKS AGAIN SO MUCH!

    I’m having this same issue, and can’t seem to get it to work. I have my wordpress installed in a directory called “wordpress”. I’ve tried to use your code here every which way I can and the best result I get is that it simply sits on the download page like it’s trying to do something but nothing happenS, just keeps sitting there in a busy state.

    Using the entire code you posted for line 95 gives me errors, looks a bit different than what I have, but I’ve arrived at this for line 95:

    $html .= '<p><a href="http://' . $_SERVER['HTTP_HOST'] . ( strpos( $_SERVER['REQUEST_URI'], '?' ) >= 0 ? substr( $_SERVER['REQUEST_URI'], 0, strpos( $_SERVER['REQUEST_URI'], '?' ) ) : $_SERVER['REQUEST_URI'] ) . "/wordpress/index.php" . '?lease=' . $download_lease_id . '">' . ( $release->artist ? $release->artist . ' - ' : '' ) . $release->title . '</a> ' . format_bytes( filesize( dc_file_location() . $release->filename ) ) . '</p>';

    Notice that I’ve indicated where my wordpress is located, but can’t seem to get it to work. BTW, I had the codes working fine when I initially installed this, so I’m not sure why they aren’t working now?

    Any and all suggestions would be greatly appreciated!

    url: http://www.patchworxmusic.com/wordpress/downloads/

    code for testing: BIGERYZ1S59

    THANKS!

Viewing 3 replies - 1 through 3 (of 3 total)