Database error, table doesn’t exist
-
Hi,
I was trying to install the plugin in a live environment (AWS), and I’ve got a huge (~90MB) error log. One line (repeated):WordPress database error Table 'mydomain.wp_mgmlp_folders' doesn't exist for query select post_title, ID, wp_mgmlp_folders.folder_id from wp_posts LEFT JOIN wp_mgmlp_folders ON(wp_posts.ID = wp_mgmlp_folders.post_id) where ID = 8888 made by do_action('toplevel_page_media-library-folders'), WP_Hook->do_action, WP_Hook->apply_filters, MaxGalleriaMediaLib->media_library, MaxGalleriaMediaLib->get_parents, QM_DB->queryAs it turned out, MLP didn’t create the table, so I added it by hand, then used the ‘Reset Database’ function in the Reset plugin.
I had to also modify the code to make it work.
maxgalleria-media-library.php:2321: $folder_id -> ‘$folder_id’
maxgalleria-media-library.php:511: deleteENGINE=MyISAM
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Database error, table doesn’t exist’ is closed to new replies.