Re: Cakephp 3, getting error referencing relation
Hey Frocco, In CakePHP 3, the entity properties for related entities are named according to the type of relation. BelongsTo and HasOne become lowercased_and_singular, whilst HasMany and BelongsToMany become lowercased_and_plural. It looks like Products BelongsTo Brands, so you need to use $row->brand->image_path. See http://book.cakephp.org/3.0/en/orm/table-objects.html#belongsto-associations On Monday, 1 December 2014 01:39:14 UTC+2, frocco wrote: > > Hello, > > I took advice on these forums and decided to learn Cake 3.0 instead of 2. > > In my controller I am getting product items and trying to reference child > table brands. > > $data = $this->Products->find('all') > ->where(['Products.is_active' => 0]) > ->where(['Products.attributes LIKE' => $size.'%']) > ->where(['Products.category_id =' => $catid]) > ->contain(['Brands']); > > foreach($products as $row): > $row->Brands->image_path; // this line is causing an error > > Trying to get property of non-object > > -- 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/d/optout.
Re: blog tutorial errors
Ah! Well in that case, please allow me to suggest *not* CakePHP. For the moment. Do something well-structured and bite-sized like the php course on http://www.codecademy.com/ -- It's free. Then do it once more (because repetition aids learning -- corny but true). *then* go shopping for cakePHP tutorials. Learn a little PHP first (and maybe do the javascript course too!). You'll be glad you did! On Sun, Nov 30, 2014 at 10:05 PM, Lorne Dudley wrote: > Hello Matt > > Thanks for the suggestion. Can you give me a link to something simpler > ? I am really struggling to understand how cakePHP works, coming from a > raw HTML (with minimal javascript) background. As you suggest, I would > like to start up simple and then progress to more complicated models once I > can see how the simple stuff works. > > Regards > > Lorne > > On Sunday, November 30, 2014 9:46:13 PM UTC-5, mbingham wrote: >> >> Hello Lorne, >> >> Might I suggest working on something that is simpler for the moment? >> Something that doesn't require both core app logic *and* auth code. Back >> off. Find something that isn't so meaty and ease into it. Failing that, >> try to implement this blog tutorial without the auth component and then >> start over (yes over -- you'll benefit from solving the same problems with >> different eyes) with it. >> >> Good luck! >> Matt >> >> On Sat, Nov 29, 2014 at 12:16 AM, Lorne Dudley wrote: >> >>> Hello John ! >>> >>> Thanks for responding. My major problem seems to be interpreting the >>> tutorial properly and not making typo errors. The tutorial neglected to >>> mention that >> some progress since yesterday but still have not got the authorization >>> stuff completely coded. >>> >>> I was hoping someone on the list might have accomplished a clean >>> installation and would be willing to share their work. >>> >>> I will keep working at this and perhaps post later if I encounter more >>> problems. I think there might be some design problems in part one of the >>> tutorial on how >>> the flow between various screens works but I will hold off detailing >>> that "problem" until I get the authorization part "completed". >>> >>> A download of the completed working code sure would have been nice ! >>> >>> Regards >>> >>> Lorne >>> >>> >>> On Friday, November 28, 2014 12:45:35 PM UTC-5, John Andersen wrote: Can I understand you correctly, that there are no actual error in the blog tutorial, just that it gives you grief? If I am mistaken, please be so kind and explain to us, how you experience the error? How far have you got in the tutorial? What is not displayed correctly? ... and provide screenshots if possible. Thanks in advance Enjoy, John On Thursday, 27 November 2014 21:52:06 UTC+2, Lorne Dudley wrote: > > Hello ! > > I am a new user to cakePHP (version 2.6.0-RC1) and am attempting to > learn by tutorial. > > The blog tutorial at http://book.cakephp.org/2.0/en > /tutorials-and-examples/blog/part-two.html is giving me grief in that > it does not display as expected. > > Does anyone have a properly working example who would be willing to > send me copies of the following files ? > > /app/Config/routes.php > /app/view/Posts/edit.ctp > /app/view/Posts/add.ctp > /app/view/Posts/index.ctp > /app/view/Posts/view.ctp > /app/Controller-PostsController.php > /app/Model/Post.php > > Regards > > Lorne Dudley > Kingston, Ontario > > > > > -- >>> 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/d/optout. >>> >> >> -- > 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/d/optout. > -- 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 th
Re: blog tutorial errors
Hello Matt Thanks for the suggestion. Can you give me a link to something simpler ? I am really struggling to understand how cakePHP works, coming from a raw HTML (with minimal javascript) background. As you suggest, I would like to start up simple and then progress to more complicated models once I can see how the simple stuff works. Regards Lorne On Sunday, November 30, 2014 9:46:13 PM UTC-5, mbingham wrote: > > Hello Lorne, > > Might I suggest working on something that is simpler for the moment? > Something that doesn't require both core app logic *and* auth code. Back > off. Find something that isn't so meaty and ease into it. Failing that, > try to implement this blog tutorial without the auth component and then > start over (yes over -- you'll benefit from solving the same problems with > different eyes) with it. > > Good luck! > Matt > > On Sat, Nov 29, 2014 at 12:16 AM, Lorne Dudley > wrote: > >> Hello John ! >> >> Thanks for responding. My major problem seems to be interpreting the >> tutorial properly and not making typo errors. The tutorial neglected to >> mention that > some progress since yesterday but still have not got the authorization >> stuff completely coded. >> >> I was hoping someone on the list might have accomplished a clean >> installation and would be willing to share their work. >> >> I will keep working at this and perhaps post later if I encounter more >> problems. I think there might be some design problems in part one of the >> tutorial on how >> the flow between various screens works but I will hold off detailing that >> "problem" until I get the authorization part "completed". >> >> A download of the completed working code sure would have been nice ! >> >> Regards >> >> Lorne >> >> >> On Friday, November 28, 2014 12:45:35 PM UTC-5, John Andersen wrote: >>> >>> Can I understand you correctly, that there are no actual error in the >>> blog tutorial, just that it gives you grief? >>> >>> If I am mistaken, please be so kind and explain to us, how you >>> experience the error? How far have you got in the tutorial? What is not >>> displayed correctly? ... and provide screenshots if possible. >>> >>> Thanks in advance >>> Enjoy, John >>> >>> On Thursday, 27 November 2014 21:52:06 UTC+2, Lorne Dudley wrote: Hello ! I am a new user to cakePHP (version 2.6.0-RC1) and am attempting to learn by tutorial. The blog tutorial at http://book.cakephp.org/2.0/ en/tutorials-and-examples/blog/part-two.html is giving me grief in that it does not display as expected. Does anyone have a properly working example who would be willing to send me copies of the following files ? /app/Config/routes.php /app/view/Posts/edit.ctp /app/view/Posts/add.ctp /app/view/Posts/index.ctp /app/view/Posts/view.ctp /app/Controller-PostsController.php /app/Model/Post.php Regards Lorne Dudley Kingston, Ontario -- >> 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/d/optout. >> > > -- 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/d/optout.
Re: blog tutorial errors
Hi John ! I have the blog tutorial "completed" so that no errors appear. I am not happy with the way the control passes (or does not pass) between various screens. If you are interested in looking at the code and checking the way the application works I can give you a link to a public repository, There is some sql database setup required that is documented in the installation notes at the repository. Regards Lorne On Thursday, November 27, 2014 2:52:06 PM UTC-5, Lorne Dudley wrote: > > Hello ! > > I am a new user to cakePHP (version 2.6.0-RC1) and am attempting to learn > by tutorial. > > The blog tutorial at > http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/part-two.html > is giving me grief in that it does not display as expected. > > Does anyone have a properly working example who would be willing to send > me copies of the following files ? > > /app/Config/routes.php > /app/view/Posts/edit.ctp > /app/view/Posts/add.ctp > /app/view/Posts/index.ctp > /app/view/Posts/view.ctp > /app/Controller-PostsController.php > /app/Model/Post.php > > Regards > > Lorne Dudley > Kingston, Ontario > > > > > -- 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/d/optout.
Re: blog tutorial errors
Hello Lorne, Might I suggest working on something that is simpler for the moment? Something that doesn't require both core app logic *and* auth code. Back off. Find something that isn't so meaty and ease into it. Failing that, try to implement this blog tutorial without the auth component and then start over (yes over -- you'll benefit from solving the same problems with different eyes) with it. Good luck! Matt On Sat, Nov 29, 2014 at 12:16 AM, Lorne Dudley wrote: > Hello John ! > > Thanks for responding. My major problem seems to be interpreting the > tutorial properly and not making typo errors. The tutorial neglected to > mention that some progress since yesterday but still have not got the authorization > stuff completely coded. > > I was hoping someone on the list might have accomplished a clean > installation and would be willing to share their work. > > I will keep working at this and perhaps post later if I encounter more > problems. I think there might be some design problems in part one of the > tutorial on how > the flow between various screens works but I will hold off detailing that > "problem" until I get the authorization part "completed". > > A download of the completed working code sure would have been nice ! > > Regards > > Lorne > > > On Friday, November 28, 2014 12:45:35 PM UTC-5, John Andersen wrote: >> >> Can I understand you correctly, that there are no actual error in the >> blog tutorial, just that it gives you grief? >> >> If I am mistaken, please be so kind and explain to us, how you experience >> the error? How far have you got in the tutorial? What is not displayed >> correctly? ... and provide screenshots if possible. >> >> Thanks in advance >> Enjoy, John >> >> On Thursday, 27 November 2014 21:52:06 UTC+2, Lorne Dudley wrote: >>> >>> Hello ! >>> >>> I am a new user to cakePHP (version 2.6.0-RC1) and am attempting to >>> learn by tutorial. >>> >>> The blog tutorial at http://book.cakephp.org/2.0/ >>> en/tutorials-and-examples/blog/part-two.html is giving me grief in that >>> it does not display as expected. >>> >>> Does anyone have a properly working example who would be willing to send >>> me copies of the following files ? >>> >>> /app/Config/routes.php >>> /app/view/Posts/edit.ctp >>> /app/view/Posts/add.ctp >>> /app/view/Posts/index.ctp >>> /app/view/Posts/view.ctp >>> /app/Controller-PostsController.php >>> /app/Model/Post.php >>> >>> Regards >>> >>> Lorne Dudley >>> Kingston, Ontario >>> >>> >>> >>> >>> -- > 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/d/optout. > -- 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/d/optout.
Re: Is there a way to put request variables in paginate class property?
You're on the right track with the second code bit.. but i'd abstract that assignment into its own controller method and then call that from whatever action you need it set -- or if the request params are avaialble early enough (i don't know -- i don't do automagical platforms these days -- I'm on ZF2) then call it on __invoke or __constructor or something. On Sun, Nov 30, 2014 at 4:23 PM, Sam Clauw wrote: > I want to sort an array of data in my index action and one condition > depends on the id given by the request object (attraction_id). Is there a > way to set up the paginate component as a controller class method (see > under)? > > > class AttractionCommentsController extends CoasterCmsAppController > { > public $paginate = array( > 'AttractionComment' => array( > 'conditions' => array( > 'Attraction.id' => *$this* > *->request->params['named']['attraction_id'**]*, > 'AttractionComment.deleted' => null > ), > 'order' => array( > 'AttractionComment.created' => 'DESC', > 'AttractionComment.id' => 'ASC' > ), > 'limit' => 15 > ) > ); > > public function index() > { > $this->Paginator->settings = $this->paginate; > > $comments = $this->Paginator->paginate('AttractionComment'); > > $this->set('comments', $comments); > } > > ?> > > > The above code can't handle the request variable (*$this* > *->request->params['named']['attraction_id'**])* within the class method. > So... is there a solution for this or is it required to drop the class > property and do something like this: > > > class AttractionCommentsController extends CoasterCmsAppController > { > public function index() > { > > $this->Paginator->settings = array( > 'AttractionComment' => array( > 'conditions' => array( > 'Attraction.id' => $this->request->params['named'][ > 'attraction_id'], > 'AttractionComment.deleted' => null > ), > 'order' => array( > 'AttractionComment.created' => 'DESC', > 'AttractionComment.id' => 'ASC' > ), > 'limit' => 15 > ) > ); > $comments = $this->Paginator->paginate('AttractionComment'); > > $this->set('comments', $comments); > } > > ?> > > Thx 4 helping! > > -- > 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/d/optout. > -- 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/d/optout.
Re: Cakephp 3, getting error referencing relation
from. On Sun, Nov 30, 2014 at 9:35 PM, Matt Murphy wrote: > I don't know crap about Cakephp3, but as i read this, I wonder: What do > you get form $row->image_path? > > On Sun, Nov 30, 2014 at 6:39 PM, frocco wrote: > >> Hello, >> >> I took advice on these forums and decided to learn Cake 3.0 instead of 2. >> >> In my controller I am getting product items and trying to reference child >> table brands. >> >> $data = $this->Products->find('all') >> ->where(['Products.is_active' => 0]) >> ->where(['Products.attributes LIKE' => $size.'%']) >> ->where(['Products.category_id =' => $catid]) >> ->contain(['Brands']); >> >> foreach($products as $row): >> $row->Brands->image_path; // this line is causing an error >> >> Trying to get property of non-object >> >> -- >> 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/d/optout. >> > > -- 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/d/optout.
Re: Cakephp 3, getting error referencing relation
I don't know crap about Cakephp3, but as i read this, I wonder: What do you get form $row->image_path? On Sun, Nov 30, 2014 at 6:39 PM, frocco wrote: > Hello, > > I took advice on these forums and decided to learn Cake 3.0 instead of 2. > > In my controller I am getting product items and trying to reference child > table brands. > > $data = $this->Products->find('all') > ->where(['Products.is_active' => 0]) > ->where(['Products.attributes LIKE' => $size.'%']) > ->where(['Products.category_id =' => $catid]) > ->contain(['Brands']); > > foreach($products as $row): > $row->Brands->image_path; // this line is causing an error > > Trying to get property of non-object > > -- > 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/d/optout. > -- 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/d/optout.
Cakephp 3, getting error referencing relation
Hello, I took advice on these forums and decided to learn Cake 3.0 instead of 2. In my controller I am getting product items and trying to reference child table brands. $data = $this->Products->find('all') ->where(['Products.is_active' => 0]) ->where(['Products.attributes LIKE' => $size.'%']) ->where(['Products.category_id =' => $catid]) ->contain(['Brands']); foreach($products as $row): $row->Brands->image_path; // this line is causing an error Trying to get property of non-object -- 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/d/optout.
Is there a way to put request variables in paginate class property?
I want to sort an array of data in my index action and one condition depends on the id given by the request object (attraction_id). Is there a way to set up the paginate component as a controller class method (see under)? array( 'conditions' => array( 'Attraction.id' => *$this* *->request->params['named']['attraction_id'**]*, 'AttractionComment.deleted' => null ), 'order' => array( 'AttractionComment.created' => 'DESC', 'AttractionComment.id' => 'ASC' ), 'limit' => 15 ) ); public function index() { $this->Paginator->settings = $this->paginate; $comments = $this->Paginator->paginate('AttractionComment'); $this->set('comments', $comments); } ?> The above code can't handle the request variable (*$this* *->request->params['named']['attraction_id'**])* within the class method. So... is there a solution for this or is it required to drop the class property and do something like this: Paginator->settings = array( 'AttractionComment' => array( 'conditions' => array( 'Attraction.id' => $this->request->params['named'][ 'attraction_id'], 'AttractionComment.deleted' => null ), 'order' => array( 'AttractionComment.created' => 'DESC', 'AttractionComment.id' => 'ASC' ), 'limit' => 15 ) ); $comments = $this->Paginator->paginate('AttractionComment'); $this->set('comments', $comments); } ?> Thx 4 helping! -- 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/d/optout.
how do I use admin_index with bake?
Yo need enable admin prefix in route.php first, then run bake -- 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/d/optout.
Re: blog tutorial errors
Hello John ! Thanks for responding. Arrg ! I just typed in a lengthy reply and it appears to have been "lost". So ... repeating (and saving eleswhere), I have made some progress with part one of the tutorial, although I am not happy with some of the flow between screens. In one case I had to back arrow back to a reasonable location rather that the default given. I am currently working to complete the authorization code in part two of the tutorial. I think my major problem is properly interpreting the tutorial and avoiding typos. For example, some of the script neglected to mention that it should be enclosed with > Hello ! > > I am a new user to cakePHP (version 2.6.0-RC1) and am attempting to learn > by tutorial. > > The blog tutorial at > http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/part-two.html > is giving me grief in that it does not display as expected. > > Does anyone have a properly working example who would be willing to send > me copies of the following files ? > > /app/Config/routes.php > /app/view/Posts/edit.ctp > /app/view/Posts/add.ctp > /app/view/Posts/index.ctp > /app/view/Posts/view.ctp > /app/Controller-PostsController.php > /app/Model/Post.php > > Regards > > Lorne Dudley > Kingston, Ontario > > > > > -- 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/d/optout.
Re: blog tutorial errors
Hello John ! Thanks for responding. My major problem seems to be interpreting the tutorial properly and not making typo errors. The tutorial neglected to mention that > Can I understand you correctly, that there are no actual error in the blog > tutorial, just that it gives you grief? > > If I am mistaken, please be so kind and explain to us, how you experience > the error? How far have you got in the tutorial? What is not displayed > correctly? ... and provide screenshots if possible. > > Thanks in advance > Enjoy, John > > On Thursday, 27 November 2014 21:52:06 UTC+2, Lorne Dudley wrote: >> >> Hello ! >> >> I am a new user to cakePHP (version 2.6.0-RC1) and am attempting to learn >> by tutorial. >> >> The blog tutorial at >> http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/part-two.html >> is giving me grief in that it does not display as expected. >> >> Does anyone have a properly working example who would be willing to send >> me copies of the following files ? >> >> /app/Config/routes.php >> /app/view/Posts/edit.ctp >> /app/view/Posts/add.ctp >> /app/view/Posts/index.ctp >> /app/view/Posts/view.ctp >> /app/Controller-PostsController.php >> /app/Model/Post.php >> >> Regards >> >> Lorne Dudley >> Kingston, Ontario >> >> >> >> >> -- 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/d/optout.