Database Name Change

Ok… So after some more research I found: http://andrewapeterson.com/2012/08/fix-wordpress-media-library-and-attachments-broken-after-movingcloning-site/ which explains that you can’t just do a find and replace in a text editor and be good to go. Fortunately, I still had the original database, so I dropped all the tables in the tsi_ database and restored the original wp_ database. All my images … Read more

Plugin hook breaks new WP 4.0 media library grid view?

Ok, I reworked the whole thing because I was obviously printing out my info prior to where I should have. It now looks like this: //SHOW SCREEN IF OPTION CHECKED add_action( ‘admin_notices’, ‘sbah_show_current_screen’ ); function sbah_show_current_screen() { $screenoptions = get_option(‘sbah_options’); if(isset($screenoptions[‘sbah_view_screen’][0])) { $takenscreen = $screenoptions[‘sbah_view_screen’][0]; } if(isset($takenscreen)) { if( defined( ‘DOING_AJAX’ ) && DOING_AJAX ) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)