Blog Index for March 2016

The simple cure if a Wordpress custom content type doesn't display, but gives a 404 page not found

(Thu Mar 17 2016 00:00:00 GMT+0200 (Eastern European Standard Time)) Sometimes custom content types stop displaying, on a Wordpress site.

How to restore a MySQL database and tables from .frm .ibd or .myd raw database files

(Wed Mar 16 2016 00:00:00 GMT+0200 (Eastern European Standard Time)) Consider a situation - you've got a well tuned MySQL database server running some popular websites. The sites are implemented with Drupal and Wordpress, but using MySQL to store the content and settings. You think everything is fine, until one day you look at Google Analytics and are aghast to see zero traffic for the previous two days. You go to the websites and are greeted by a 404 error, with the server saying there's nothing there. You try logging into the server, but cannot, your login attempt is refused. You contact the hosting provider for help, and they tell you the directory containing all your websites and other files is completely empty. Oh.. and there's a note left behind from someone giving an http-something-or-other URL to click on, demanding payment in order for the server to be restored.