title: not able to create controller from console : cakephp : showing fatal error
body: <p>I am trying to create a controller in cakephp(1.3) using console. I am using windows XP and XAMPP.</p>
  
  <p>My current cake console settings below</p>
  
  <p>C:\xampp\htdocs\cake\apressblog\cake\console>cake</p>
  
  <blockquote>
    <p>♀ Welcome to CakePHP v1.3.4 Console
    --------------------------------------------------------------- Current Paths:  -app: console 
    -working: C:\xampp\htdocs\cake\apressblog\cake\console
    -root: C:\xampp\htdocs\cake\apressblog\cake 
    -core: C:\xampp\htdocs\cake\apressblog</p>
    
    <p>Changing Paths: your working path
    should be the same as your application
    path to change your path use the
    '-app' param. Example: -app
    relative/path/to/myapp or -app
    /absolute/path/to/myapp</p>
    
    <p>Available Shells:  acl [CORE]<br>
    i18n [CORE]</p>
    
    <p>api [CORE]<br>
    schema [CORE]</p>
    
    <p>bake [CORE]<br>
    testsuite [CORE]</p>
    
    <p>console [CORE]</p>
    
    <p>To run a command, type 'cake
    shell_name [args]' To get help on a
    specific command, type 'cake
    shell_name help'</p>
    
    <p>C:\xampp\htdocs\cake\apressblog\cake\console>-app
    c:\xampp '-app' is not recognized as
    an internal or external command,
    operable program or batch file.</p>
    
    <p>C:\xampp\htdocs\cake\apressblog\cake\console></p>
  </blockquote>
  
  <p>what are the path settings I need to set for creating a controller from console ?
  I tried to change the app path but, when I type command <strong>cake</strong>  It goes app directory to console,</p>
  
  <p>Could you please help me to solve this issue</p>
  
  <p>when I try to create a controller I am getting the following error : </p>
  
  <pre><code>C:\xampp\htdocs\cake\apressblog\cake\console&gt;cake bake controller news
  
  ♀
  Welcome to CakePHP v1.3.4 Console
  ---------------------------------------------------------------
  App : console
  Path: C:\xampp\htdocs\cake\apressblog\cake\console
  ---------------------------------------------------------------
  
  Creating file C:\xampp\htdocs\cake\apressblog\cake\console\controllers\news_cont
  roller.php
  Wrote `C:\xampp\htdocs\cake\apressblog\cake\console\controllers\news_controller.
  php`
  
  You can download SimpleTest from http://simpletest.org
  Bake is detecting possible fixtures..
  
  Warning: include_once(C:\xampp\htdocs\cake\apressblog\cake\console\config\databa
  se.php): failed to open stream: No such file or directory in C:\xampp\htdocs\cak
  e\apressblog\cake\libs\model\connection_manager.php on line 23
  
  Warning: include_once(): Failed opening 'C:\xampp\htdocs\cake\apressblog\cake\co
  nsole\config\database.php' for inclusion (include_path='.;\xampp\php\PEAR') in C
  :\xampp\htdocs\cake\apressblog\cake\libs\model\connection_manager.php on line 23
  
  
  Fatal error: ConnectionManager::getDataSource - Non-existent data source default
   in C:\xampp\htdocs\cake\apressblog\cake\libs\model\connection_manager.php on li
  ne 102
  
  
  C:\xampp\htdocs\cake\apressblog\cake\console&gt;
  </code></pre>