Wednesday, April 11, 2012

Re: Where to start?

What version of Cake are you using? I was under the assumption you were using 2.1. 

On Wed, Apr 11, 2012 at 8:02 AM, INTERNET DATA CENTRE <imti321@gmail.com> wrote:
You are right the reason you see two urls mentioned by me is that when i got that error again and again .I uninstalled my wamp and then reinstalled it .Obveiously .Folder will be different but problem in both cases is same.


On Wed, Apr 11, 2012 at 5:29 PM, INTERNET DATA CENTRE <imti321@gmail.com> wrote:
Please see carefully what name he is giving to file and what in AppController .Here is the link
http://www.youtube.com/watch?v=zosLKTOVv3E&feature=fvsr 


On Wed, Apr 11, 2012 at 5:26 PM, INTERNET DATA CENTRE <imti321@gmail.com> wrote:
Thanks for reply and advice.

But i have not gone through all the MVC's and coding, without reading and understanding them throughly.I hav not got this lesson from the link you have provided.Although i have tried with that also before this. .i wrote code myself manytime.When i got same problem again and again.then i turned here.I think problem is somewhere in webroot/index file .Do i need to change that.I changed the name of file which i had named exactly in same way which i saw on youtube.


On Wed, Apr 11, 2012 at 5:05 PM, Ed Propsner <crotchfrog@gmail.com> wrote:
I would recommend that the site where you get your "cakephp lesson" from should be this one

Work through (not copy and paste) the blog tutorial as many times as it takes until you have at least a basic understanding. 

Your Posts controller should be named PostsController.php

Your initial post states that you were accessing the url  'localhost/cakeblog/index.php/posts/hello_world' and you were having some problems with that, as you should. Your stack trace shows   '/tut_blog/Posts/hello_world'. It seems to me like things have been shuffled around and re-named a few times in an effort to make things work. Honestly, I would start fresh with the blog tutorial and actually read the book as you go along paying particular attention to important things like MVC principles, folder structure, and naming conventions. Rushing through things and copying/pasting code is only going to get you to where you are right now. 

My apologies for not being able to help more but I really do recommend going through the blog tutorial again. 
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html  


On Wed, Apr 11, 2012 at 6:37 AM, INTERNET DATA CENTRE <imti321@gmail.com> wrote:
But the cakephp lesson where from i got this shows same file name and it works good there. I have even tried with that file name also.


On Wed, Apr 11, 2012 at 4:05 PM, Ed Propsner <crotchfrog@gmail.com> wrote:
The file should be named PostsController.php
http://book.cakephp.org/2.0/en/getting-started/cakephp-conventions.html 


On Wed, Apr 11, 2012 at 6:24 AM, INTERNET DATA CENTRE <imti321@gmail.com> wrote:
do you mean to say file name
file name Posts_controller
code
<php
class PostsController extends AppController {
var $name = 'Posts';
function hello_world() {
}

}



On 4/11/12, CrotchFrog <crotchfrog@gmail.com> wrote:
> Sorry, I just realized it was the PostsController and not the Post Model
> that was not being found. You sure you have the PostsController.php and
> it's not misspelled or anything like that?
>
> On Wednesday, April 11, 2012 4:27:52 AM UTC-4, CrotchFrog wrote:
>>
>> No, there is no need to delete it.
>> Is  "*Error: **PostsController* could not be found" the only error you
>> are getting?
>> Your default view loaded ok?
>>
>> On Wednesday, April 11, 2012 4:12:27 AM UTC-4, masoodi wrote:
>>>
>>> THanks for reply
>>>
>>>  There is only one file in Model folder named empty .It does not contain
>>> any text or code in it. Shall i delete it ,
>>>
>>> On Wed, Apr 11, 2012 at 1:38 PM, CrotchFrog <crotchfrog@gmail.com> wrote:
>>>
>>>> Delete the contents of the Model folder.
>>>>
>>>>
>>>> On Wednesday, April 11, 2012 3:56:24 AM UTC-4, masoodi wrote:
>>>>>
>>>>> There are three folders in it models  persistant views which one to
>>>>> delete
>>>>>
>>>>> On Wed, Apr 11, 2012 at 10:59 AM, CrotchFrog
>>>>> <crotchfrog@gmail.com>wrote:
>>>>>
>>>>>> Try to empty the cache and see if it helps.
>>>>>> /app/tmp/cache/
>>>>>>
>>>>>>
>>>>>> On Sunday, April 8, 2012 8:02:47 AM UTC-4, masoodi wrote:
>>>>>>
>>>>>>> Dear friends ,
>>>>>>>
>>>>>>>        I am new to cake . I have installed it .Now after installation
>>>>>>>
>>>>>>> what shall be our first action.i mean to say what have we to do after
>>>>>>>
>>>>>>> installation.It shows me a blank screen when i try to see my blog.
>>>>>>> My database name is cakeBlogs and table name Posts. what shall i do
>>>>>>> now to design a website .
>>>>>>>
>>>>>>> Thanks with regards
>>>>>>>  Masoodi
>>>>>>>
>>>>>>  --
>>>>>> 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<cake-php%2Bunsubscribe@googlegroups.com>For
>>>>>> more options, visit this group at
>>>>>> http://groups.google.com/**group/cake-php<http://groups.google.com/group/cake-php>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks
>>>>> Imtiyaz Nabi Masoodi
>>>>> Fast track Executive Affiliate
>>>>> Booster Club Member*
>>>>> * ** http://www.earnonlineparttimejobs.com/?id=232501 *
>>>>>
>>>>>  --
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks
>>> Imtiyaz Nabi Masoodi
>>> Fast track Executive Affiliate
>>> Booster Club Member*
>>> * ** http://www.earnonlineparttimejobs.com/?id=232501 *
>>>
>>>
>
> --
> 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
>


--
*Thanks
Imtiyaz Nabi Masoodi
Fast track Executive Affiliate
Booster Club Member*
* ** http://www.earnonlineparttimejobs.com/?id=232501 *

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



--
Thanks
Imtiyaz Nabi Masoodi
Fast track Executive Affiliate
Booster Club Member

  http://www.earnonlineparttimejobs.com/?id=232501

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



--
Thanks
Imtiyaz Nabi Masoodi
Fast track Executive Affiliate
Booster Club Member

  http://www.earnonlineparttimejobs.com/?id=232501




--
Thanks
Imtiyaz Nabi Masoodi
Fast track Executive Affiliate
Booster Club Member

  http://www.earnonlineparttimejobs.com/?id=232501




--
Thanks
Imtiyaz Nabi Masoodi
Fast track Executive Affiliate
Booster Club Member

  http://www.earnonlineparttimejobs.com/?id=232501

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