Archive for 'Internet'
WP-Hive upgrade prevents WordPress login
Posted on 08. Oct, 2009 by Krishnan.
I upgraded the wp-hive plug-in to version 0.5 earlier today. It wasn’t an active plugin for me and I needn’t have upgraded it. But I did it earlier today and didn’t think twice about it.
Later, I found out that I could not login into WordPress as an administrator. Everything else seemed to be working fine. Site was up and running as usual, but I couldn’t access my dashboard.
When I checked the WordPress database through phpMyAdmin the wp_options table was perfect. I was soon able to figure out that this was not a WordPress problem.
So I started troubleshooting by trying to undo my last set of actions, one of which was upgrading the wp-hive plugin. Renaming the wp-hive folder gave an serious error and brought the site down. With that I was able to narrow down the problem to the file
/wp-contents/db.php
I remmed out the line
/*require_once( WP_CONTENT_DIR . ‘/plugins/wp-hive/do-prefix.php’);
*/
Everything is back to normal for me now because I dont use wp-hive.
I didn’t find anything about this problem in Google, so I decided to write this down.

Continue Reading
How to: Carry Wikipedia content on a USB pen drive
Posted on 17. Sep, 2009 by Krishnan.
This instruction is meant for Windows users.
You’ll need atleast a 16 GB pendrive to carry Wikipedia.
Method 1 : Easy method
For those who are not willing to go through a lot of pain in learning new things, this is the simpler method
- First download the latest content from Wikipedia. This is a single file of size 5.1 GB as on today and downloading could take hours.
- The latest dump is presently at http://dumps.wikimedia.org/enwiki/latest/enwiki-latest-pages-articles.xml.bz2. Copy the downloaded .bz2 file to, say C:\wikipedia.
- After this 5.1 GB download is complete, it is necessary to download the software that can read this huge file.
- The simplest is wikitaxi. Download Wikitaxi and unzip to the same folder, C:\wikipedia
- You should see two executable files now. The wikitaxi executable is the one that should be used to run wikipedia. The wikitaxi importer executable is the one we need to use to convert the .bz2 file downloaded into a .taxi file.
- Run the wikitaxi importer executable and let it convert the .bz2 file into a .taxi file. This takes a long time and produces a single 9.2 GB file with a .taxi extension.
- Once .taxi file is made run the wikitaxi executable and open the .taxi file. You should be able to browse the content of wikipedia, but with a slightly different look.
- Now copy the C:\wikipedia folder to a pendrive and you have a portable version for personal reference.
Method 2: For the geeks
You probably don’t need to read this, but the best way is to clearly to host the entire content on the same platform that Wikipedia does.
- Install XAMPP on a pen drive
- Install Mediawiki on XAMPP
- Download the latest Wikipedia dump
- Import the dump to Mediawiki.
Voila! You have the portable and perfect replica of Wikipedia.
Continue Reading
Notes for 2009-09-07
Posted on 07. Sep, 2009 by Krishnan.
- One more method of writing math equations in wordpress – But not elegant. http://bit.ly/3G1QSt #
- Incandescent Bulbs Return to the Cutting Edge http://bit.ly/ThlbY #
- #Chandrayaan-I failure was caused by miscalculation of temperature – http://bit.ly/sv87i #

















































