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

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

Re: acl - book 10.3.7 -setting up permissions - baking error

2008-12-29 Thread Webweave
The -1 is the value for deny, 1 is allow. As to your other question about where to put your init code, I personally have mine in a separate controller that I use to set up my initial ACOs and AROs. You can also place it in your users_controller.php. On Dec 27, 7:22 pm, justclint wrote: > So I t

Re: acl - book 10.3.7 -setting up permissions - baking error

2008-12-27 Thread justclint
I forgot to mention, Im running the new 1.2 stable version and running php5 and mysql 5. justclint --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@google

acl - book 10.3.7 -setting up permissions - baking error

2008-12-27 Thread justclint
So I thought I got the acl up and running smoothly and it does work to some degree but now that Im testing with various users of different categories I noticed my permissions aren't working as suspected. I did have a problem with one of the steps in the acl tutorial (pg. 10.3.7: permissions) whic

Re: baking error

2007-01-28 Thread lukemack
i resolved this. you need to make sure that php cli is configured with mysql support. on my system, this meant editing /etc/php5/cli/php.ini to load the mysql.so extension. what i hadnt realised was that the php cli uses its own php.ini. thanks anyway, lukemack. On 28 Jan, 02:37, "Dr. Tariqu

Re: baking error

2007-01-27 Thread Dr. Tarique Sani
On 1/27/07, lukemack <[EMAIL PROTECTED]> wrote: > Fatal error: Call to undefined function mysql_connect() in /var/www/ > cake/libs/model/dbo/dbo_mysql.php on line 102 Might sound like a silly question - but can you connect to MySQL using PHP? If not then you need to install whatever is the equiv

baking error

2007-01-27 Thread lukemack
Hi, I'm getting this error when selecting M, V, or C in bake.php (running from command line on linux - Ubuntu 6.10 with php 5.1.6 & Apache 2) Fatal error: Call to undefined function mysql_connect() in /var/www/ cake/libs/model/dbo/dbo_mysql.php on line 102 I haven't changed the database access