Hello all,
We have a thread going on the use of a [removed] as a comment SPAM deterrent, written by one of the members of the EE community. I’d like to see if anyone is successfully using this extension with EE 1.6.6. We have not had much success to this point contacting the developer directly for support.
If you are in fact using this, and having some success with it, can you confirm that you are able to successfully post and are redirected back to the comments page? We have tried this on a standard, non-customized EE weblog template group, and receive a blank page once the comment is POSTed and CAPTCHA test is successfully passed. The comment is in fact posted to the EE data store successfully, so other than this blank page problem (a showstopper for obvious reasons) it works very well.
Click here for further details on the thread.
Thanks in advance!
There’s an extra whitespace character after the closing ?> php tag in the language file. Delete the ?> tag completely and you’ll find your problem goes away.
(the ?> isn’t necessary for PHP pages that are not mixed, see this article for details. http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html)
You are partly correct. On the last line, the single space needs to be removed. Thanks for having a look!
However, the <?php> tag is required in the language file, or the resource strings will not be accessed correctly from the control panel. Visit any Comment Posting Preferences page - the reCAPTCHA settings won’t be rendered correctly.
The opening <?php tag IS necessary.
The closing ?> isn’t necessary, and as noted in the article above is actually bad form to include the ?> tag. When a PHP file isn’t mixed, the closing tag is never necessary. It doesn’t matter whether it’s a language file or not.
If you remove the closing PHP tag in the language file, and have errors, I’d suggest that you have a different type of problem altogether.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.