Re: 21 Things You Must Know About CakePHP - Newbie tips
I'm using 1.1.13 and it works just fine. I agree with the above post, the SQL error must be coming from somewhere else. Did you check the log to see if 'logtest' made it in there. If so, the error lies elsewhere. On May 13, 6:10 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On 5/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Great tip! > > > I tried to use the "logging" tip but I got this result: > > Did you notice the date of the post - Monday, September 18, 2006 so > lot of it will be pretty outdated > > However $this->log('logtest'); should not cause an SQL error as the > two are just not related > > T > > -- > My motto for everyone else - "Just shut up, damnit!!" > = > PHP for E-Biz:http://sanisoft.com > = --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: 21 Things You Must Know About CakePHP - Newbie tips
On 5/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Great tip! > > I tried to use the "logging" tip but I got this result: Did you notice the date of the post - Monday, September 18, 2006 so lot of it will be pretty outdated However $this->log('logtest'); should not cause an SQL error as the two are just not related T -- My motto for everyone else - "Just shut up, damnit!!" = PHP for E-Biz: http://sanisoft.com = --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: 21 Things You Must Know About CakePHP - Newbie tips
Great tip! I tried to use the "logging" tip but I got this result: Query: append Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'append' at line 1 in C:\Program Files\xampplite \htdocs\cake\cake\libs\model\datasources\dbo_source.php on line 476 I placed the following code in my articles-controller function index() { $this->log('logtest'); $this->set('arts', $this->Article->findAll()); } I use cake 1.1.14.4797 Is this a bug? Jos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---