FilChi Weblog

Archive for January 2008

New Layout

Posted by: phpcurious on: January 19, 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!

Tags:

cannot add a new record when scaffolding in cakephp 1.2 ?

Posted by: phpcurious on: January 18, 2008

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: http://groups.google.fr/group/cake-php/browse_thread/thread/a0b1a35c1909d5db )
Note: I think this [...]

How to call a controller/action in crontab?

Posted by: filchiprogrammer on: January 8, 2008

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 [...]

Fatal error: Class ‘ConnectionManager’ not found

Posted by: phpcurious on: January 7, 2008

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(‘Session.save’, ‘database’);
Configure::write(‘Session.table’, ‘cake_sessions’);
Configure::write(‘Session.database’, ‘default’);
Configure::write(‘Session.start’, false);

The error appears.

Ruby on Rails Programmer

Posted by: phpcurious on: January 4, 2008

Email from Mark William Campillanes is shown below:
Hi,
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 [...]


Flickr Photos

Cris Daquiz Despedida Party

Getz Bros Summer Outing 2009

The other teams

Our Team vs. Francis' Team

guys of Getz Bros Philippines

More Photos