I am doing a small project to learn the beautiful intricacies of
cakePHP and I have a small problem.
In my controller I am using a ReCaptcha component and it works well
for my "add record" form, I include the component like this...
class ResourcesController extends AppController {
var $name = 'Resources';
var $uses = array('Resource', 'Contact');
var $components = array('Recaptcha');
var $paginate = array('Resource' => array(
'limit' => 20,
'order' => 'Resource.created DESC'
)
);
But when I am in a "view all" action for some reason the ReCaptcha
component causes this error...
Cannot modify header information - headers already sent by (output
started at /mnt/hgfs/Medianoche-C/Workspace/recirculate/app/
controllers/components/recaptcha.php:135)
Any help much appreciated.
Gwilym
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment