Wednesday, November 23, 2011

Re: Bake generating error!

and the submodule(s) within only the one so far as I see
but

git submodule update --init --recursive


 - S




On 23 November 2011 10:08, Andras Kende <andras@kende.com> wrote:
PHP Fatal error:  Could not locate CakePHP core files..
Since cake is a submodule in that repo You may need to something like

git clone https://github.com/gilvaju/aplicacao-cake.git  /media/arquivos/www/repositorios/cakephp/aplicacao-cake/
cd  /media/arquivos/www/repositorios/cakephp/aplicacao-cake/
git submodule init
git submodule update


Andras Kende



On Nov 22, 2011, at 9:00 PM, gilvaju wrote:


Guys, I have the following application: https://github.com/gilvaju/aplicacao-cake

The core of the cake moved to Lib folder inside the application folder. Just use the console can be called directly from the coreand not the folder of the Console application, gives the following error:

PHP Warning:  include(Cake/Console/ShellDispatcher.php): failed to open stream: No such file or directory in /media/arquivos/www/repositorios/cakephp/aplicacao-cake/Console/cake.php on line 36
PHP Warning:  include(): Failed opening 'Cake/Console/ShellDispatcher.php' for inclusion (include_path='/media/arquivos/www/repositorios/cakephp/lib:.:/usr/share/php:/usr/share/pear') in /media/arquivos/www/repositorios/cakephp/aplicacao-cake/Console/cake.php on line 36
PHP Fatal error:  Could not locate CakePHP core files. in /media/arquivos/www/repositorios/cakephp/aplicacao-cake/Console/cake.php on line 37

Someone could help me, I'm afraid of messing up the cake! :)

Thks,
Gilvan

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

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