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

  1. nano_mike
    Posted 4 years ago #

    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


  2. nano_mike
    Posted 4 years ago #

    I should add my output format is :

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

  3. nano_mike
    Posted 4 years 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

  • Download Monitor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic