View Full Version : TOKEN Problem
10-09-2008, 02:23 PM
Iíve ver 1.7.1 and defensio enabled.
As Iím receiving tons of spam, Iíve tried to enable the token option. Iíve added <TOKEN> to the comments template file, between the <form>...</form> tags but, when testing, am getting a ď404 Ė File not foundĒ.
What am I doing wrong? Is something missing?
Thanks a lot.
10-09-2008, 11:47 PM
You need to log into your PP admin section and go to Options>>Spam Control and enable the token option listed there, in addition to including the <TOKEN> tag in the comment form.
BTW, what version of Defensio are you using?
10-10-2008, 08:38 AM
That's what I did... When someone tries to comment when the token (admin>options>Sapm Controls) is activated, gets this "file not found error" (it's not due to the browser or SP, because it always happens to everyone): "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable".
When the token option is set to NO, even if the tag remains in the comment form, nothing happens, i mean comments work fine as if the token was not there.
I'm using Defensio 1.3.1.
Appreciate your help.
10-10-2008, 10:03 AM
You need to update your Defensio - the latest version is 1.4 (http://www.pixelpost.org/extend/addons/defensio-for-pixelpost/).
With regard to the file not found error, I need to know the error number that goes along with that message to try and pinpoint the problem. Can you enable the token again (make sure it is also in your template) and try to make a comment to see if you get the error? If so, please copy/paste the entire error message (including the ERR #) here. Then we can try and track down the cause of it.
10-10-2008, 10:40 AM
Ver 1.3.1 is the addon one. How do I update to ver 1.4?
Here is the error msg that appears when button 'add" is pressed:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the lgbravo.com home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.
HTTP 404 - File not found
Thanks a lot
10-10-2008, 10:53 AM
That is a generic IE 404 error message, not one of the PP error messages.
Please re-enable the token and make sure the token tag <TOKEN> is in your template between the opening and closing form tags. I'm going to try to leave a comment using Firefox and see what I come up with.
To update your Defensio addon, download the latest version from the link I provided. Log into your PP admin, disable both Defensio addons, then delete the existing _defensio folder in the addons folder via FTP. Upload the new _defensio folder via FTP to the addons folder and then re-enable both Defensio addons. They should now show as version 1.4 on the Addons page.
10-10-2008, 10:57 AM
Already installed ver 1.4 (too fast reading at your previous msg, just followed the link).
10-10-2008, 11:23 AM
Okay, I've tried leaving a comment using Firefox, and I'm getting the following error message:
The comment could not be accepted because it got flagged as SPAM by our anti-SPAM measures (ERR: 01).
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
ERR: 01 is displayed when the tokens do not match. The causes for that are:
- The token is enabled in Options>>Spam Controls but the token tag is not in the template in the comment form code.
- The token is disabled under Options>>Spam Controls, but the token tag is still in the template.
In checking your generated source code, I am not seeing the code that should be there for the token, example:
<input type='hidden' name='token' value='fd70a2ea0919200129846b36b62f96c2' />
You are using the Horizon template, correct? In that template, you have to add the <TOKEN> tag to the comment form contained in the image_template.html file, not the comment_template.html file. Please add the token tag to the correct file, reupload image_template.html to the Horizon template folder, and re-enable the token in Options>>Spam Controls. Once you have that done, post here and I'll try to make another comment and see what happens then.
10-10-2008, 11:38 AM
I was putting it in the comments template, as reffered there in the spam control options, instead of image template.
It works now!
Thank you so much!
10-10-2008, 11:41 AM
You are most welcome. :)
After verifying that the proper token code was now in the template, I left a comment on your photoblog as a test, and encountered no problem whatsover.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.