Closed knieth closed 2 years ago
clicking the 'Spam Queue' throws an error
What error?
Opened a new issue for the SVG: https://github.com/silentzco/statamic-akismet/issues/32
@knieth can I see your form template please?
Also, can you please try with akismet-guaranteed-spam@example.com
as the email address or viagra-test-123
as the name as see if those are flagged as spam?
using the test values: akismet-guaranteed-spam@example.com as the email or viagra-test-123 as name doesn't move the contact forms into the spam queue.
@sigalkel can I see your akismet.php
config file please?
Can you please zip up your site (please remove the node-modules
and vendor
folders) and send it to me?
Hi Erin, did you get my files?
Yup, will be looking this week.
The Akismet key you have in the .env is incorrect. When I use my Akismet key everything works as expected. With yours I get an invalid
error on the call to Akismet.
Please double check the key.
Not the Akismet license key the Akismet API key
Now, the API key showed up on https://akismet.com/account/ and I put it in the env file, cleared all caches including config but still getting the same error in the spam queue.
Now, the API key showed up on https://akismet.com/account/ and I put it in the env file, cleared all caches including config but still getting the same error in the spam queue.
Wrong issue for this comment, that's this issue: https://github.com/silentzco/statamic-akismet/issues/34
@edalzell here is the contact form template
Also I already tried testing with akismet-guaranteed-spam@example.com
as the email address or viagra-test-123
as the name, the submission still not getting flagged as spam.
<div class="contact-form" id="contact_form">
{{ form:create in="contact" redirect="/contact#contact_form_container" error_redirect="/contact#contact_form_container" }}
{{ if errors }}
<div class="callout alert">
<p>
{{ errors }}
{{ value }}<br>
{{ /errors }}
</p>
</div>
{{ /if }}
{{ if success }}
<div class="callout success">
<p>
Thank you for contacting us, we will be in touch.
</p>
</div>
{{ /if }}
<div class="row">
<div class="large-6 columns">
<label>Name</label>
<input type="text" id="name" name="name" value="{{ old:name }}" autofocus required>
</div>
<div class="large-6 columns">
<label>Email Address</label>
<input type="text" id="email" name="email" value="{{ old:email }}" required>
</div>
<div class="large-12 columns">
<label>Message</label>
<textarea id="message" name="message" required>{{ old:message }}</textarea>
</div>
<div class="large-12 columns">
{{ captcha }}<br>
</div>
<div class="large-12 columns">
<input type="text" name="honeypot" style="display: none;"/>
<input type="submit" class="button" value="Submit">
</div>
</div>
{{ /form:create }}
</div>
@knieth this is the Aksimet API key NOT the license key from Statamic right?
@edalzell, yes that is NOT the license key from Statamic, that is the API key from the Akismet account, that is the only key we can find in our Akismet account.
@knieth can you please zip up your site (don't send the node_modules or vendor folder) and send to me?
@edalzell I have shared a Dropbox link directly with you for the site referenced by @knieth.
Thank you!
@knieth @thestepafter while I can reproduce the issue, if I upgrade to Statamic 3.2 form submissions are correctly flagged as spam.
Are you able to upgrade to 3.2? You should as 3.1 is quite old.
@edalzell, confirmed that upgrading to 3.2 solved the issue, thank you.
Hello,
We're having issues with the addon.
Environment Statamic 3.1.18 PHP 7.4.14
Installation steps we've made:
Current config
Issues we've encountered:
Spam submission are not flagged as spam. http://share.iation.com/v/DdDuuR6uRm2A9BhBdgI7
Only manual marking spams currently works, and if there's spams clicking the 'Spam Queue' throws an error, need to directly go to the specific form spam queue. http://share.iation.com/v/VqMTktBELvefGW7mQA19