I have already checked that vedio and applied the requested.e.g changing folder names to capital.
On Wed, Apr 11, 2012 at 7:08 PM, Vitor Pacheco <[email protected]> wrote: > check this video http://www.youtube.com/watch?v=-oHofPGqPBo > > > 2012/4/11 INTERNET DATA CENTRE <[email protected]> > >> 2.1 offcourse.I would also like to know how to set paths in >> webroot/index. i cant find that leasson on youtube. >> >> >> On Wed, Apr 11, 2012 at 7:00 PM, INTERNET DATA CENTRE >> <[email protected]>wrote: >> >>> 2.1 offcourse . >>> >>> >>> On Wed, Apr 11, 2012 at 6:15 PM, Ed Propsner <[email protected]>wrote: >>> >>>> What version of Cake are you using? The video tutorial was for 1.3 and >>>> if you are using 2.1 that could create some problems. If you are on 1.3 >>>> check to make sure your mod-rewrite is working and also that the paths in >>>> webroot/index are correct. >>>> >>>> >>>> On Wed, Apr 11, 2012 at 8:23 AM, INTERNET DATA CENTRE < >>>> [email protected]> wrote: >>>> >>>>> changed all the things showing same errors again >>>>> Here is the result >>>>> >>>>> *Error: * Create the class *PostController* below in file: >>>>> app\Controller\PostController.php >>>>> >>>>> <?php >>>>> class PostController extends AppController { >>>>> >>>>> } >>>>> >>>>> *Notice: * If you want to customize this error message, create >>>>> app\View\Errors\missing_controller.ctp >>>>> Stack Trace >>>>> >>>>> - APP\webroot\index.php line >>>>> 96<http://localhost/tut_blog/post/helloworld#>→ >>>>> Dispatcher->dispatch(CakeRequest, >>>>> CakeResponse) <http://localhost/tut_blog/post/helloworld#> >>>>> >>>>> App::uses('Dispatcher', 'Routing'); $Dispatcher = new >>>>> Dispatcher(); $Dispatcher->dispatch(new CakeRequest(), new >>>>> CakeResponse(array('charset' => Configure::read('App.encoding')))); >>>>> >>>>> object(CakeRequest) { >>>>> params => array( >>>>> ) >>>>> data => array() >>>>> query => array() >>>>> url => 'post/helloworld' >>>>> base => '/tut_blog' >>>>> webroot => '/tut_blog/' >>>>> here => '/tut_blog/post/helloworld' >>>>> } >>>>> object(CakeResponse) { >>>>> >>>>> } >>>>> >>>>> >>>>> >>>>> On Wed, Apr 11, 2012 at 5:38 PM, Ed Propsner <[email protected]>wrote: >>>>> >>>>>> The only thing that should really need changing in webroot/index is >>>>>> the CAKE_CORE_INCLUDE_PATH and you would know right away if that was >>>>>> wrong. >>>>>> >>>>>> The best I can tell you is to change your hello_world method to >>>>>> helloWorld (no underscore), controller named PostsController.php, view >>>>>> (ctp) named hello_world.ctp. Try to execute hello world through the url >>>>>> localhost/tut_blog/posts/helloWorld. >>>>>> >>>>>> function helloWorld(){ >>>>>> } >>>>>> >>>>>> On Wed, Apr 11, 2012 at 7:59 AM, INTERNET DATA CENTRE < >>>>>> [email protected]> 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 < >>>>>>> [email protected]> 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 >>>>>>>> <[email protected]>wrote: >>>>>>>> >>>>>>>>> I would recommend that the site where you get your "cakephp >>>>>>>>> lesson" from should be this one >>>>>>>>> >>>>>>>>> http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html >>>>>>>>> >>>>>>>>> >>>>>>>>> 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 >>>>>>>>> >>>>>>>>> http://book.cakephp.org/2.0/en/getting-started/cakephp-conventions.html >>>>>>>>> >>>>>>>>> >>>>>>>>> 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 < >>>>>>>>> [email protected]> 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 < >>>>>>>>>> [email protected]> 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 < >>>>>>>>>>> [email protected]> 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 <[email protected]> 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 < >>>>>>>>>>>> [email protected]> 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 >>>>>>>>>>>> >>>>> <[email protected]>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%[email protected]>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 >>>>>>>>>>>> >>>> [email protected] 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 >>>>>>>>>>>> > [email protected] 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.organd >>>>>>>>>>>> help others with their CakePHP related questions. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>>>> [email protected] 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.organd >>>>>>>>>>> help others with their CakePHP related questions. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>>> [email protected] 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.organd >>>>>>>>>> help others with their CakePHP related questions. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>> [email protected] 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.organd >>>>>>>>> help others with their CakePHP related questions. >>>>>>>>> >>>>>>>>> >>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>> [email protected] 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 * >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>>> [email protected] 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 >>>>>> [email protected] 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 >>>>> [email protected] 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 >>>> [email protected] 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 * >> >> -- >> 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 >> [email protected] For more options, visit this group >> at http://groups.google.com/group/cake-php >> > > > > -- > *Vitor Pacheco* > *Skype: vitor.pacheco.costa > Msn: [email protected]* > *GTalk: [email protected]** > **Cel.: 71 8626-7909 > Tel.: 71 3378-5778 /** 71 3287-3475* > > -- > 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 > [email protected] 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
