Re: App::build in CakePHP3

2013-10-06 Thread h.kanji
I am Japanese.
I am not a native speaker.
I'm sorry, if I had not communicated well the intention because of that.

Of course, I know that the latest version is 2.4.1
Where did you get the CakePHP3? I have clone from github.
(It did not go well in my environment, but ) Instlation is also a possible 
using the Composer.

I think that Development of CakePHP3 is progressing smoothly and it should 
be released in beta later this year.

It is important that we avoid the risk as much as possible but I would like 
to use the CakePHP3 actively.
If there is a bug in CakePHP3, I can report it and send a Pull Request.
I believe that it is good for open source project.

CakePHP is very popular in Japan. 
I can get enough information of 2.4.x version in our community but I can't 
get infomation of 3.0 version.
because there is not core developer in Japan.

Is it not possible to obtain information about the 3.0 version in this 
forum?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: noobie- help with cake blog tutorial - Error PostsController could not be found

2013-10-06 Thread John Andersen
To me it seems like your CakePHP setup is incorrect.
What is your document root set to in the Apache config file?

I would asume it was set to:
"C:\wamp\www\cake_2_0\app\webroot"

That path is the root of your blog application.

Also, please show us the tree structure of your "app" folder.

Enjoy, John

On Friday, 4 October 2013 00:49:57 UTC+3, Frank Thomson wrote:
>
> I am running WAMP server on my windows 8 laptop.
> I have cake installed and the test screen shows up as OK.
> There is more detail on that on my personal blog 
> here
>
> I am trying to follow the blog tutorial from the cake web site
> here:
> http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
>
> The problem I get is that when I try
>
> http://localhost/cake_2_0/posts/index   
> I get and get a page full of errors (see below)
> Error: PostsController could not be found.
> Error: Create the class PostsController below in file: 
> app\controller\PostsController.php
>
>
> I believe that I have followed the tutorial accurately.  Again I have 
> documented it step by step on my blog.
> Here:
> http://frankstech.blogspot.com.au/2013/10/cakephp-blog-tutorial.html
>
> Any suggestions on what I can do to track this issue down.
>
> Thanks in advance.
> Frank
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: App::build in CakePHP3

2013-10-06 Thread euromark
You should be using the latest stable version - which is 2.4 and the master 
branch
https://github.com/cakephp/cakephp

Cake3 is not even released as alpha yet.


Am Sonntag, 6. Oktober 2013 21:05:07 UTC+2 schrieb gaurav:
>
> As far as I can see on Cakephp website is latest version is 2.4.1 how do 
> you get to cakephp 3
>
>
> On Fri, Oct 4, 2013 at 12:34 PM, h.kanji  >wrote:
>
>> Hi Everyone!
>>
>> Now, I'm examining the CakePHP3. 
>> There is not App::build method in CakePHP3.
>>
>> Of cource, I understand PSR-0. 
>>
>> But, I need a way that can be extended without changing the existing 
>> functionality.
>> In CakePHP2 I can use class of their own instead of the classes the 
>> framework provides.
>>
>> What can I do to do the same thing in CakePHP3?
>>
>> -- 
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to cake-php+u...@googlegroups.com .
>> To post to this group, send email to cake...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/cake-php.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Thanks and Regards
> Gaurav Matta
>
> Blog: http://itfeast.blogspot.com
>  

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: noobie problem with the cake blog tutorial

2013-10-06 Thread Gaurav Matta
Repeated Post : missing php tags in controller


On Thu, Oct 3, 2013 at 7:10 AM, Frank Thomson  wrote:

> Hi guys,
>
> Setup WAMP on my win8 laptop.
> Installed cake
> seemed to go OK.
> Notes on my blog 
> here
>
> Tried the blog tutorial as detailed in
> http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
>
> Have listed step by step what I did on my blog 
> here
>
> The jist is
> From
> http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/part-two.html
> "At this point, you should be able to point your browser to
> http://www.example.com/posts/index. You should see your view, correctly
> formatted with the title and table listing of the posts."
> So I try
> http://localhost/cake_2_0/posts/index.and get a page full of
> errors (See picture below.)
>
> Missing Controller
> PostsController could not be found.
> Error: Create the class PostsController below in file
> app\Controller\PostsController.php
> and I have that already in place (See picture below)
>
> Suggestions and assistance welcome.
>
>
>
>
>
>
> 
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Thanks and Regards
Gaurav Matta

Blog: http://itfeast.blogspot.com

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Duplicate records in database

2013-10-06 Thread Gaurav Matta
can you provide us with screen shot of your firm.Is your site live?


On Thu, Oct 3, 2013 at 11:31 AM, manju16832003 wrote:

> Hi,
> I have application written in cakephp 1.3. I'm experiencing this wired
> situation where by some tables are populated with dummy data without user
> action. I mean to say, data is been automatically inserted to few tables
> like posts, reviews table through there hasn't been action to add the data.
> Every day I could see like more than 1k records being inserted with all
> empty values.
>
> Is anybody experiencing this wired issue?
>
> :-) would appreciate if your suggestions
>
> Thank you
>
>
>
> --
> View this message in context:
> http://cakephp.1045679.n5.nabble.com/Duplicate-records-in-database-tp5716767.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Thanks and Regards
Gaurav Matta

Blog: http://itfeast.blogspot.com

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Bake doesn't work

2013-10-06 Thread Gaurav Matta
Can't Say about Mac execution file but you can also run cake.php in console
folder to bake...


On Thu, Oct 3, 2013 at 1:34 PM, taoist  wrote:

> When I go to the app directory using the terminal and type *cake bake* ,
> nothing happens other than a 'command not found' error. I tried going to
> the
> Console directory. This did not work.
>
> I'm using MAMP on Snow Leopard .
>
>
>
> --
> View this message in context:
> http://cakephp.1045679.n5.nabble.com/Bake-doesn-t-work-tp5716768.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Thanks and Regards
Gaurav Matta

Blog: http://itfeast.blogspot.com

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: App::build in CakePHP3

2013-10-06 Thread Gaurav Matta
As far as I can see on Cakephp website is latest version is 2.4.1 how do
you get to cakephp 3


On Fri, Oct 4, 2013 at 12:34 PM, h.kanji  wrote:

> Hi Everyone!
>
> Now, I'm examining the CakePHP3.
> There is not App::build method in CakePHP3.
>
> Of cource, I understand PSR-0.
>
> But, I need a way that can be extended without changing the existing
> functionality.
> In CakePHP2 I can use class of their own instead of the classes the
> framework provides.
>
> What can I do to do the same thing in CakePHP3?
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Thanks and Regards
Gaurav Matta

Blog: http://itfeast.blogspot.com

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: noobie- help with cake blog tutorial - Error PostsController could not be found

2013-10-06 Thread Gaurav Matta
You seem to miss php tags in your controller...How comfortable are you with
Php


On Fri, Oct 4, 2013 at 3:19 AM, Frank Thomson  wrote:

> I am running WAMP server on my windows 8 laptop.
> I have cake installed and the test screen shows up as OK.
> There is more detail on that on my personal blog 
> here
>
> I am trying to follow the blog tutorial from the cake web site
> here:
> http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
>
> The problem I get is that when I try
>
> http://localhost/cake_2_0/posts/index
> I get and get a page full of errors (see below)
> Error: PostsController could not be found.
> Error: Create the class PostsController below in file:
> app\controller\PostsController.php
>
>
> I believe that I have followed the tutorial accurately.  Again I have
> documented it step by step on my blog.
> Here:
> http://frankstech.blogspot.com.au/2013/10/cakephp-blog-tutorial.html
>
> Any suggestions on what I can do to track this issue down.
>
> Thanks in advance.
> Frank
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


App::build in CakePHP3

2013-10-06 Thread h.kanji
Hi Everyone!

Now, I'm examining the CakePHP3. 
There is not App::build method in CakePHP3.

Of cource, I understand PSR-0. 

But, I need a way that can be extended without changing the existing 
functionality.
In CakePHP2 I can use class of their own instead of the classes the 
framework provides.

What can I do to do the same thing in CakePHP3?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Bake doesn't work

2013-10-06 Thread taoist
When I go to the app directory using the terminal and type *cake bake* ,
nothing happens other than a 'command not found' error. I tried going to the
Console directory. This did not work. 

I'm using MAMP on Snow Leopard .



--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/Bake-doesn-t-work-tp5716768.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Accessing things in $this->request->data

2013-10-06 Thread Leandro Machado Pereira
Hello,

When your used action add, after Item->save, the Model is updated the
 $this->Item->id, with the last id inserted.

Try

 $this->Item->id

I think, the Model is updated after your save.

Regards


2013/10/3 Paul Willis 

> In my ItemsController I'm editing an item and then want to redirect back
> to the category that the item is in but I'm not sure how to access the
> category_id that is in $this->request->data
>
> My controller function (edited down to the relevant lines only) is...
>
>
> public function admin_edit($id = null) {
> if ($this->request->is('post') ||
> $this->request->is('put')) {
> if ($this-> Item->save($this->request->data)) {
> $this->Session->setFlash(__('The Item has
> been saved'));
> $this->redirect(array('controller' =>
> 'categories', 'action' => 'view', *));
> }
> }
> }
>
>
> Where I have *** I need something like…
>
> $this->request-> Item->category_id
>
> ...to pull the category_id out but I can't get the correct syntax to use
>
> The category_id is in there as it is being saved with all the other item
> data.
>
> I'm on CakePHP 2.3.x if that is relevant.
>
> Regards
>
> Paul
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
***Se você pretende redirecionar este e-mail, por favor, apague todos os
endereços que aparecem nele. Outra dica de segurança é endereçá-lo no Cco.
Desta forma você estará protegendo a mim, seus amigos e a você mesmo. Eu e
a Campanha Contra o SPAM agradecemos.Não envie correntes.***

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Duplicate records in database

2013-10-06 Thread manju16832003
Hi, 
I have application written in cakephp 1.3. I'm experiencing this wired
situation where by some tables are populated with dummy data without user
action. I mean to say, data is been automatically inserted to few tables
like posts, reviews table through there hasn't been action to add the data.
Every day I could see like more than 1k records being inserted with all
empty values.

Is anybody experiencing this wired issue?

:-) would appreciate if your suggestions

Thank you



--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/Duplicate-records-in-database-tp5716767.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


noobie- help with cake blog tutorial - Error PostsController could not be found

2013-10-06 Thread Frank Thomson
I am running WAMP server on my windows 8 laptop.
I have cake installed and the test screen shows up as OK.
There is more detail on that on my personal blog 
here

I am trying to follow the blog tutorial from the cake web site
here:
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html

The problem I get is that when I try

http://localhost/cake_2_0/posts/index   
I get and get a page full of errors (see below)
Error: PostsController could not be found.
Error: Create the class PostsController below in file: 
app\controller\PostsController.php


I believe that I have followed the tutorial accurately.  Again I have 
documented it step by step on my blog.
Here:
http://frankstech.blogspot.com.au/2013/10/cakephp-blog-tutorial.html

Any suggestions on what I can do to track this issue down.

Thanks in advance.
Frank

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


noobie problem with the cake blog tutorial

2013-10-06 Thread Frank Thomson


Hi guys,

Setup WAMP on my win8 laptop.
Installed cake
seemed to go OK.
Notes on my blog 
here

Tried the blog tutorial as detailed in 
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html

Have listed step by step what I did on my blog 
here

The jist is
>From 
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/part-two.html 
"At this point, you should be able to point your browser to 
http://www.example.com/posts/index. You should see your view, correctly 
formatted with the title and table listing of the posts."
So I try
http://localhost/cake_2_0/posts/index.and get a page full of 
errors (See picture below.)  

Missing Controller
PostsController could not be found.
Error: Create the class PostsController below in file 
app\Controller\PostsController.php
and I have that already in place (See picture below)

Suggestions and assistance welcome.







-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Creating a bullet list view for the Tree tutorial

2013-10-06 Thread taoist
I've been at this for a while and I'm completely new to Cake PHP and full
stack web frameworks period.
I simply want to turn the tree data in the  Tree tutorial here
   into a
nice HTML bullet list for learning purposes.

*I have the model*




*I have the controller*


Category->generateTreeList(null, null, null,
'   ');

}
}

?>




The view is whats missing. 
I tried playing with the set method and adding it to the index action in the
CategoriesController hence assigning it a usable variable in the view.
Nothing seemed to work. 

I'm hoping someone could direct me on the right track.

Thank you.



--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/Creating-a-bullet-list-view-for-the-Tree-tutorial-tp5716765.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.