Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7716823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:43:42+00:00 2026-06-01T02:43:42+00:00

When I run cake bake all then I receive the error messages shown below.

  • 0

When I run cake bake all then I receive the error messages shown below. Is it my path?

Path on windows:

C:\wamp\bin\php\php5.3.5;C:\wamp\bin\mysql\mysql5.5.8\bin;C:\wamp\www\cakephp_bake\app\Console    

Error message:

 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->getAllTables('default')
 #3 C:\wamp\www\cakephp_bake\lib\Cake\Console\Command\Task\ModelTask.php(888): Mo
 delTask->listAll('default')
 #4 C:\wamp\www\cakephp_bake\lib\Cake\Console\Command\BakeShell.php(149): ModelTa
 sk->getName('default')
 #5 C:\wamp\www\cakephp_bake\lib\Cake\Console\Shell.php(386): BakeShell->all()
 #6 C:\wamp\www\cakephp_bake\lib\Cake\Console\ShellDispatcher.php(177): Shell->ru
 nCommand('all', Array)
 #7 C:\wamp\www\cakephp_bake\lib\Cake\Console\ShellDispatcher.php(69): ShellDispa
 tcher->dispatch()
 #8 C:\wamp\www\cakephp_bake\app\Console\cake.php(41): ShellDispatcher::run(Array
 )
 #9 {main}

 C:\wamp\www>

Let me know if I need to show anything else. Thanks.

Stackoverflow wouldn’t allow me so much code so I typed this sentence to make the editor happy.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T02:43:44+00:00Added an answer on June 1, 2026 at 2:43 am

    Check you path it is incorrect !

    Change it to

    C:\wamp\www\cakephp_bake\app\ (i.e. to your app directory)

    from

    C:\wamp\www\

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just learning CakePHP and its Bake feature. I tried to run ../cake/console/cake bake from
I run my blog using Wordpress and all too recently became a big believer
I run into similar codes like this all the time in aspx pages: <asp:CheckBox
We run an old Windows NT Machine, fully patched running IIS4.0. Today we were
Why does this code run differently in CakePHP vs. a normal PHP file? <?php
I am getting this error when I try to run a CakePHP 2.1 Shell
I have to use MS SQL Server 2008 to store data of PHP CAKE
I am developing a Cake PHP application. I am wondering if there is a
I have installed wampserver on my pc. I unzipped the cake php installation files
I run Flex Builder 3 on a mac and as my project grows -

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.