Hi Cakes,
Is there anybody come across this problem? When I try to run cron job in
cake console, it print out this error.

PHP Fatal error:  Class 'Router' not found in cake\libs\view\helper.php on
line 178

If I change to $html->link to <a href =''>xxx</a>, there will be no this
error.

My Shell Scripts like this:
[code]
class AbcShell extends Shell {
    var $uses = array('modelA' );
    var $helpers = array('Html','Javascript');

   function main(){
//....
   }

[/code]


Is there anything I missed? Thanks in advance for your reply.

Joshua

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to