Comment-form broken in 14.11.2
-
Do you have any example form? I cannot reproduce this issue.
Forget about it. I got it.
ok š
It should work in the newest GitHub version. Can you confirm that?
No. It does not work at all now. The comment is complete empty now and appears directly in the spam comment section of WordPress.
I downgraded from github to version 14.11.2 again and was surprised, that suddenly a user comment came through. I wasn’t able to reproduce a working comment. My testmails still where not shown as comment and only a html-mail was sent to the administrator.
So I disabled ajax for the comment form – and the comment came through! But immediately, instead of the page with a success message, I got a “You don’t have access to this page” message (Error 403). So even the non ajax-version does not work properly.
14.11.3 should fix this. Can you confirm?
No, can’t confirm this. Still not fixed and same behavior/error as in 14.11.2 (error 403 forbidden appears after sending the form).
=> Downgraded to 14.10.1 again, the last working version.
To clarify: Are you expecting the comment to show up in WordPress comments (which should do) or in cforms tracking database (which should not do)?
Do you have any example URL?
Hello,
writing a comment with version 14.11.3 installed the comment shows up in the WordPress comments. This seems to work. But the user does not see a success message, instead there appears an Apache error 403 (forbidden). This happens with and without AJAX.
Due to the fact, that I had to downgrade to 14.10.1 right now you don’t see that error on literaturcafe.de. You can send me a pm so I can switch to the actual version to test.
I do not know about any private message functionality in this forum. So for the next hour I keep on checking this page. If you upgrade to 14.11.4, please let me know.
Hello,
I installed 14.11.4. so please have a try.
comments will go into moderation queue so don’t worry š
Can you post your mod_rewrite rules (most probably Apache .htaccess file)?
You can try the following: delete this block from cforms.php:
### fix for WP Comment (loading after redirect) if ( isset($_GET['cfemail']) && $isWPcommentForm ){ $usermessage_class = ' success'; $success=true; if ( $_GET['cfemail']=='sent' || $_GET['cfemail']=='posted' ){ $usermessage_text = preg_replace ( '|\r\n|', '<br />', stripslashes($cformsSettings['form'.$no]['cforms'.$no.'_success']) ); } else { $usermessage_class = ' failure'; $success=false; } }Do you have any application firewall installed that filters specific GET parameters based on some rules? Example: modsecurity.
Wordfence is installed.
Are there any changes with the GET-parameters? 14.10.1 had no problems.
The topic ‘Comment-form broken in 14.11.2’ is closed to new replies.
(@woltis)
10 years, 3 months ago
Hello,
in 14.11.2 the WP-Comment form is broken. A comment does not appear in comments anymore. It is sent as an invalid html-mail to the administrator.
https://wordpress.org/plugins/cforms2/