Support » Plugin: Download Monitor » [Plugin: WordPress Download Monitor] [Download not Found]

  • Resolved nano_mike


    WP V. 3.3.2
    Plugin V.

    When I try to include a single download, I get [Download not found]

    The [#advanced_downloads] shortcode still works fine, as well as the [downloads query=”category=XX”] shortcode.

    All I managed to do is track it down to wp_dlm_shortcode_download( $atts ) in this chunk:

    if ($fpatts && $fsubs) {
    	$output = str_replace( $fpatts , $fsubs , $format );
    } else $output = '[Download not found]';

    Any help would be greatly appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • I should add my output format is :

    <a href="{url}" title="{title}">{title}</a>

    Ok, I found the problem.

    I am using some custom page templates that open a connection to a completely different DB. At the point where Download Monitor queries for the download, I happened to have changed the current DB to something else, so of course no results were returned.

    A case of user error. No fault of Download monitor..
    (I just don’t understand why it worked before?!?! )

    Thanks again for a great plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress Download Monitor] [Download not Found]’ is closed to new replies.