Forums

[Plugin: Wordpress Download Monitor] Issues with 3.2.2 upgrade (11 posts)

  1. rschilt
    Member
    Posted 1 month ago #

    Hi,

    Have just upgraded from 3.2.1 to latest 3.2.2 and there appears to be an issue after upgrading the plugin.

    I mainly use to [download_page] feature and on the page I have this shortcode included (http://www.trupela.com/resources/) the followinbg error is always displayed at the top of the screen:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3]
    SELECT _DLM_DOWNLOADS.id FROM _DLM_DOWNLOADS LEFT JOIN _DLM_CATS ON _DLM_DOWNLOADS.category_id = _DLM_CATS.id WHERE _DLM_CATS.id IN ();

    Have recreated the DLM database and also recreated permalinks, emptied browser cache and logged out. Still the same error.

    Any feedback on others experiencing this issue after 3.2.2 upgrade would be greatly appreciated.

    Regards,

    R

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

  2. dcktheone
    Member
    Posted 1 month ago #

    I can add another issue. When I updated to 3.2.2 the ability to upload or add existing downloads are gone. When I try to add something from within the post page, i'll get this in dialog

    You do not have permission to upload files/downloads.

  3. rschilt
    Member
    Posted 1 month ago #

    Also seeing this error message on various WP admin screens since the upgrade:

    An unexpected HTTP Error occurred during the API request.
    Try again

    R

  4. sklang
    Member
    Posted 1 month ago #

    @dcktheone and anybody else experiencing issues with the file browser on the 'Add Existing' page: If you have access, update the file at wp-content/plugins/download-monitor/wp-download_monitor.php and change Line 165 from:
    root_dir: '<?php echo get_option('wp_dlm_file_browser_root'); ?>',

    To:
    root: '<?php echo get_option('wp_dlm_file_browser_root'); ?>',

    This is a temporary fix and will be overwritten if you update the plugin (hopefully this will be sorted in the next update anyway!).

  5. sklang
    Member
    Posted 1 month ago #

    Also make sure you have set the file browser root to a folder that you have access to in Downloads > Configuration > General Options > File Browser Root. This needs to be in file system form, not a URL.

  6. dcktheone
    Member
    Posted 1 month ago #

    Still no luck, I cannot add new existing download (or any other).

  7. jolley_small
    Member
    Posted 1 month ago #

    dcktheone - Deactivate and reactivate. If you are using a role plugin then re-apply the settings there too. The capabilities had to be renamed in this version as they were too long.

    Admin is the only level which can add downloads by default, if you want other user levels to be able to do so then you need a plugin (there is a link to a good one in the readme).

    --

    Looking into the other issues.

  8. jolley_small
    Member
    Posted 1 month ago #

    Ok, fixed the query errors and will update asap. I did not see them, apologies.

    rschilt - I think your http problems are unrelated http://wordpress.org/support/topic/215527?replies=25

  9. jolley_small
    Member
    Posted 1 month ago #

    sklang - thanks for noticing the root/root_dir thing - I must have used search and replace and forgot about it.

  10. sklang
    Member
    Posted 1 month ago #

    @jolley_small no problem, I just checked the JS file which was nicely commented and included a list of arguments :)

    Great plugin by the way, I'm using it to monitor podcast downloads and also populate the MP3 player's playlist (made a little script to query the download monitors DB tables) on my brother's site:
    Groovement

  11. jolley_small
    Member
    Posted 1 month ago #

    @sklang glad its useful :)

Reply

You must log in to post.

About this Topic