On 25 Mai, 08:46, luca capra <luca.ca...@gmail.com> wrote:
>
> Don't use sudo. Try:
>
> # cd in your app dir
> cd /home/max/akk/app
> # run cake with the full path, or relative like ../cake/console/cake
> /home/max/akk/cake/console/cake bake
>
> Probably you will need to reset permission
>
> sudo chown max.max -r /home/max/akk

Ok, this works so far, but now i get this error:

Welcome to CakePHP v1.3.14 Console
---------------------------------------------------------------
App : app
Path: /home/max/akk/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)
> C
---------------------------------------------------------------
Bake Controller
Path: /home/max/akk/app/controllers/
---------------------------------------------------------------
PHP Fatal error:  Call to undefined function mysql_query() in /home/
max/akk/cake/libs/model/datasources/dbo/dbo_mysql.php on line 613

Fatal error: Call to undefined function mysql_query() in /home/max/akk/
cake/libs/model/datasources/dbo/dbo_mysql.php on line 613
max@max-ubuntu:~/akk/app$

What is the problem 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

Reply via email to