Re: Application crashing between beforeFilter and actual filter
What about HABTM Fields? I can only get them to work with the Security component if I disable them with something like $this-Security- disabledFields = array('Image.Image'); The views are pretty much what had been baked. Is this a current limitation of the Security component? If not I'll have to dig deeper into my code to see why it isn't working Otherwise I'll just leave the disabled on for now. Thanks for the heads-up... :jcs On 3 Mai, 22:23, Larry E. Masters aka PhpNut [EMAIL PROTECTED] wrote: I should have said the hidden fields and their values can not be altered. The rest of the forms values do not matter it is only the data['ModelName']['fields'] that can not change or be added to. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ https://trac.cakephp.org/changeset/4968 https://trac.cakephp.org/changeset/4969 https://trac.cakephp.org/changeset/4978 If you are trying to alter the form fields or are setting any fields in your form without using $form- methods in the helper the form will be considered invalid or tampered with. The only way to disable this would be like the example in the third link. Hidden fields can not be altered in anyway if you do not disable them using the example code in a before filter. --~--~-~--~~~---~--~~ 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: Application crashing between beforeFilter and actual filter
I figured out. When I take the Security component out, it works. When I include it, it sends me to a black hole when I send the user login POST. On May 3, 10:11 am, Aaron Shafovaloff [EMAIL PROTECTED] wrote: My CakePHP 1.2 app is sometimes returning a blank page (or 404 in IE) between the beforeFilter and before the actual filter itself. I have confirmed this with die('test'); statements in either. Where could it be crashing? Is this a CakePHP 1.2 problem? --~--~-~--~~~---~--~~ 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: Application crashing between beforeFilter and actual filter
If you are using the latest code from svn, this might help. https://trac.cakephp.org/changeset/4968 https://trac.cakephp.org/changeset/4969 https://trac.cakephp.org/changeset/4978 If you are trying to alter the form fields or are setting any fields in your form without using $form- methods in the helper the form will be considered invalid or tampered with. The only way to disable this would be like the example in the third link. Hidden fields can not be altered in anyway if you do not disable them using the example code in a before filter. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ 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: Application crashing between beforeFilter and actual filter
I should have said the hidden fields and their values can not be altered. The rest of the forms values do not matter it is only the data['ModelName']['fields'] that can not change or be added to. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ https://trac.cakephp.org/changeset/4968 https://trac.cakephp.org/changeset/4969 https://trac.cakephp.org/changeset/4978 If you are trying to alter the form fields or are setting any fields in your form without using $form- methods in the helper the form will be considered invalid or tampered with. The only way to disable this would be like the example in the third link. Hidden fields can not be altered in anyway if you do not disable them using the example code in a before filter. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---