Note that there are some explanatory texts on larger screens.

plurals
  1. POCakePHP cake bake all error
    primarykey
    data
    text
    <p>When I run cake bake all then I receive the error messages shown below. Is it my path?</p> <p>Path on windows: </p> <pre><code>C:\wamp\bin\php\php5.3.5;C:\wamp\bin\mysql\mysql5.5.8\bin;C:\wamp\www\cakephp_bake\app\Console </code></pre> <p>Error message:</p> <pre><code> Welcome to CakePHP v2.0.6 Console --------------------------------------------------------------- App : www Path: C:\wamp\www\ --------------------------------------------------------------- Bake All --------------------------------------------------------------- Warning Error: include_once(C:\wamp\www\Config\database.php): failed to open str eam: No such file or directory in [C:\wamp\www\cakephp_bake\lib\Cake\Model\Conne ctionManager.php, line 68] Warning Error: include_once(): Failed opening 'C:\wamp\www\Config\database.php' for inclusion (include_path='C:\wamp\www\cakephp_bake\lib;.;C:\php\pear') in [C: \wamp\www\cakephp_bake\lib\Cake\Model\ConnectionManager.php, line 68] Error: The datasource configuration "default" was not found in database.php #0 C:\wamp\www\cakephp_bake\lib\Cake\Model\ConnectionManager.php(94): Connection Manager::_getConnectionObject('default') #1 C:\wamp\www\cakephp_bake\lib\Cake\Console\Command\Task\ModelTask.php(862): Co nnectionManager::getDataSource('default') #2 C:\wamp\www\cakephp_bake\lib\Cake\Console\Command\Task\ModelTask.php(800): Mo delTask-&gt;getAllTables('default') #3 C:\wamp\www\cakephp_bake\lib\Cake\Console\Command\Task\ModelTask.php(888): Mo delTask-&gt;listAll('default') #4 C:\wamp\www\cakephp_bake\lib\Cake\Console\Command\BakeShell.php(149): ModelTa sk-&gt;getName('default') #5 C:\wamp\www\cakephp_bake\lib\Cake\Console\Shell.php(386): BakeShell-&gt;all() #6 C:\wamp\www\cakephp_bake\lib\Cake\Console\ShellDispatcher.php(177): Shell-&gt;ru nCommand('all', Array) #7 C:\wamp\www\cakephp_bake\lib\Cake\Console\ShellDispatcher.php(69): ShellDispa tcher-&gt;dispatch() #8 C:\wamp\www\cakephp_bake\app\Console\cake.php(41): ShellDispatcher::run(Array ) #9 {main} C:\wamp\www&gt; </code></pre> <p>Let me know if I need to show anything else. Thanks.</p> <p>Stackoverflow wouldn't allow me so much code so I typed this sentence to make the editor happy.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload