[TYPO3-english] Redirect does not work (always) for old-school mailforms-> RESOLVED (problem due to wt_spamshield)
Bert Hiddink [BENDOO e-work solutions]
hiddink at bendoo.nl
Fri Oct 12 10:12:09 CEST 2012
Hello,
FINALLY found out that the redirect-problem for old-school mailforms
(please see description below) was related to a bug in the wt_spamshield!
Disabling the setting:
plugin.wt_spamshield {
enable.standardMailform = 1
}
...made the forms behave as expected.
Will report this bug to the author Alex Kellner.
Hope this helps someone else out of this annoying problem!
Regards,
Bert
On 10/11/12 10:01 AM, Bert Hiddink [BENDOO e-work solutions] wrote:
> 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