Wednesday, January 18, 2012

Re: Cake bake command giving error in ubuntu 11.10

You have a comment in the conf file mentioned, that uses # which is depreciated.

You have an old version of cake installed, via apt get. You should remove it and install either 1.3 or 2.0

- S

On 18 Jan 2012 09:06, "adarsh snehajan" <adarshsnehajan@gmail.com> wrote:
hi,

When I giving bake command in  ubuntu i am getting the following error


PHP Deprecated:  Comments starting with '#' are deprecated in /etc/
php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0

Welcome to CakePHP v1.2.4.8284 Console
---------------------------------------------------------------
App : app
Path: /var/www/tiacha/app
---------------------------------------------------------------
Interactive Bake Shell
---------------------------------------------------------------
[D]atabase Configuration
[M]odel
[V]iew
[C]ontroller
[P]roject
[Q]uit
PHP Fatal error:  Call to undefined method App::path() in /var/www/
tiacha/cake/libs/i18n.php on line 267

Fatal error: Call to undefined method App::path() in /var/www/tiacha/
cake/libs/i18n.php on line 267



Is anything wrong with my command plz help!!!



Adarsh.

--
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+unsubscribe@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: