WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
[resolved] [Download not Found] (3 posts)

  1. nano_mike
    Member
    Posted 1 year ago #

    WP V. 3.3.2
    Plugin V. 3.3.5.6

    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

    http://wordpress.org/extend/plugins/download-monitor/

  2. nano_mike
    Member
    Posted 1 year ago #

    I should add my output format is :

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

  3. nano_mike
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic