FilChi Weblog

Archive for January 2008

I decided to change the layout of my wordpress hosted blog, because I feel that the previous design isn’t anymore appealing, and organized. If you have any comments, feedback and suggestions about the change in theme, please post it as a comment. Thank you!


If it happens to you that when you add a new record when scaffolding in cakephp 1.2 beta version, check if your mysql version is 5.1 or later, and check in my.ini of your mysql server and remove that “STRICT_TRANS_TABLES” setting, and then your cake scaffold will work just fine.

(source: )

Note: I think this is just a temporary fix. I was informed in irc that this bug is already fixed. It is advisable to get the latest code thru svn.

If you want to call a controller/action in crontab, you simply must:

1. create a copy of index.php in your app’s webroot directory,
and rename it to cron_dispatcher.php or to any filename.

2. after this, somewhere in line 78 of index.php of your app’s webroot directory,

require CORE_PATH . ‘cake’ . DS . ‘bootstrap.php’;

put code:

if($argc == 2) {
$Dispatcher= new Dispatcher();

this code will get argument from php commandline having index = 1.

so, in your crontab,

* * * * php -q /var/www/html/cake/webroot/cron_dispatcher.php Controller/action

In CakePHP 1.2 beta version, when you attempt to use/set Sessions in app/config/core.php, you might encounter this problem:

Fatal error: Class ‘ConnectionManager’ not found in CORE/cake/libs/session.php on line 704.

When I tried changing these settings:

Configure::write(‘’, ‘database’);
Configure::write(‘Session.table’, ‘cake_sessions’);
Configure::write(‘Session.database’, ‘default’);
Configure::write(‘Session.start’, false);

The error appears.

Email from Mark William Campillanes is shown below:


An International Company is greatly in need of a Ruby on Rails
Programmer. The post offers a promising career growth and of course a very
competitive compensation package. I decided to shoot an e-mail to you
because I just would like to ask and also try out if ever you can refer or
you know someone who is apt for the position. I am very much willing to
discuss further the details of the above-mentioned job vacancy to qualified
and interested individuals. This is for a permanent employment. We are
sincerely eyeing for someone who can lead the account with sufficient
knowledge and background in ruby on rails. We are very much willing to
elaborate the lucrative components of this post. You can reach me at

Thank you so much

God Speed!


1. Be more consistent with the system’s layout to make existing features of the system immediately obvious to the eye of the user.

2. Be more accurate with the information that the system is viewing.

3. Always be updated with the latest version of the latest PHP framework which the system is built on.

4. Be able to run faster and improve performance.

5. To finish what have been already started.