FilChi Weblog

Posts Tagged ‘cakephp

if you still remember that on my previous post, I was able to create a bootable ubuntu Hardy Heron on my usb flash drive. But, I just re-formatted my usb drive to experiment again on a different idea.

Read the rest of this entry »


Two days before this is posted on this blog, I encountered an issue with the sessions in cakephp on my personal cakephp project. I felt frustrated when I realized that the sessions do not load when logging in.

Read the rest of this entry »

Why do I hate the “noob” word? Some people might misinterpret someone called “noob” as being stupid. Let me clarify its meaning: noob means newbie, people! And that means, you are basically somewhat new to something. Being noob is not the same as being not knowledgeable about all things. I won’t let anyone call me a “noob” anymore. try me. dare me. make my day…

I just don’t get it. I didn’t say “you’re a noob” to anyone. But I am called a noob?! Grrr….

No, actually, I have had a lot of things in mind to blog about but, sad to say, I don’t have time for it. They are still here in my drafts posts. They are very interesting posts, actually…

drafts posts

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.

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.

Flickr Photos