If you see HTTP requests duplication it means actual redirect, not
requestAction or something similar. And if you use there some third
party code it may do this redirect.
Waiting for more news.
On Dec 12, 5:13 am, bujanga wrote:
> This is a bit of a flaky one. Think it is mainly a problem with t
This is a bit of a flaky one. Think it is mainly a problem with the
third-party application I am working with. I worked around it the
other day.
I have, however; seen a few duplicate HTTP requests from some very
simple actions and views. These are NOT generated by any by a
requestAction. My before
I will dig into this error today, busy yesterday. I intend to monitor
the server logs and build the actions up until I see the reload
behavior.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you a
I actually just noticed the same behavior today. For testing an email
method, I called it at the end of an index action. I got two copies of the
email. Normally, the mail will be sent after filtering through some
conditionals, so I don't think it will be a problem. I do have a connect
method as
You can check is it "internal redirect" (like requestAction) or actual
one by checking HTTP requests. If there are two HTTP request you need
to search redirect in code, if no - the problem is in requestAction or
setAction or direct call of this method.
On Dec 10, 8:18 pm, bujanga wrote:
> There w
There was a requestAction called from my layout BUT I disabled it
during troubleshooting. In fact, All links to js, css, and images are
stripped from my layout and views. I have no beforeRender or
afterFilter.
View still reloads. Odd thing is, it goes twice when called via a
redirect from another
requestAction somewhere? In a view, or beforeRender, or afterFilter
maybe?
On Dec 10, 5:05 am, bujanga wrote:
> I have looked over this code many times and really just don't know why
> this is happening. It seems that cake is performing the action twice.
> How do I know this? I am receiving 2 of
I have looked over this code many times and really just don't know why
this is happening. It seems that cake is performing the action twice.
How do I know this? I am receiving 2 of each email. If I put an exit
statement before the end of the action, I only receive 1 of each
email.
As a background,