Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error in Kismet.php on line 61 #7

Closed
jasonmccallister opened this issue Apr 7, 2014 · 3 comments
Closed

Fatal error in Kismet.php on line 61 #7

jasonmccallister opened this issue Apr 7, 2014 · 3 comments

Comments

@jasonmccallister
Copy link

Just signed up for a new Askiment key, tried to submit the Contact Form and received this error:

Fatal error: Class 'SelvinOrtiz\Kismet\InvalidKeyException' not found in /_data/mywebsite_com/plugins/spamguard/library/src/SelvinOrtiz/Kismet/Kismet.php on line 61

I'm going to upgrade to the latest version of Spam Guard - currently on 0.5.3 - and will see if it changes anything.

@jasonmccallister
Copy link
Author

Easiest ticket ever, you are welcome!

So this was my fault. I tried setting the origin URL under settings to {siteUrl} similar to the general configuration page. Setting it to the domain name corrected the issue. Is this something you would consider allowing?

screen shot 2014-04-07 at 3 42 32 pm

@selvinortiz
Copy link
Owner

Hey @themccallister
Your first comment points out a valid bug, the InvalidKeyException class was not found and that still has to be corrected so I'll add it to my list for the next release.

As far as allowing {siteUrl} to set the Origin URL I think it's a good idea and a very reasonable feature request, I'll implement it in the next release.

Thanks for reporting the bug and your fix bro: )

selvinortiz added a commit that referenced this issue Apr 8, 2014
Adds InvalidKeyException reference to submitSpam() and submitHam()
Adds the ability to use {siteUrl} as the Origin URL in settings
Fixes missing InvalidKeyException reference issue #7
@selvinortiz
Copy link
Owner

@themccallister The exception issue should be fixed and {siteUrl} is now an accepted value for the Origin URL; )

Spam Guard 0.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants