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!
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!
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!
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?
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?
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 :)
This topic has been closed to new replies.