My problem was not TinyMCE it was down to a field I had set as
disabled=>true ... it needed added to security's disabledFields
attributes to allow the form to submit.
Would still like to know if there is a way to get Security to tell you
which field it is that's caused it to blackhole a request t
@martin: I am having problems with security and a white screen. I
suspect it's a field using TinyMCE which is causing my token to fail,
and I am aware of how to specify a blackHoleCallback method, but what
should I be placing in my echo debug(); to see security's errors?
I don't want to disable
Add this to your controllers beforeFilter:
$this->Security->disabledFields = array('testValue');
http://www.milesj.me/blog/read/43/Protecting-Your-Forms-With-The-Security-Component
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
I don't think is affects your problem but in the code you posted the
html would be invalid. The and should be at the same
hierarchical leven in the html but you have the "end" inside a div.
A 404 is what you would get is SecurityComponent decided to kick you
in the behind. It is called blackHol
The url is the same.
With FireFox plugin Tamper Data I get status header "Not Found - 404"
On 10 Set, 12:14, Bert Van den Brande wrote:
> What's the url of the page with the form, and what's the url of the white
> page ?
>
> Maybe inspect traffic with the FireFox plugin Tamper Data to detect
>
What's the url of the page with the form, and what's the url of the white page ?
Maybe inspect traffic with the FireFox plugin Tamper Data to detect
what's going on ...
On Thu, Sep 10, 2009 at 11:46 AM, byqsri wrote:
>
> I try to set the debug mode to 1 and to 2 but there is no errors
>
> On 10
I try to set the debug mode to 1 and to 2 but there is no errors
On 10 Set, 11:37, Bert Van den Brande wrote:
> A clean white page suggests an error that can't be shown because you
> have set the debug level to 0.
>
> Try setting it to 1 or 2 and see if the 'white page' now outputs an
> error me
A clean white page suggests an error that can't be shown because you
have set the debug level to 0.
Try setting it to 1 or 2 and see if the 'white page' now outputs an
error message.
On Thu, Sep 10, 2009 at 11:32 AM, byqsri wrote:
>
>
>
> On 10 Set, 11:16, WebbedIT wrote:
>> How do you know if
On 10 Set, 11:16, WebbedIT wrote:
> How do you know if this is a security component issue as the form is
> not being submitted to a Controller/Action to be processed?!?
>
Because if I don't use the Security component the form is correctly
submit.
> What should happen if the form submits to the
How do you know if this is a security component issue as the form is
not being submitted to a Controller/Action to be processed?!?
What should happen if the form submits to the url /test/?
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Hi
I use Security component and I have a view like this:
create(NULL, array( 'url' => '/test/'))); ?>
input('testValue',array('name'=>'data[testValue]',
'id'=>'testValue','label' => 'Test Value:','options'
=> $testValues)); ?>
/div>
end(__d('buttons',"Try",true)));
?>
When I try to submit the
11 matches
Mail list logo