Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter looset

    (@looset)

    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!

    Thread Starter looset

    (@looset)

    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

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

    Mike

    (@jolley_small)

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

    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?

    Mike

    (@jolley_small)

    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.

    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 ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WordPress Download Monitor] All my downloads are gone after update!!!’ is closed to new replies.