Re: CakePHP 2.0.0-RC2 Conslole baking error

2011-09-22 Thread José Lorenzo
It it works from the browser the chances are that your php.ini is different 
for the cli environment, please check that both configuration files match.

-- 
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-RC2 Conslole baking error

2011-09-21 Thread gremlin
I originally thought this error had to do with my path setup - I had
separated the core from the app so I could work more easily with git
submodules, so I ignored it. I just did a fresh checkout from the git
repo / a download of the RC2 source / and a cakeinit install of the
2.0 package (also uses git) and all 3 installs have the same issue I
had before.

My code seems to work fine via the browser.

The output of a ./cake bake Model from inside the local copy of the
core in the lib/Cake/Console folder is here
https://gist.github.com/1233884

This totally prevents me from using bake. Baking a project doesn't
work, baking a new database config doesn't work - it also doesn't
matter which of the datasources I try.

Can someone point me in the right direction here? I want to use some
of the bake tools and work on converting some shells for 2.0.

I am using XAMPP (latest version for OS X - I reinstalled it 20
minutes ago as a last ditch attempt)
OSX 10.5.8

The database.php I am working with is here with the passwords removed
but otherwise working
https://gist.github.com/1233891

I have tested it with and without the unix_socket setting and encoding
settings. All works fine from the browser but again not via the cli.

-- 
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