I want to share my experience and I have a two questions. But first my experience: It took me a couple of days to find a bug I myself introduced in my code.
I tried to make the 'log'-function work but what ever I did it raised the following error: 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 At first I thought there was a bug in the Cake framework. So I filed a bug, https://trac.cakephp.org/ticket/2593. He, don't blame yourself ;-) Well it wasn't a bug, obviously. I used a model called 'File' in my application. And that's where the problem was, at least I think so. File is a class used in the Cake framework. And I think this caused some sort of namecollision with my own File-model. After changing my File-model to another name the trouble disappeared. :-) :-) :-) Now my questions: - Could it be the case that there was a name collision? - Is there a way to avoid these collisions? If so, how? Back to coding, Jos --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
