Re: Cake2 - Bake - Windows

2012-09-05 Thread Sam Sherlock
edit the webroot/index.php webroot/test.php files uncomment the line that defines the CAKE_CORE_INCLUDE_PATH mine looks like define('CAKE_CORE_INCLUDE_PATH', DS . 'usr' . DS . 'share' . DS . 'cake' . DS . '2.0' . DS . 'lib'); baking places this comment in index.php and test.php within

Re: Cake2 - Bake - Windows

2012-09-05 Thread Eduardo Arruda
Thanks, I discover 2 ways of using same core for different projects: One is what you say , uncomment in webroot/index.php line Another way is to setting cake lib on include_path in php.ini http://book.cakephp.org/2.0/en/deployment.html#multiple-cakephp-applications-using-the-same-core

Cake2 - Bake - Windows

2012-09-04 Thread Eduardo Arruda
Hello guys, First of all I'm having trouble to baking on Cake2. I opened this topic to learn the how to. So, What I need to do first? Edit system variables? Put core in some folder? Second, why CakePHP offical documentation does't have a good documentation about configuring and using

Re: Cake2 - Bake - Windows

2012-09-04 Thread Tilen Majerle
Like you said..you need to edit system paths :) -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/9/4 Eduardo Arruda duduzau...@gmail.com Hello guys, First of all I'm having trouble to baking on Cake2. I opened this topic to learn the how to. So, What I need to do first? Edit system

Re: Cake2 - Bake - Windows

2012-09-04 Thread Eduardo Arruda
Ok , I edited system path (php path and cakepath) I little difference between documentation. Instead of - C:\xampp\htdocs\cakephp\Cake\lib\Console; I putC:\xampp\htdocs\cakephp\Cake\lib\Cake\Console; Now, i need to put core in htdocs\cakephp\Cake , correct? Em terça-feira, 4 de setembro

Re: Cake2 - Bake - Windows

2012-09-04 Thread Yasir Arafat Hasib
Hello, I am sending you some document hope it will help you a lot *Cakephp beginners installation steps* http://arafats.info/cake-php-tutorial/ *Cakephp baking on windows platform* http://arafats.info/cakephp-cake-bake-on-windows/ *Cakephp baking on Linux platform*

Re: Cake2 - Bake - Windows

2012-09-04 Thread Eduardo Arruda
What I want to do is using the core and app folders separated. I want to create all of my projects with the same core. But is showing me an error. Example: I setup in System Variables - C:\xampp\htdocs\Cake\lib\Cake\Console; I want to create my project in C:\xampp\htdocs\myproject So, i go

Re: Cake2 - Bake - Windows

2012-09-04 Thread Yasir Arafat Hasib
I setup in System Variables - C:\xampp\htdocs\*Cake*\lib\Cake\Console; Your console may not be on Cake? It may be *myproject* On Tue, Sep 4, 2012 at 7:54 PM, Eduardo Arruda duduzau...@gmail.com wrote: What I want to do is using the core and app folders separated. I want to create all of my

Re: Cake2 - Bake - Windows

2012-09-04 Thread Eduardo Arruda
No no , myproject folder is an empty folder. I correctly set cake in system variables, because if I digit cake in cmd it show me cake painel. The problem is when I create my bake on myproject folder and then try to access http://localhost/myproject; is showing me a error on certain line , about

Re: Cake2 - Bake - Windows

2012-09-04 Thread Eduardo Arruda
When I put http://localhost/myproject; It show me this error: *Fatal error*: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your \cake core directory and your \vendors root directory. in