___ __ _ _ ___ __ _ _ __ __ __ _ _ ___
| |__| |_/ |__ |__] |__| |__] |__] |__| |_/ |__
|___ | | | \_ |___ | | | | |__] | | | \_ |___
---------------------------------------------------------------
Bake -app in C:\easyphp\www\cakephp\app (y/n)
[y] > y
Baking...
---------------------------------------------------------------
Name: app
Path: C:\easyphp\www\cakephp\app
---------------------------------------------------------------
[M]odel
[C]ontroller
[V]iew
What would you like to Bake? (M/V/C)
> C
---------------------------------------------------------------
Controller Bake:
---------------------------------------------------------------
Fatal error: Call to undefined function mysql_connect() in C:\easyphp
\www\cakeph
p\cake\libs\model\dbo\dbo_mysql.php on line 100
---------------------------------------------------------------------------------------------------------------------------------------
O.K :( Bake can generate pages but it cannot connect to my
database ...:(
I'm using window xp and is working on easyphp. The site works fine but
I want to generate my views, models and controllers automatically.
Please help!
Fatal error: Call to undefined function mysql_connect() in C:\easyphp
\www\cakeph
p\cake\libs\model\dbo\dbo_mysql.php on line 100
I really need to know how to get it to work.
----
in my database.php:
class DATABASE_CONFIG
{
var $default = array('driver' => 'mysql',
'connect' =>
'mysql_connect',
'host' =>
'localhost',
'login' =>
'root',
'password' =>
'',
'database' =>
'cake',
'prefix' => '');
var $test = array('driver' => 'mysql',
'connect' =>
'mysql_connect',
'host' => 'localhost',
'login' => 'root',
'password' => '',
'database' => 'cake',
'prefix' => '');
}
?>
-------------------------------------------
My site works fine...
But I cannot bake application by using bake.php. Please help me ...!
:( I really need to know how to bake right now ... :(
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---