Bug

How to make Gaim more reliable

I used Gaim and I compiled it myself. The latest version, 2.0.0 beta 6, looks very promising in term of user interface improvement. However, I got some serious issue which Gaim will crash occasionally without reason. Actually, I didn't know the reason since it was likely to occur randomly. So I decided to trace this issue by forcing Gaim to inject a core dump whenever it crashed. As a result, I have found the source of this error.

How to publish a patch on the web

One of benefits that we get from Open Source is that we have right to see and modify source codes to meet our need independently to the developer team. In other words, we don't have to wait the developer team to implement such a feature. Instead of that, I am able to implement it myself and then make a patch as a contribution to the developer team and other users.

As of now, I made patches for several projects and one of them is the patch for multiping to run on Drupal 5. I supposed that it might work for all users but not. After investigation, I found the problem and how to properly publish a patch on the web.

Patching Tagadelic module for Drupal

I have just patched Tagadelic module for Drupal to fix a bug regarding number of levels in its block. The patch has been submitted here.

How to install JDBC drivers and SAP JCo on Apache Tomcat properly

Developing web applications on Apache Tomcat is very easy including ones interact with DBMS or even SAP. The key component is JDBC driver and SAP JCo. However, common problem is about deploying the application. If you installed JDBC driver or SAP JCo improperly on Apache Tomcat, you may run it as long as you don't redeploy the application again. Whenever you redeploy the application or deploy another application using the same driver, all applications will crash immediately because the driver was not loaded properly (it was already loaded).

What if PHP gives blank page

Last night I saw something weird at Codenone. Actually, it was just a blank page returned from Drupal. PHP was set maximum memory limit to 64MB. It should be sufficient for a small site like Codenone. I noticed that the blank page often occurred on pages with comments. Below are my investigations.

  1. Blank page will occur only on some nodes with some amount of comments.
  2. There was no logs in Drupal.
  3. There was no logs in virtualhost level.

Old theme and new layout

If you notice some weird in this site, there are something wrong since I used this theme. This theme is bluebreeze. It is nearly perfect especially for SEO except only one big problem regarding anchor (see issue). Well, it is also beautiful at least for me. The theme is good but the layout is too advanced for standard CSS. I found another good layout in Aberdeen. Anyway, the theme is not for me at all. So my solution is to use Aberdeen's layout with the bluebreeze's theme.