Looks like your database connection isn't working.

On 8/12/07, yudhi prasetyo <[EMAIL PROTECTED]> wrote:
>
> Dear's all
>
> when i try learn cake with script bake.php ,i've got some trouble in it
>
> here the problem,
>
> C:\xampp\htdocs\kerjaan\cake\app>php ..\cake\scripts\bake.php
>
>  ___  __  _  _  ___  __  _  _  __      __   __  _  _  ___
> |    |__| |_/  |__  |__] |__| |__]    |__] |__| |_/  |__
> |___ |  | | \_ |___ |    |  | |       |__] |  | | \_ |___
> ---------------------------------------------------------------
>
>
> Bake -app in C:\xampp\htdocs\kerjaan\cake\app (y/n)
> [y] > y
>
>
> Baking...
> ---------------------------------------------------------------
> Name: app
> Path: C:\xampp\htdocs\kerjaan\cake\app
> ---------------------------------------------------------------
> [M]odel
> [C]ontroller
> [V]iew
>
> What would you like to Bake? (M/V/C)
> > M
> ---------------------------------------------------------------
> Model Bake:
> ---------------------------------------------------------------
> PHP Warning:  
> ConnectionManager::loadDataSource(cake\libs\model\datasources\dbo_
> source.php): failed to open stream: No such file or directory in 
> C:\xampp\htdocs
> \kerjaan\cake\cake\libs\model\connection_manager.php on line 161
>
> Warning: 
> ConnectionManager::loadDataSource(cake\libs\model\datasources\dbo_sourc
> e.php): failed to open stream: No such file or directory in 
> C:\xampp\htdocs\kerj
> aan\cake\cake\libs\model\connection_manager.php on line 161
> PHP Warning:  
> ConnectionManager::loadDataSource(cake\libs\model\dbo\dbo_mysql.ph
> p): failed to open stream: No such file or directory in 
> C:\xampp\htdocs\kerjaan\
> cake\cake\libs\model\connection_manager.php on line 161
>
> Warning: 
> ConnectionManager::loadDataSource(cake\libs\model\dbo\dbo_mysql.php): f
> ailed to open stream: No such file or directory in 
> C:\xampp\htdocs\kerjaan\cake\
> cake\libs\model\connection_manager.php on line 161
> PHP Fatal error:  Call to undefined function mysql_connect() in 
> C:\xampp\htdocs\
> kerjaan\cake\cake\libs\model\dbo\dbo_mysql.php on line 100
>
> Fatal error: Call to undefined function mysql_connect() in 
> C:\xampp\htdocs\kerja
> an\cake\cake\libs\model\dbo\dbo_mysql.php on line 100
>
>
>
> any people want to help me please ?
>
>
> thx before
>
> ps:
> i want create some controller with bake.php,but till today i cant
> create it.help pls..
>
> =)
>
>
>
>
>
>
> regards
> --
> -Yudhis
>
> >
>


-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to