[TYPO3-english] Redirect does not work (always) for old-school mailforms

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Thu Oct 11 10:01:00 CEST 2012


Hi Jigal and others,

I am still struggling with the redirect-problem of old-school mailforms. 
However, I now find the pattern WHEN it occurs and WHEN it does NOT 
(pattern is the same for both 4.5.x and 4.7.x).

1) I create a very basic, old-school mailform on one page and a 
"thank-you"-page on another one. I set the latter as "not-in-menu".

2) Then I delete all cache from the BackEnd and call the mailform-page 
for the FIRST time

3) When I fill in the form, the page is not redirected to the 
"thank-you"-page but to the root-page instead and mail is not send

4) If I call the form-page for the second- or n-time, the page is 
redirected correctly and mail is send.

Conclusion: the problem is server-cache related, as long as 
redirect-page is not cached, redirect does NOT work. As soon as this 
page is cache, everything works as expected (as long as cache is not 
removed).

Could anyone reproduce/confirm this problem/bug?
If not, could there be a relation between the problem and my 
server-settings (Debian)?
How could this be solved? Any suggestions?

Thanks in advance!!!

Bert

On 9/28/12 7:56 PM, Jigal van Hemert wrote:
> Hi Bert,
>
> On 28-9-2012 17:56, Bert Hiddink [BENDOO e-work solutions] wrote:
>> I tried several things:
>> - Disable caching
>> - Disable RealURL
>> - Upgrade from TYPO3 4.5.x to 4.7.x
>>
>> No effect of one of these on the issue.
>> Any other ideas?
>
> I just tested the old form on my local 4.7-dev installation and each
> time it sent the mail via SwiftMailer using smtp.
>
> If you monitor the HTTP responses (firebug or a similar development tool
> for your browser) there are no redirects? Does it depend on what's
> entered in the form? Any mail related extension present in the
> installation? (Just a few guesses)
>



More information about the TYPO3-english mailing list