Notice: IE6, P3P and FRAMESETs
Dear Cake users, If you've used a frameset on IE6 lately (ugh), check out this Ticket: https://trac.cakephp.org/ticket/1532 The gist is: IE6 says No! to session cookies in framesets with frames with pages from another domain in them. To make IE6 happy, Cake sends a so-called P3P header to it. But not all the time. IE6 becomes sad, and sends empty sessions back. So, no setFlash() magic, no session love. To send the P3P header on all your session cookies, follow the simple advice in the Ticket comment. (I just did, and it solved my issue.) By the way: Thanks for being such a lovely community, folks. Friendly! I dig that. kind regards, Olle Jonsson Copenhagen, Denmark --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Mini Models? Best practice for retrieving small amounts of data.
Perhaps this blog post can help a bit: http://olle.ter.dk/blog/?p=304 It talks about Model::unbindModel(), which might help. have a nice day, Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Bakehouse anybody ??
kain: if you have a mac you'll love it. Yeah, my other computer is a Powerbook. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: CakePHP 1.1.8.3544... the start of something new
Yay! Go, go, go team. Thanks! -Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Slides from my talk at php|works
nate wrote: Too many frameworks out there try to make PHP look like Java or Ruby (insofar as it is possible). I feel like that with Yahoo!'s Javascript framework, they want to be Java. It is nice to see some opinion in the slides, as well -- not just plain information I could've gleaned by browsing a bit. Thanks for publishing the slides, Chris. //Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Bakehouse anybody ??
Welcome to Cake, G. Perspective: Nowadays, there is a manual, with things in it that one can learn from. Great times, indeed. I believe the shortcut the newcomer is looking for _is_ the manual. A story told in sequence, telling little bits, one at a time. I am a sucker for manuals. The search Cake function at the website, is also golden for the newcomer. I heard Ruby on Rails developer David Heinemeier Hansson talk about generated scaffolding (think about the code that Bake.php outputs, that's the stuff I mean). It is primarily a teaching tool, so we should maximize the teaching of convention in those generated files. Perhaps /cake/scripts/bake.php could become better at teaching the conventions? cheers, Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Is there a way for $html- method return normal form names
Makes me think about the ugly word performance: * At which point will my helper methods in $html weigh me down more than they help me? * When will I have to write Javascript manually, to lessen the load? I have no numbers on how much $html weighs in terms of processing overhead. I have experienced no problems yet. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: PHP 4.4.2 and MySQL 4.1.16.
Hey Sujith, http://www.php.net/ChangeLog-4.php#4.4.2 lists what's happened in the bugs list. Take a look at the things that are not listed as Fixed bug #. They aren't that many. Does any one of those impact your work? (Probably not, but check anyway, so you are sure.) Then, go grab latest 4.4.4 and smile. kind regards from one PHP dude to another, Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: PHP 4.4.2 and MySQL 4.1.16.
Also, older MySQL's parted in 3 groups: 3.23, 4.0 and 4.1. Those are the partitions, where useful new stuff's been added in. The documentation link uses them in a group (all-versions-less-than-5): http://dev.mysql.com/doc/refman/4.1/en/ You've got 4.1. One of the very useful releases. That means you're not hindered by the database version. So go grab the latest 4.1 you can get. -Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: renderElement et son $params
Thinking of the Element as its own little View can make things easier to grasp. A View underneath the View, so to speak. Just like the Controller assigns a few variables to its friend the View, the View can assign a couple of choice variables to its buddy, little Element. Elements and variables: on a purely need-to-know basis. The calling View decides what is good for Element to know about. -Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: $this-redirect('/') not working :(
Come to think of it, you could remove the final ? as well. PHP can parse files that do not end in ?. And without the final ? you can never output accidental whitespace. Here is what the PHP manual says: Note: The closing tag of a PHP block at the end of a file is optional, and in some cases omitting it is helpful when using include() or require(), so unwanted whitespace will not occur at the end of files, and you will still be able to add headers to the response later. It is also handy if you use output buffering, and would not like to see added unwanted whitespace at the end of the parts generated by the included files. http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php Cheers, Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: IP address / CIDR helper
I'd be interested in hearing what said helper should do, Albert. Please, go ahead. Make a wish. cheers, -Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: With a new release of Cake, comes new release notes - lets make them more useful - with Greasemonkey
Excellent, excellent! I had to fix my broken Greasemonkey to get this working, but now I actually did that, so I'm free to browse stuff faster. Thanks, Alister! Greaseblog helped med: http://greaseblog.blogspot.com/2005/12/troubleshooting-064.html (I had that missing folder error.) --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Problems w/ Graham Bird's Task List Tutorial
FYI: Graham's been notified of this URL trouble. My fix for the conundrum was to wrap /tasks/done/ in Cake's $html-url() method, to get a full URL to it. I emailed him this, he answered he'd include that solution, and that fix will probably be in the tutorial forthwith. Hope you have fun with AJAX. Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: HABTM Manual foriegn key error?
Since you tried this, and got the expected result with your new piece of code, this idea is ripe for a Ticket. Thanks for taking care of details, mate. -Olle --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: $this-Model-findAll() is killing the rendering (follow-up of my Ajax refresh problem)
Dear olivvv, (Seen you around here before, haven't I?) I seem to recall a play about this... let's see: (Debugging Tactics enter stage left. Artist stands at his screen.) DT (reads mind of Artist before talking): Have you tried assigning that findAll() to a local temp variable? Artist: Yeah, I turned DEBUG up to 2. And... yeah, setting a local var, that could be OK. I'll do that. DT: Then you might be able to see if the set() or the findAll() bombs. Artist: You mean... DT (interrupts): Yes! Dependencies! Required files, classes and such! (Choir enters stage from right. Choir begins singing the Cake Debugging Song on page [n].) --- That's all I can remember of that play. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---