Re: New video tutorial: CakePHP basics - Formhelper, validation, saving and callbacks
Nice Thanks Τη Πέμπτη, 16 Αυγούστου 2012 9:40:17 π.μ. UTC+3, ο χρήστης frederikjacques έγραψε: Hi cake lovers, I've just uploaded part 2 of my cakePHP basics tutorial series. In this one we create a form via FormHelper, do validation based on the model and save it. I'll also talk about callbacks to put a hook in the cakePHP execution flow. http://blog.the-nerd.be/2012/08/cakephp-basics-tutorial-part-2/ Hope you like it! Cheers, Frederik -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: New video tutorial: CakePHP basics - Formhelper, validation, saving and callbacks
Nice video. g+1 for good efforts -- Thanks Regards Chetan Patel -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Mysterious crashes when debug is off.
What does tmp/logs/error.log - or your apache error log - say? AD On Thursday, 16 August 2012 18:42:29 UTC+2, olivier deckers wrote: When debug is set to 1 or 2, everything works as expected, but when I set debug to 0, php crashes as it executes imap_open(). Are there any differences besides the printing out of errors and disabling of caches between the debug modes that could cause these crashes? (I am using cakephp 1.3) -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: Debugger Class not found - CakePHP 2.1 - PHP 5.4
Hi traedamatic, I have the same problem, how did u resolve this issues. thank you very much On Friday, March 23, 2012 10:33:24 PM UTC+8, traedamatic wrote: Problem SOLVED! *php 5.4 needs public and private keywords with function and attributes!!! * Am Mittwoch, 21. März 2012 10:20:55 UTC+1 schrieb traedamatic: Hello, I have a strange problem. I run on Cakephp 2.1 App on PHP 5.4 and 5.3.10. On PHP 5.3.10 is everything fine but on 5.4 i get this error: *Fatal error*: Class 'Debugger' not found in * /***/beta/app/Plugin/Markitup/View/Helper/MarkitupHelper.php *on line * 161* * * The line 161 is the last line of the file. The head of the Helper looks like this: App::import('Core', 'Debugger'); App::uses('AppHelper', 'View/Helper'); class MarkitupHelper extends AppHelper { ... The funny think is that happens although with the DebugKit Plugin. Does anyone have the same problem? Does anyone had the same Problem? -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: New video tutorial: CakePHP basics - Formhelper, validation, saving and callbacks
thanks 2012/8/17 Chetan Patel chetanspeed511...@gmail.com Nice video. g+1 for good efforts -- Thanks Regards Chetan Patel -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US. -- Sincerely Noom . 086 688 5686 -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: integrating pusher.com with cakephp
OK, I'm still struggling, anyone with a working example of a real-time activity stream that updates the results in a view after a record is save. On Tuesday, 14 August 2012 15:05:10 UTC+1, Nick Crane wrote: I'm trying to implement a web socket with PUSHER within an existing cakephp 2.2.1 application. Has anyone attempted anything similar or come across any resources that define what is required, how this can be achieved? -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Scaffolding a Tree works fine, fails on Bake
I've been building an application that includes an application which includes the model shown below: App::uses('AppModel', 'Model'); class EntityFunction extends AppModel { public $name = 'EntityFunction'; public $displayField = 'title'; public $validate = array( 'title' = array( 'rule' = 'isUnique', 'message' = 'This function title has already been used.' ) ); public $actsAs = array('Tree'); public $hasMany = array( 'ChildEntityFunctions' = array( 'className' ='EntityFunction', 'foreignKey'='parent_id', 'dependent' = true ) ); public $belongsTo = array( 'ParentEntityFunction' = array( 'className' = 'EntityFunction', 'foreignKey' = 'parent_id' ) ); } When using *public $scaffold; *in the corresponding controller the CRUD interface for the model works fine. However when it comes to baking the controller and views the *Parent* is blank, and saving creates a new table row with the *parent_id* of null. Am I missing something here? Or is this just a problem with baking trees... -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: integrating pusher.com with cakephp
OK, got it working with the pusher Event Creator fine, but when it came to including the $pusher-trigger('channel','event',arrayofdata); in a controller method, no joy, there seems to be a timing issue. Tried it with pubnub, a very similar implementation, it works fine. If anyone is that interested i can post a more detailed explanation. On Tuesday, 14 August 2012 15:05:10 UTC+1, Nick Crane wrote: I'm trying to implement a web socket with PUSHER within an existing cakephp 2.2.1 application. Has anyone attempted anything similar or come across any resources that define what is required, how this can be achieved? -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Re: integrating pusher.com with cakephp
Go on On Aug 17, 2012, at 11:46 PM, Nick Crane nic.cr...@gmail.com wrote: OK, got it working with the pusher Event Creator fine, but when it came to including the $pusher-trigger('channel','event',arrayofdata); in a controller method, no joy, there seems to be a timing issue. Tried it with pubnub, a very similar implementation, it works fine. If anyone is that interested i can post a more detailed explanation. On Tuesday, 14 August 2012 15:05:10 UTC+1, Nick Crane wrote: I'm trying to implement a web socket with PUSHER within an existing cakephp 2.2.1 application. Has anyone attempted anything similar or come across any resources that define what is required, how this can be achieved? -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US. -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.