This seems like a strange one. I am running CakePHP 1.2.0.6311 Beta
on a local IIS server. I haver several plugins which have elements to
display their data. My main app includes the element and up until now
I've had no problems. However, on a page which already contains one
working element, a second element causes the application to crash with
the message:
PHP has encountered a Stack overflow
I have no idea why this is happening as I have already developed
several other elements and have taken the code all the way down to the
very basics. I am getting no other error messages either in the
cakephp logs or in my server logs. It only crashes once I include the
requestAction line. I'd appreciate any insight that someone might
have with this one. Thanks.
Here's the code snippets.
//app/members/views/profile.ctp
echo $this->element('contest_profile_list', array('plugin'=>'contest',
'profileID'=>$curProfile['id'], 'onClick'=>'/categories/
contests_info'));
//app/plugins/contest/views/elements/contest_profile_list.ctp
echo "before";
$this->requestAction('/contest/contests/test1');
echo "after";
//app/plugins/contest/controllers/contests_controller.php
function test1() {
echo "something!!";
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---