Januari 24, 2010
By
Firman
I got the bugs nailed down. Firebug helped a lot in the process. I could never imagine how hard it would be without Firebug. If you are serious Javascript programmer, you should really learn to use this.
Two tabs which are most useful to me were the console and the script tabs. The console tab lets you see in real time the flow of the program. Which function/method is being called. What error message is output. Etc.
The script tag lets you define break point and inspect the value of the variables.
Januari 22, 2010
By
Firman
OK so I have tinkered with the Apache settings. I managed to get rid of the error message in the log. I only needed to add this line to the file /etc/apache2/sites-enabled/000-default
Options +Indexes
AllowOverride All
Order allow,deny
allow from all
The magic is done by the Options +Indexes. It allows directory to be listed. But even after I did that, and no error message in the log, my module still would not show. I suspect it is because the javascript is not executing. I will debug it using firebug. I have just learnt how to use this nifty tool! I will report again later.