Re: CakePHP 2.0.0 release

2011-10-25 Thread zer0_gravity
I Thanks everyone who responded to my enquiry. I Hope in future
release of cakephp the developers should disclaim any modules required
for any new releases to work. I finally got it to work with much pain
and sleepless nights I was able to install PDO_Mysql extension.

On Oct 19, 10:32 pm, Ryan Schmidt  wrote:
> On Oct 19, 2011, at 22:23, f.f wrote:
>
> > I got the same error [Cake is NOT able to connect to the database]
>
> > and I have check the phpinfo
>
> > PDO
> > PDO support         enabled
> > PDO drivers         sqlite, sqlite2
>
> > PDO_SQLITE
> > PDO Driver for SQLite 3.x   enabled
> > PECL Module version         (bundled) 1.0.1 $Id: pdo_sqlite.c 272374 
> > 2008-12-31 11:17:49Z sebastian $
> > SQLite Library      3.3.7
>
> Great, you've got the PDO driver itself (which is built into PHP) and the PDO 
> sqlite3 driver. But if you want to connect to a mysql database with PDO, you 
> need to install the PDO mysql driver.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-20 Thread mark_story
The main reason is PDO gives a better API for interacting with various
database servers.  Maintaining the various native driver extensions
was a bit painful, so we decided to use an easier to use API that
would allow for less code to be used for the same basic job as before.

-Mark

On Oct 19, 11:45 pm, "f.f"  wrote:
> Thanks.
>
> but I   use the rent server, I cannot install PDO mysql driver.
>
> [?]
>
> why is it cakephp 2.0.0 changed the way of connect the mysql DB.
>
> 2011/10/20 Andras Kende 
>
>
>
>
>
>
>
> > Hello,
>
> > Look like you don't have the mysql PDO configured
>
> > Just checked my phpinfop():
>
> > PDOPDO supportenabledPDO driversmysql, pgsql, sqlite, sqlite2
> > pdo_mysqlPDO Driver for MySQLenabledClient API versionmysqlnd 5.0.8-dev -
> > 20102224 - $Revision: 308673 $
> > DirectiveLocal ValueMaster Valuepdo_mysql.default_socket/tmp/mysql.sock
> > /tmp/mysql.sock
>
> > Andras Kende
>
> > On Oct 19, 2011, at 10:23 PM, f.f wrote:
>
> > I got the same error [Cake is NOT able to connect to the database]
>
> > and I have check the phpinfo
>
> > PDO  PDO support enabled PDO drivers sqlite, sqlite2
> > PDO_SQLITE  PDO Driver for SQLite 3.x enabled PECL Module version(bundled) 
> > 1.0.1 $Id: pdo_sqlite.c 272374 2008-12-31
> > 11:17:49Z sebastian $ SQLite Library 3.3.7
>
> > Hope get some helps.
>
> > 2011/10/18 zer0_gravity 
>
> >> Hi everyone
> >> I just install Cake 2.0.0 and I am having an issue with it. The issue
> >> is that cakePHP is not able to connect to the database (Mysql). I
> >> check the database config file to make sure that it is configured
> >> properly but the strangest thing is that when I installed an older
> >> version(1.3.13) there is no problem for cake connecting to the
> >> database (Mysql)? What is happening here?
>
> >> --
> >> Our newest site for the community: CakePHP Video Tutorials
> >>http://tv.cakephp.org
> >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> >> others with their CakePHP related questions.
>
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> >> athttp://groups.google.com/group/cake-php
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php
> > <未命名.jpg>
>
> >  --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php
>
>
>
>  33A.gif
> < 1KViewDownload

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-19 Thread Ryan Schmidt
On Oct 19, 2011, at 22:45, f.f wrote:

> Thanks.
> 
> but I   use the rent server, I cannot install PDO mysql driver. 

Then ask your hosting company to install it for you.

> why is it cakephp 2.0.0 changed the way of connect the mysql DB.

Part of the purpose of the CakePHP 2 release was to remove crufty old code 
(including code for compatibility with older PHP versions) and replace it with 
shiny new modern code. And PDO is the "new" modern cool way to connect to 
databases in PHP, which offers many advantages you can read about in the PHP 
documentation. It's been around since at least 2005, so it's not really new 
anymore, and if your hosting company doesn't offer it for MySQL, then they're 
seriously behind the times and you should switch to another hosting company 
that's more aware of how PHP is used these days.


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-19 Thread José Lorenzo
Can you link to your hosting provider web page? also... can you paste the 
complete phpinfo() ?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-19 Thread f.f
Thanks.

but I   use the rent server, I cannot install PDO mysql driver.

[?]

why is it cakephp 2.0.0 changed the way of connect the mysql DB.



2011/10/20 Andras Kende 

> Hello,
>
>
> Look like you don't have the mysql PDO configured
>
>
> Just checked my phpinfop():
>
> PDOPDO supportenabledPDO driversmysql, pgsql, sqlite, sqlite2
> pdo_mysqlPDO Driver for MySQLenabledClient API versionmysqlnd 5.0.8-dev -
> 20102224 - $Revision: 308673 $
> DirectiveLocal ValueMaster Valuepdo_mysql.default_socket/tmp/mysql.sock
> /tmp/mysql.sock
>
>
>
> Andras Kende
>
>
>
> On Oct 19, 2011, at 10:23 PM, f.f wrote:
>
> I got the same error [Cake is NOT able to connect to the database]
>
> and I have check the phpinfo
>
> PDO  PDO support enabled PDO drivers sqlite, sqlite2
> PDO_SQLITE  PDO Driver for SQLite 3.x enabled PECL Module version(bundled) 
> 1.0.1 $Id: pdo_sqlite.c 272374 2008-12-31
> 11:17:49Z sebastian $ SQLite Library 3.3.7
>
> Hope get some helps.
>
> 2011/10/18 zer0_gravity 
>
>> Hi everyone
>> I just install Cake 2.0.0 and I am having an issue with it. The issue
>> is that cakePHP is not able to connect to the database (Mysql). I
>> check the database config file to make sure that it is configured
>> properly but the strangest thing is that when I installed an older
>> version(1.3.13) there is no problem for cake connecting to the
>> database (Mysql)? What is happening here?
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
> <未命名.jpg>
>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php
<<33A.gif>>

Re: CakePHP 2.0.0 release

2011-10-19 Thread Andras Kende
Hello,


Look like you don't have the mysql PDO configured


Just checked my phpinfop():

PDO

PDO support enabled
PDO drivers mysql, pgsql, sqlite, sqlite2

pdo_mysql

PDO Driver for MySQLenabled
Client API version  mysqlnd 5.0.8-dev - 20102224 - $Revision: 308673 $

Directive   Local Value Master Value
pdo_mysql.default_socket/tmp/mysql.sock /tmp/mysql.sock



Andras Kende



On Oct 19, 2011, at 10:23 PM, f.f wrote:

> I got the same error [Cake is NOT able to connect to the database]
> 
> and I have check the phpinfo 
> 
> PDO
> PDO supportenabled
> PDO driverssqlite, sqlite2
> 
> PDO_SQLITE
> PDO Driver for SQLite 3.x  enabled
> PECL Module version(bundled) 1.0.1 $Id: pdo_sqlite.c 272374 2008-12-31 
> 11:17:49Z sebastian $
> SQLite Library 3.3.7
> 
> 
> Hope get some helps.
> 
> 2011/10/18 zer0_gravity 
> Hi everyone
> I just install Cake 2.0.0 and I am having an issue with it. The issue
> is that cakePHP is not able to connect to the database (Mysql). I
> check the database config file to make sure that it is configured
> properly but the strangest thing is that when I installed an older
> version(1.3.13) there is no problem for cake connecting to the
> database (Mysql)? What is happening here?
> 
> --
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
> <未命名.jpg>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-19 Thread Ryan Schmidt
On Oct 19, 2011, at 22:23, f.f wrote:

> I got the same error [Cake is NOT able to connect to the database]
> 
> and I have check the phpinfo 
> 
> PDO
> PDO supportenabled
> PDO driverssqlite, sqlite2
> 
> PDO_SQLITE
> PDO Driver for SQLite 3.x  enabled
> PECL Module version(bundled) 1.0.1 $Id: pdo_sqlite.c 272374 2008-12-31 
> 11:17:49Z sebastian $
> SQLite Library 3.3.7

Great, you've got the PDO driver itself (which is built into PHP) and the PDO 
sqlite3 driver. But if you want to connect to a mysql database with PDO, you 
need to install the PDO mysql driver.


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-19 Thread mark_story
You can always use macports or homebrew to install PHP.  The default
apple PHP is janky and busted.

sudo port install php5
sudo port install php5-mysql

-Mark

On Oct 18, 10:42 pm, zer0_gravity  wrote:
> You are right I don't have pdo installed on my php server. I have done
> some googling i found out it requires possibly compiling and building
> php source . I have a new probably now tried compiling and building
> php source but i broke php and now it not working. luckly I made a
> backup.
>
> I need a working library file (similar to the dll that came with the
> windows version of pdo php extension) for my mac x os
>
> I need your help please?
>
> specs on my mac
> Mac OS X  ver 10.5.8
>
> On Oct 17, 11:46 pm, "#2Will"  wrote:
>
>
>
>
>
>
>
> > Any error messages?
>
> > Did you rename the file to database.php?
>
> > do you have pdo installed?
>
> > On Oct 18, 3:15 pm, zer0_gravity  wrote:
>
> > > Hi everyone
> > > I just install Cake 2.0.0 and I am having an issue with it. The issue
> > > is that cakePHP is not able to connect to the database (Mysql). I
> > > check the database config file to make sure that it is configured
> > > properly but the strangest thing is that when I installed an older
> > > version(1.3.13) there is no problem for cake connecting to the
> > > database (Mysql)? What is happening here?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-19 Thread zer0_gravity
thanks

On Oct 18, 11:19 pm, "#2Will"  wrote:
> sorry, beyond me also.  I run mamp on my apple.  Its simple and works
> and i guess it has pdo on it as it runs 2.0.  Try that.
>
> will
>
> On Oct 19, 1:42 pm, zer0_gravity  wrote:
>
>
>
>
>
>
>
> > You are right I don't have pdo installed on my php server. I have done
> > some googling i found out it requires possibly compiling and building
> > php source . I have a new probably now tried compiling and building
> > php source but i broke php and now it not working. luckly I made a
> > backup.
>
> > I need a working library file (similar to the dll that came with the
> > windows version of pdo php extension) for my mac x os
>
> > I need your help please?
>
> > specs on my mac
> > Mac OS X  ver 10.5.8
>
> > On Oct 17, 11:46 pm, "#2Will"  wrote:
>
> > > Any error messages?
>
> > > Did you rename the file to database.php?
>
> > > do you have pdo installed?
>
> > > On Oct 18, 3:15 pm, zer0_gravity  wrote:
>
> > > > Hi everyone
> > > > I just install Cake 2.0.0 and I am having an issue with it. The issue
> > > > is that cakePHP is not able to connect to the database (Mysql). I
> > > > check the database config file to make sure that it is configured
> > > > properly but the strangest thing is that when I installed an older
> > > > version(1.3.13) there is no problem for cake connecting to the
> > > > database (Mysql)? What is happening here?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread #2Will
sorry, beyond me also.  I run mamp on my apple.  Its simple and works
and i guess it has pdo on it as it runs 2.0.  Try that.

will

On Oct 19, 1:42 pm, zer0_gravity  wrote:
> You are right I don't have pdo installed on my php server. I have done
> some googling i found out it requires possibly compiling and building
> php source . I have a new probably now tried compiling and building
> php source but i broke php and now it not working. luckly I made a
> backup.
>
> I need a working library file (similar to the dll that came with the
> windows version of pdo php extension) for my mac x os
>
> I need your help please?
>
> specs on my mac
> Mac OS X  ver 10.5.8
>
> On Oct 17, 11:46 pm, "#2Will"  wrote:
>
>
>
>
>
>
>
> > Any error messages?
>
> > Did you rename the file to database.php?
>
> > do you have pdo installed?
>
> > On Oct 18, 3:15 pm, zer0_gravity  wrote:
>
> > > Hi everyone
> > > I just install Cake 2.0.0 and I am having an issue with it. The issue
> > > is that cakePHP is not able to connect to the database (Mysql). I
> > > check the database config file to make sure that it is configured
> > > properly but the strangest thing is that when I installed an older
> > > version(1.3.13) there is no problem for cake connecting to the
> > > database (Mysql)? What is happening here?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread zer0_gravity
You are right I don't have pdo installed on my php server. I have done
some googling i found out it requires possibly compiling and building
php source . I have a new probably now tried compiling and building
php source but i broke php and now it not working. luckly I made a
backup.

I need a working library file (similar to the dll that came with the
windows version of pdo php extension) for my mac x os

I need your help please?

specs on my mac
Mac OS X  ver 10.5.8

On Oct 17, 11:46 pm, "#2Will"  wrote:
> Any error messages?
>
> Did you rename the file to database.php?
>
> do you have pdo installed?
>
> On Oct 18, 3:15 pm, zer0_gravity  wrote:
>
>
>
>
>
>
>
> > Hi everyone
> > I just install Cake 2.0.0 and I am having an issue with it. The issue
> > is that cakePHP is not able to connect to the database (Mysql). I
> > check the database config file to make sure that it is configured
> > properly but the strangest thing is that when I installed an older
> > version(1.3.13) there is no problem for cake connecting to the
> > database (Mysql)? What is happening here?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread #2Will
Yep - I think cake switched data access to PDO for 2.0.   This is a
php module   - not part of the Cake download.  If this is missing that
might be why cake connected before upgrade and not after.

do a phpinfo and find out if its installed.

w

On Oct 19, 5:51 am, Paul Vaughan  wrote:
> I had this problem and after much googling I discovered I needed to enable
> an extension with a name like pdo_mysql.so (or pdo_mysql.dll on windows) and
> restart apache before cake would successfully connect.
>
> Sorry for the lack of detail but i am not near my dev pc and can't shell
> into it.
>
> Hope this helps.
>
> Paul.
> On Oct 18, 2011 7:35 PM, "zer0_gravity"  wrote:
>
>
>
>
>
>
>
> > I did just that and on the default CakePHP page it reported an error
> > "Cake is NOT able to connect to the database"
>
> > On Oct 18, 9:25 am, pedro rojo  wrote:
> > > past all package of cakephp2.0 in your folder www and follow a simple
> > > installation  (dont use cake bake)
> > > after relaod your application test and see which  do you have the same
> > > problem ?
> > > this a simle test
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread Paul Vaughan
I had this problem and after much googling I discovered I needed to enable
an extension with a name like pdo_mysql.so (or pdo_mysql.dll on windows) and
restart apache before cake would successfully connect.

Sorry for the lack of detail but i am not near my dev pc and can't shell
into it.

Hope this helps.

Paul.
On Oct 18, 2011 7:35 PM, "zer0_gravity"  wrote:

> I did just that and on the default CakePHP page it reported an error
> "Cake is NOT able to connect to the database"
>
> On Oct 18, 9:25 am, pedro rojo  wrote:
> > past all package of cakephp2.0 in your folder www and follow a simple
> > installation  (dont use cake bake)
> > after relaod your application test and see which  do you have the same
> > problem ?
> > this a simle test
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread pedro rojo
LoL this is the best image in 2011 :)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread Matt Kaufman
Awesome image!!! 

Sent from my iPhone

On Oct 18, 2011, at 12:05 PM, pedro rojo  wrote:

> hi zero  try this 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread pedro rojo
hi zero  try this

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php
<>

Re: CakePHP 2.0.0 release

2011-10-18 Thread zer0_gravity
I did just that and on the default CakePHP page it reported an error
"Cake is NOT able to connect to the database"

On Oct 18, 9:25 am, pedro rojo  wrote:
> past all package of cakephp2.0 in your folder www and follow a simple
> installation  (dont use cake bake)
> after relaod your application test and see which  do you have the same
> problem ?
> this a simle test

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread zer0_gravity
Thanks . I will try it out

On Oct 18, 12:20 pm, Matthew Kaufman  wrote:
> Hey FYI though; I just built a database.php config manually; here is my
> file: And it DOES connect SUCCESSFULLY; FYI.
>
>  /*
>     Database table: “people”
>     Model class: “Person”, found at /app/Model/Person.php
>     Controller class: “PeopleController”, found at
> /app/Controller/PeopleController.php
>     View template, found at /app/View/People/index.ctp
> */
>
> class DATABASE_CONFIG
> {
>     public $default = array(
>         'datasource' => 'Database/Mysql',
>         'persistent' => false,
>         'host' => 'localhost',
>         'port' => '3306',
>         'login' => 'root',
>         'password' => '[removed]',
>         'database' => 'cake_2_0'
>     );}
>
> ?>
>
> Matthew M. Kaufmanhttp://mkfmn.com/
>
> 503-881-6906
>
>
>
>
>
>
>
> On Tue, Oct 18, 2011 at 1:17 PM, Matthew Kaufman  wrote:
> > Hey, Last Night:
>
> > I tried to paste my entire output of my Cake Bake output for Baking a
> > Database Config:
>
> > I get the same Fatal Error in output:
>
> > (Paste of zer0_gravity):
>
> > PHP Fatal error:  Class 'DATABASE_CONFIG' not found in
> > /var/www/cake_2_0/lib/Cake/
> > Console/Command/Task/DbConfigTask.php on
> > line 262
>
> > Fatal error: Class 'DATABASE_CONFIG' not found in
> > /var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on
> > line 262
>
> > Here's my post from last night:
>
> > Hello,
>
> > I have always been worried about releases between Cake versions; however I
> > have/had/have the feeling that Cake 2.0 Stable is finally what I have been
> > waiting for: However, it is late at night and I am slightly tired [not
> > common]; and I just wanted to post this for documentation purposes.
>
> > Am I doing something stupid or is there a bug here?
>
> > root@mkfmnweb:/var/www/cake_2_
> > 0# ./lib/Cake/Console/cake bake
>
> > Welcome to CakePHP v2.0.0 Console
> > ---
> > App : app
> > Path: /var/www/cake_2_0/app/
> > ---
> > Interactive Bake Shell
> > ---
> > [D]atabase Configuration
> > [M]odel
> > [V]iew
> > [C]ontroller
> > [P]roject
> > [F]ixture
> > [T]est case
> > [Q]uit
> > What would you like to Bake? (D/M/V/C/P/F/T/Q)
> > > D
> > ---
> > Database Configuration:
> > ---
> > Name:
> > [default] >
> > Driver: (Mysql/Postgres/Sqlite/Sqlserver)
> > [Mysql] > Mysql
> > Persistent Connection? (y/n)
> > [n] > n
> > Database Host:
> > [localhost] >
> > Port?
> > [n] >
> > User:
> > [root] > root
> > Password:
> > > [removed]
> > Database Name:
> > [cake] > cake_2_0
>
> > Table Prefix?
> > [n] > n
> > Table encoding?
> > [n] > n
>
> > ---
> > The following database configuration will be created:
> > ---
> > Name:         default
> > Driver:       Mysql
> > Persistent:   false
> > Host:         localhost
> > User:         root
> > Pass:         ***
> > Database:     cake_2_0
>
> > ---
> > Look okay? (y/n)
> > [y] > y
> > Do you wish to add another database configuration?
> > [n] > n
> > PHP Fatal error:  Class 'DATABASE_CONFIG' not found in
> > /var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on line 262
>
> > Fatal error: Class 'DATABASE_CONFIG' not found in
> > /var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on line 262
> > root@mkfmnweb:/var/www/cake_2_0#
>
> > Am I running the correct path to bake or is this a bug?
>
> > Thanks.
>
> > Matthew M. Kaufman
> >http://mkfmn.com/
>
> > 503-881-6906
>
> > On Tue, Oct 18, 2011 at 10:25 AM, pedro rojo 
> > wrote:
>
> >> past all package of cakephp2.0 in your folder www and follow a simple
> >> installation  (dont use cake bake)
> >> after relaod your application test and see which  do you have the same
> >> problem ?
> >> this a simle test
>
> >>  --
> >> Our newest site for the community: CakePHP Video Tutorials
> >>http://tv.cakephp.org
> >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> >> others with their CakePHP related questions.
>
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> >> athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread Matthew Kaufman
Hey FYI though; I just built a database.php config manually; here is my
file: And it DOES connect SUCCESSFULLY; FYI.

 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'port' => '3306',
'login' => 'root',
'password' => '[removed]',
'database' => 'cake_2_0'
);
}
?>


Matthew M. Kaufman
http://mkfmn.com/

503-881-6906

On Tue, Oct 18, 2011 at 1:17 PM, Matthew Kaufman  wrote:

> Hey, Last Night:
>
> I tried to paste my entire output of my Cake Bake output for Baking a
> Database Config:
>
> I get the same Fatal Error in output:
>
> (Paste of zer0_gravity):
>
> PHP Fatal error:  Class 'DATABASE_CONFIG' not found in
> /var/www/cake_2_0/lib/Cake/
> Console/Command/Task/DbConfigTask.php on
> line 262
>
> Fatal error: Class 'DATABASE_CONFIG' not found in
> /var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on
> line 262
>
> Here's my post from last night:
>
> Hello,
>
> I have always been worried about releases between Cake versions; however I
> have/had/have the feeling that Cake 2.0 Stable is finally what I have been
> waiting for: However, it is late at night and I am slightly tired [not
> common]; and I just wanted to post this for documentation purposes.
>
> Am I doing something stupid or is there a bug here?
>
> root@mkfmnweb:/var/www/cake_2_
> 0# ./lib/Cake/Console/cake bake
>
>
> Welcome to CakePHP v2.0.0 Console
> ---
> App : app
> Path: /var/www/cake_2_0/app/
> ---
> Interactive Bake Shell
> ---
> [D]atabase Configuration
> [M]odel
> [V]iew
> [C]ontroller
> [P]roject
> [F]ixture
> [T]est case
> [Q]uit
> What would you like to Bake? (D/M/V/C/P/F/T/Q)
> > D
> ---
> Database Configuration:
> ---
> Name:
> [default] >
> Driver: (Mysql/Postgres/Sqlite/Sqlserver)
> [Mysql] > Mysql
> Persistent Connection? (y/n)
> [n] > n
> Database Host:
> [localhost] >
> Port?
> [n] >
> User:
> [root] > root
> Password:
> > [removed]
> Database Name:
> [cake] > cake_2_0
>
> Table Prefix?
> [n] > n
> Table encoding?
> [n] > n
>
> ---
> The following database configuration will be created:
> ---
> Name: default
> Driver:   Mysql
> Persistent:   false
> Host: localhost
> User: root
> Pass: ***
> Database: cake_2_0
>
> ---
> Look okay? (y/n)
> [y] > y
> Do you wish to add another database configuration?
> [n] > n
> PHP Fatal error:  Class 'DATABASE_CONFIG' not found in
> /var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on line 262
>
> Fatal error: Class 'DATABASE_CONFIG' not found in
> /var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on line 262
> root@mkfmnweb:/var/www/cake_2_0#
>
>
> Am I running the correct path to bake or is this a bug?
>
> Thanks.
>
> Matthew M. Kaufman
> http://mkfmn.com/
>
> 503-881-6906
>
> On Tue, Oct 18, 2011 at 10:25 AM, pedro rojo wrote:
>
>> past all package of cakephp2.0 in your folder www and follow a simple
>> installation  (dont use cake bake)
>> after relaod your application test and see which  do you have the same
>> problem ?
>> this a simle test
>>
>>
>>  --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread Matthew Kaufman
Hey, Last Night:

I tried to paste my entire output of my Cake Bake output for Baking a
Database Config:

I get the same Fatal Error in output:

(Paste of zer0_gravity):
PHP Fatal error:  Class 'DATABASE_CONFIG' not found in
/var/www/cake_2_0/lib/Cake/
Console/Command/Task/DbConfigTask.php on
line 262

Fatal error: Class 'DATABASE_CONFIG' not found in
/var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on
line 262

Here's my post from last night:

Hello,

I have always been worried about releases between Cake versions; however I
have/had/have the feeling that Cake 2.0 Stable is finally what I have been
waiting for: However, it is late at night and I am slightly tired [not
common]; and I just wanted to post this for documentation purposes.

Am I doing something stupid or is there a bug here?

root@mkfmnweb:/var/www/cake_2_
0# ./lib/Cake/Console/cake bake

Welcome to CakePHP v2.0.0 Console
---
App : app
Path: /var/www/cake_2_0/app/
---
Interactive Bake Shell
---
[D]atabase Configuration
[M]odel
[V]iew
[C]ontroller
[P]roject
[F]ixture
[T]est case
[Q]uit
What would you like to Bake? (D/M/V/C/P/F/T/Q)
> D
---
Database Configuration:
---
Name:
[default] >
Driver: (Mysql/Postgres/Sqlite/Sqlserver)
[Mysql] > Mysql
Persistent Connection? (y/n)
[n] > n
Database Host:
[localhost] >
Port?
[n] >
User:
[root] > root
Password:
> [removed]
Database Name:
[cake] > cake_2_0
Table Prefix?
[n] > n
Table encoding?
[n] > n

---
The following database configuration will be created:
---
Name: default
Driver:   Mysql
Persistent:   false
Host: localhost
User: root
Pass: ***
Database: cake_2_0
---
Look okay? (y/n)
[y] > y
Do you wish to add another database configuration?
[n] > n
PHP Fatal error:  Class 'DATABASE_CONFIG' not found in
/var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on line 262

Fatal error: Class 'DATABASE_CONFIG' not found in
/var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on line 262
root@mkfmnweb:/var/www/cake_2_0#


Am I running the correct path to bake or is this a bug?

Thanks.

Matthew M. Kaufman
http://mkfmn.com/

503-881-6906

On Tue, Oct 18, 2011 at 10:25 AM, pedro rojo wrote:

> past all package of cakephp2.0 in your folder www and follow a simple
> installation  (dont use cake bake)
> after relaod your application test and see which  do you have the same
> problem ?
> this a simle test
>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread pedro rojo
past all package of cakephp2.0 in your folder www and follow a simple
installation  (dont use cake bake)
after relaod your application test and see which  do you have the same
problem ?
this a simle test

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread zer0_gravity


On Oct 18, 8:52 am, zuha  wrote:
> Can you paste your database.php file code?

here is database.php code

class DATABASE_CONFIG {

public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password' => '',
'database' => 'tester',
'prefix' => '',
//'encoding' => 'utf8',
);

public $test = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'user',
'password' => 'password',
'database' => 'test_database_name',
'prefix' => '',
//'encoding' => 'utf8',
);
}

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread zer0_gravity


On Oct 18, 8:52 am, zuha  wrote:
> Can you paste your database.php file code?

This is an screen dump after using cake bake script

Welcome to CakePHP v2.0.0 Console
---
App : app
Path: /var/www/cake_2_0/app/
---
Interactive Bake Shell
---
[D]atabase Configuration
[M]odel
[V]iew
[C]ontroller
[P]roject
[F]ixture
[T]est case
[Q]uit
What would you like to Bake? (D/M/V/C/P/F/T/Q)
> D

---
Database Configuration:
---
Name:
[default] >
Driver: (Mysql/Postgres/Sqlite/Sqlserver)
[Mysql] > Mysql
Persistent Connection? (y/n)
[n] > n
Database Host:
[localhost] >
Port?
[n] >
User:
[root] > root
Password:
> [removed]

Database Name:
[cake] > tester
Table Prefix?
[n] > n
Table encoding?
[n] > n

---
The following database configuration will be created:
---
Name: default
Driver:   Mysql
Persistent:   false
Host: localhost
User: root
Pass: ***
Database: tester
---
Look okay? (y/n)
[y] > y
Do you wish to add another database configuration?
[n] > n
PHP Fatal error:  Class 'DATABASE_CONFIG' not found in
/var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on
line 262

Fatal error: Class 'DATABASE_CONFIG' not found in
/var/www/cake_2_0/lib/Cake/Console/Command/Task/DbConfigTask.php on
line 262

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread zuha
Can you paste your database.php file code? 

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-18 Thread zer0_gravity
yes I renamed database.php.default to database.php. I even baked the
database configuration using cake bake script.
I not sure what is pdo but I downloaded cake 2.0.0  and extract the
downloaded. I did not do anything differently in regards to setting up
and configuring older version of cakephp 2.0.0.

On Oct 17, 11:46 pm, "#2Will"  wrote:
> Any error messages?
>
> Did you rename the file to database.php?
>
> do you have pdo installed?
>
> On Oct 18, 3:15 pm, zer0_gravity  wrote:
>
>
>
>
>
>
>
> > Hi everyone
> > I just install Cake 2.0.0 and I am having an issue with it. The issue
> > is that cakePHP is not able to connect to the database (Mysql). I
> > check the database config file to make sure that it is configured
> > properly but the strangest thing is that when I installed an older
> > version(1.3.13) there is no problem for cake connecting to the
> > database (Mysql)? What is happening here?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP 2.0.0 release

2011-10-17 Thread #2Will
Any error messages?

Did you rename the file to database.php?

do you have pdo installed?



On Oct 18, 3:15 pm, zer0_gravity  wrote:
> Hi everyone
> I just install Cake 2.0.0 and I am having an issue with it. The issue
> is that cakePHP is not able to connect to the database (Mysql). I
> check the database config file to make sure that it is configured
> properly but the strangest thing is that when I installed an older
> version(1.3.13) there is no problem for cake connecting to the
> database (Mysql)? What is happening here?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


CakePHP 2.0.0 release

2011-10-17 Thread zer0_gravity
Hi everyone
I just install Cake 2.0.0 and I am having an issue with it. The issue
is that cakePHP is not able to connect to the database (Mysql). I
check the database config file to make sure that it is configured
properly but the strangest thing is that when I installed an older
version(1.3.13) there is no problem for cake connecting to the
database (Mysql)? What is happening here?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php