Forums

[Plugin: WordPress Download Monitor] All my downloads are gone after update!!! (8 posts)

  1. looset
    Member
    Posted 2 years ago #

    All my downloads are gone. I see no downloads in admin page, no downloads styles and my pages are full of broken links...PLEASE HELP!

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

  2. looset
    Member
    Posted 2 years ago #

    the new downloads folder is automatically moved to /wp-content/uploads/downloads instead original /wp-content/uploads/

    Please help me as soon as possoble...students starting to donwload materials for their works and they bombing me about broken links fixing!

  3. looset
    Member
    Posted 2 years ago #

    Kind help from author:

    Go back to phpmyadmin, delete the new ones (again) if they are there and goto the sql tab. Run the following query and see if it comes back with an error:

    RENAME TABLE wp_DLM_DOWNLOADS TO wp_download_monitor_files

  4. fr33think3r
    Member
    Posted 2 years ago #

    I don't have access to phpMyAdmin, and have the same issue, how did you solve the issue?

  5. Mike
    Member
    Posted 2 years ago #

    He removed the new (empty) wp_download_monitor_ tables and ran the upgrade script again.

  6. fr33think3r
    Member
    Posted 2 years ago #

    How do I achieve that if I do not have access to phpMyAdmin or ssh? I just have sftp access. will it possible to write a query inside php, upload it and run it?

  7. Mike
    Member
    Posted 2 years ago #

    Hmm that could be a pain.. deactivate the plugin first then use something like:

    global $wpdb, $table_prefix;
    
    $wp_dlm_db = $table_prefix."download_monitor_files";
    $wp_dlm_db_taxonomies = $table_prefix."download_monitor_taxonomies";
    $wp_dlm_db_relationships = $table_prefix."download_monitor_relationships";
    $wp_dlm_db_formats = $table_prefix."download_monitor_formats";
    $wp_dlm_db_stats = $table_prefix."download_monitor_stats";
    $wp_dlm_db_log = $table_prefix."download_monitor_log";
    $wp_dlm_db_meta = $table_prefix."download_monitor_file_meta";
    
    $wpdb->query("DROP TABLE IF EXISTS $wp_dlm_db;");
    $wpdb->query("DROP TABLE IF EXISTS $wp_dlm_db_taxonomies;");
    $wpdb->query("DROP TABLE IF EXISTS $wp_dlm_db_relationships;");
    $wpdb->query("DROP TABLE IF EXISTS $wp_dlm_db_formats;");
    $wpdb->query("DROP TABLE IF EXISTS $wp_dlm_db_stats;");
    $wpdb->query("DROP TABLE IF EXISTS $wp_dlm_db_log;");
    $wpdb->query("DROP TABLE IF EXISTS $wp_dlm_db_meta;");

    That will clear the new tables.

  8. fr33think3r
    Member
    Posted 2 years ago #

    Thanks a ton, that worked beautifully for me. Just added
    require( dirname(__FILE__) . '/wp-load.php' );
    to what you gave.

    I don't have a job right now, but am definitely gonna buy you a few beers, once I have one :)

Topic Closed

This topic has been closed to new replies.

About this Topic