Sanjeev Sabhlok's notes on technology, hardware, gardening

Category: Uncategorized

Recover missing wp_termmeta table in WordPress.

THERE IS ONLY ONE WAY TO FIX THIS ISSUE.

Run the following SQL query in phpmyadmin (make sure you put in your prefix after wp_ in case you have customised prefixes):


CREATE TABLE `wp_termmeta` (
  `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `term_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta_value` longtext COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`meta_id`),
  KEY `term_id` (`term_id`),
  KEY `meta_key` (`meta_key`(191))
) ENGINE=InnoDB AUTO_INCREMENT=3255 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
Continue Reading

How to read epub version of Breaking Free of Nehru on google play (on Android mobile phones)

  1. Go to Google Play (the store) and search for google play books – install the app ON YOUR MOBILE PHONE.
  2. Download the epub version of BFN (click here) ON YOUR PC/LAPTOP
  3. Open Google Play books ON YOUR PC/LAPTOP through your browser (click here). Log in with your google account.
  4. On the left hand side top section you’ll find “My books”. Click it.
  5. On the right hand top section you’ll find “upload files”. Click and upload the BFN’s epub version on your google play account.
  6. Now, ON YOUR ANDROID PHONE, go to the google play books app. You’ll see BFN – click the arrow at the bottom to download to your mobile phone.

That’s it. Now you are ready to read.

The beauty is that you can not only change the font size, etc. but you can also make notes which directly go to your google drive. (I forget right now what needs to be done to activate this option, but this is a great option; in my case I have automatic notes files generated from my epub books to my google drive).

Btw, I often search for epub books on this pirate store (it is OK – no malware so far): http://bookzz.org/ – you can download and read 10000s of epub books from this store.

Continue Reading

WordPress update has failed. Solution:

When it fails (basically at the “unpacking: stage), solution is to go into cpanel, pick the wordpress installer and use it to update. It works.

Continue Reading