Re: Help with CakePHP tutorial

2011-01-21 Thread Ryan Schmidt
For myself, I am starting to learn CakePHP after having already used PHP for 8 years and created and maintained dozens of web sites with it. I would not necessarily recommend trying to learn PHP at the same time as CakePHP. My advice would be to become intimately familiar with PHP before attempt

Re: Help with CakePHP tutorial

2011-01-20 Thread Jamie
The debug code you posted starts like this: app\controllers\products_controller.php (line 13) Array ( [Data] => Array So, you actually set a variable called $Data (capital 'D'), not $data. PHP is case sensitive. Make sure that you're naming it "data" in your controller AND using "data" in yo

Re: Help with CakePHP tutorial

2011-01-20 Thread tacoparty
Thanks, I'll look for some more recent basic tutorials. I commented on the site but nobody responded. I at least have CakePHP installed and working, so that's a start. Thanks again! Very pleased with the CakePHP community so far. Very helpful, not condescending to newbs like myself. On Jan 20, 9:

Re: Help with CakePHP tutorial

2011-01-20 Thread PHPMine
this tutorial looks old and incompatible with the latest version of cake. furthermore, put "debug($data);" without the quotes of course, after the Products->find() to verify you actually have data. then put that same code in your view to verify the data makes it to your view. lastly, comment on th

Re: Help with CakePHP tutorial

2011-01-20 Thread tacoparty
Thanks for the help, gave that a try and below is what I got, so I know there is data in the table, anyway. I don't know how to troubleshoot much else. I was hoping CakePHP would be a good platform to actually learn PHP but so far not so much. app\controllers\products_controller.php (line 13) Arra

Re: Help with CakePHP tutorial

2011-01-20 Thread sutikno sofjan
check with your database (in your table : empty or not empty data ?) On Thu, Jan 20, 2011 at 8:34 AM, tacoparty wrote: > Hello, > > I am a complete newbie to PHP and especially CakePHP and am going > through a few tutorials I found online. > > The one I'm having problems with is located here: >

Re: Help with CakePHP tutorial

2011-01-19 Thread cricket
On Wed, Jan 19, 2011 at 8:34 PM, tacoparty wrote: > Hello, > > I am a complete newbie to PHP and especially CakePHP and am going > through a few tutorials I found online. > > The one I'm having problems with is located here: > http://www.switchonthecode.com/tutorials/cakephp-using-helpers#comment-

Help with CakePHP tutorial

2011-01-19 Thread tacoparty
Hello, I am a complete newbie to PHP and especially CakePHP and am going through a few tutorials I found online. The one I'm having problems with is located here: http://www.switchonthecode.com/tutorials/cakephp-using-helpers#comment-6644 I've followed all the steps verbatim but when I try to go