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


2012/9/5 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 webroot (you
> can of course setup your environ to not need this
> )
>  - S
>
>
>
>
> On 4 September 2012 19:28, Eduardo Arruda  wrote:
>
>> 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 *C:\xampp\htdocs\tut_blog2\webroot\index.php* on line *88*
>>   "
>>
>> Em terça-feira, 4 de setembro de 2012 11h44min29s UTC-3, Eduardo Arruda
>> escreveu:
>>
>>> 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 PATH.
>>>
>>> 2012/9/4 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 wrote:
>>>>
>>>>> 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 on cmd and put the commands above:
>>>>>
>>>>> cd C:\xampp\htdocs\myproject  (myproject is a empty folder)
>>>>> cake bake
>>>>>
>>>>>
>>>>> I'm not at home now, but when I do that and try do access "
>>>>> http://localhost/myproject"; is showing me an error.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Em terça-feira, 4 de setembro de 2012 10h25min45s UTC-3, Yasir Arafat
>>>>> escreveu:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I am sending you some document hope it will help you a lot
>>>>>>
>>>>>> *Cakephp beginners installation steps*
>>>>>> http://arafats.info/cake-php-**t**utorial/<http://arafats.info/cake-php-tutorial/>
>>>>>>
>>>>>> *Cakephp baking on windows platform*
>>>>>> http://arafats.info/cakephp-**ca**ke-bake-on-windows/<http://arafats.info/cakephp-cake-bake-on-windows/>
>>>>>>
>>>>>> *Cakephp baking on Linux platform*
>>>>>> http://arafats.info/cake-bake-in-ubuntu/<http://arafats.info/cake-bake-in-ubuntu/>
>>>>>>
>>>>>> Thanks
>>>>>> Arafat
>>>>>>
>>>>>> On Tue, Sep 4, 2012 at 5:26 AM, Eduardo Arruda wrote:
>>>>>>
>>>>>>> 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?
>>>>>>>
>>>>>>>
>>>>>>&g

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 *C:\xampp\htdocs\tut_blog2\webroot\index.php* on line *88*  "

Em terça-feira, 4 de setembro de 2012 11h44min29s UTC-3, Eduardo Arruda 
escreveu:
>
> 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 PATH.
>
> 2012/9/4 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 wrote:
>>
>>> 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 on cmd and put the commands above:
>>>
>>> cd C:\xampp\htdocs\myproject  (myproject is a empty folder)
>>> cake bake
>>>
>>>
>>> I'm not at home now, but when I do that and try do access "
>>> http://localhost/myproject"; is showing me an error.
>>>
>>>
>>>
>>>
>>> Em terça-feira, 4 de setembro de 2012 10h25min45s UTC-3, Yasir Arafat 
>>> escreveu:
>>>>
>>>> Hello,
>>>>
>>>> I am sending you some document hope it will help you a lot
>>>>
>>>> *Cakephp beginners installation steps*
>>>> http://arafats.info/cake-php-**tutorial/<http://arafats.info/cake-php-tutorial/>
>>>>  
>>>>
>>>> *Cakephp baking on windows platform*
>>>> http://arafats.info/cakephp-**cake-bake-on-windows/<http://arafats.info/cakephp-cake-bake-on-windows/>
>>>>
>>>> *Cakephp baking on Linux platform*
>>>> http://arafats.info/cake-bake-**in-ubuntu/<http://arafats.info/cake-bake-in-ubuntu/>
>>>>
>>>> Thanks
>>>> Arafat
>>>>
>>>> On Tue, Sep 4, 2012 at 5:26 AM, Eduardo Arruda wrote:
>>>>
>>>>> 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 cakephp? A configuring 
>>>>> documentation is a link to a video, but an old video and does't work for 
>>>>> Cake2.
>>>>>
>>>>>
>>>>> Best Regards,
>>>>> Eduardo Arruda Pimentel
>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "CakePHP" group.
>>>>> To post to this group, send email to cake...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to cake-php+u...@**
>>>>> googlegroups.com.
>>>>>
>>>>> Visit this group at 
>>>>> http://groups.google.com/**group/cake-php?hl=en-US<http://groups.google.com/group/cake-php?hl=en-US>
>>>>> .
>>>>>  
>>>>>  
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> *Thanks & Regards.
>>>> 
>>>> -
>>>> Yasir Arafat (Hasib)*
>>>> *Deputy Project Manager, *Software Solutions
>>>> Grameen Solutions
>>>> Contact Information:
>>>> **
>>>> **
>>>> Cell : +8801816 5

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

2012/9/4 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 wrote:
>
>> 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 on cmd and put the commands above:
>>
>> cd C:\xampp\htdocs\myproject  (myproject is a empty folder)
>> cake bake
>>
>>
>> I'm not at home now, but when I do that and try do access "
>> http://localhost/myproject"; is showing me an error.
>>
>>
>>
>>
>> Em terça-feira, 4 de setembro de 2012 10h25min45s UTC-3, Yasir Arafat
>> escreveu:
>>>
>>> Hello,
>>>
>>> I am sending you some document hope it will help you a lot
>>>
>>> *Cakephp beginners installation steps*
>>> http://arafats.info/cake-php-**tutorial/<http://arafats.info/cake-php-tutorial/>
>>>
>>> *Cakephp baking on windows platform*
>>> http://arafats.info/cakephp-**cake-bake-on-windows/<http://arafats.info/cakephp-cake-bake-on-windows/>
>>>
>>> *Cakephp baking on Linux platform*
>>> http://arafats.info/cake-bake-**in-ubuntu/<http://arafats.info/cake-bake-in-ubuntu/>
>>>
>>> Thanks
>>> Arafat
>>>
>>> On Tue, Sep 4, 2012 at 5:26 AM, Eduardo Arruda wrote:
>>>
>>>> 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 cakephp? A configuring
>>>> documentation is a link to a video, but an old video and does't work for
>>>> Cake2.
>>>>
>>>>
>>>> Best Regards,
>>>> Eduardo Arruda Pimentel
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "CakePHP" group.
>>>> To post to this group, send email to cake...@googlegroups.com.
>>>> To unsubscribe from this group, send email to cake-php+u...@**
>>>> googlegroups.com.
>>>>
>>>> Visit this group at 
>>>> http://groups.google.com/**group/cake-php?hl=en-US<http://groups.google.com/group/cake-php?hl=en-US>
>>>> .
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks & Regards.
>>> 
>>> -
>>> Yasir Arafat (Hasib)*
>>> *Deputy Project Manager, *Software Solutions
>>> Grameen Solutions
>>> Contact Information:
>>> **
>>> **
>>> Cell : +8801816 536 901, +880197 *333* 2 888
>>> Web: http://arafats.info
>>> <http://arafats.info>
>>>
>>>   --
>> You received this message because you are subscribed to the Google Groups
>> "CakePHP" group.
>> To post to this group, send email to cake-php@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>>
>>
>>
>
>
>
> --
> *Thanks & Regards.
>
> -
> Yasir Arafat (Hasib)*
> *Deputy Project Manager, *Software Solutions
> Grameen Solutions
> Contact Information:
> **
> **
> Cell : +8801816 536 901, +880197 *333* 2 888
> Web: http://arafats.info
> <http://arafats.info>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




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 on cmd and put the commands above:

cd C:\xampp\htdocs\myproject  (myproject is a empty folder)
cake bake


I'm not at home now, but when I do that and try do access 
"http://localhost/myproject"; is showing me an error.




Em terça-feira, 4 de setembro de 2012 10h25min45s UTC-3, Yasir Arafat 
escreveu:
>
> 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*
> http://arafats.info/cake-bake-in-ubuntu/
>
> Thanks
> Arafat
>
> On Tue, Sep 4, 2012 at 5:26 AM, Eduardo Arruda 
> 
> > wrote:
>
>> 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 cakephp? A configuring 
>> documentation is a link to a video, but an old video and does't work for 
>> Cake2.
>>
>>
>> Best Regards,
>> Eduardo Arruda Pimentel
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To post to this group, send email to cake...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> cake-php+u...@googlegroups.com .
>> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>>  
>>  
>>
>
>
>
> -- 
> *Thanks & Regards.
>
> -
> Yasir Arafat (Hasib)*
> *Deputy Project Manager, *Software Solutions
> Grameen Solutions
> Contact Information:
> **
> **
> Cell : +8801816 536 901, +880197 *333* 2 888
> Web: http://arafats.info
> <http://arafats.info>
>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




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 de 2012 04h23min45s UTC-3, MaJerle.Eu 
escreveu:
>
> Like you said..you need to edit system paths :)
> --
> Lep pozdrav, Tilen Majerle
> http://majerle.eu
>
>
>
> 2012/9/4 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 cakephp? A configuring 
>> documentation is a link to a video, but an old video and does't work for 
>> Cake2.
>>
>>
>> Best Regards,
>> Eduardo Arruda Pimentel
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To post to this group, send email to cake...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> cake-php+u...@googlegroups.com .
>> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Cake2 - Bake - Windows

2012-09-03 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 cakephp? A configuring documentation is a link 
to a video, but an old video and does't work for Cake2.


Best Regards,
Eduardo Arruda Pimentel

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.