Archive for April 6th, 2012

Fix Null error in WordPress comment reply with wordpress-threaded-comments plugin enabled

Friday, April 6th, 2012

I'm running WordPress for already 3 years or so now. Since some very long time. The first wordpress install, I can hardly remember but it something like wordpress 2.5 or wordpress 2.4

Since quite a long time my wordpress blog is powered by a number of plugins, which I regularly update, whenever new plugins pops up …
I haven't noticed most of the time problems during major WordPress platform updates or the update of the installed extensions. However, today while I tried to reply back to one of my blog comments, I've been shocked that, I couldn't.
Pointing at the the Comment Reply box and typing inside was impossible and a null message was stayed filled in the form:

To catch what was causing this weird misbehaving with the reply comments functionality, I grepped through my /var/www/blog/wp-content/plugins/* for the movecfm(null,0,1,null):

# cd /var/www/blog/wp-content/plugins
# grep -rli 'movecfm(null,0,1,null)' */*.php
wordpress-thread-comment/wp-thread-comment.php

I've taken the string movecfm(null,0,1,null) from the browser page source in in my Firefox by pressing – Ctrl+U).

Once I knew of the problem, I first tried commenting the occurances of the null fields in wp-thread-comment.php, but as there, were other troubles in commenting this and I was lazy to read the whole code, checked online if some other fellows experienced the same shitty null void javascript error and already someone pointed at a solution. In the few minutes search I was unable to find anyone who reported for this bug, but what I found is some user threads on wordpress.org mentioning since WordPress 2.7+ the wordpress-threaded-comments is obsolete and the functionality provided by the plugin is already provided by default in newer WPinstalls.

Hence in order to enable the threaded comments WordPress (embedded) reply functionality from within the wp-admin panel used:

Settings -> Discussions -> Enable Threaded (nested) comments (Tick)

Enable Nested Comments WordPress default wp comments enable reply functionality screenshot

You see there is also an option to define how many nested comments subcomments, can be placed per comment, the default was 5, but I thought 5 is a bit low so increased it to 10 comments reply possible per comment.

Finally, to prevent the default threaded comments to interfere with the WordPress Threaded Comments plugin, disabled the plugin through menus:

Plugins -> Active -> WordPress Thread Comments (Deactivate)

This solved the weird javascript null "bug" caused by wordpress-threaded-comments once and for all.
Hopefully onwards, my blog readers will not have issues with threaded Reply Comments.

Do you know that you use GNU / Linux on work at home everyday?

Friday, April 6th, 2012

Do you know you use GNU / Linux unknowingly everyday. I bet you didn't 🙂 While reading my daily sites among which is Linux Weekly News

I came across a very interesting video which the Linux Foundation created. The video is quite nice to see. It has a bit of a technical mambo jambo which ordinary "non-englightened computer" user will not understand completely, however the main message is quite clear. The video displays, how everyday by using Google Facebook, Wikipedia, Amazon  and many other Web based services.
You untentionally become a Linux user 🙂

There is almost no person among the developed nations that doesn't have access to the internet already. Facebook already has about a billion of users the computer internet users are more than 1/3 of all the population more than 2 billion as of time of writting this post

The internet has already completely revolutionized our lives and it continues doing it. The rapid development of the internet was also more or less achieved thanks to GNU / Linux and free software which enabled non programmers to use cheap and affordable software to build tremendous Software As a Service Systems (SASS) as most of the free email services, search engines, photo sharing services, blogs you name it.

From the desktop computers Linux and plenty of free software has moved to the Mobile platforms, where it ruled the market similar to the server market. Nowdays anyone who owns android phone is running some kind of modification of the Linux kernel. MeeGO Google Phone and other "open" mobile phone architectures are more and more ruling the mobile market. Linux is also widely used along a lot of other critical services in critical information data systems like in Governments, Railway stations, Global Markets, Stock Exchange platforms, the list goes on and on. Some of the other areas Linux is heavily used is in National Security, Mobile networks, High End servers, police stations etc. etc.
The rate of adoption of Linux is steadily increasing day by, day and this is not strange since it is completely free to use by anyone for everything he might imagines.