View Full Version : Cant post comments
siddr20
05-02-2008, 10:58 PM
Hi everyone
I had a massive flood of spam few weeks ago and so i enabled the anti-spam software builtin with pixelpost. Starts with 'a' lol. Forgot the name now. Akrinet?? hmm
Anyways
This actually worked and i have not been spammed since that day :)
However, just today a friend told me that he cant post comments. I tried it as well and it doesnt work. Goes to a page saying HTTP not found etc.
I havnt changed any other settings before this.
Is there something i should check?
Please let me know.
Kind-Regards
siddr20
05-03-2008, 07:40 AM
Would anyone know?
Do you need me to do a screenshot of anything? As in the settings etc?
Dennis
05-03-2008, 09:34 AM
So you use Akismet? What else do you use? Can you provide a link to the page?
siddr20
05-03-2008, 10:49 AM
Sure its www.sidd-rishi.com
I dont use anything else.
Just followed the steps to get Akismet working.
Havnt changed anything else at all!!
Dennis
05-03-2008, 11:15 AM
Well, you're using the token protection without the proper field in the template. Have you read the description of the option?
If this setting is on, comments will only be saved when the token of the form corresponds to the one within the users session.
To implement tokens, you must add the <TOKEN> tag to your comment form somewhere between the <form>...</form> tags.
If you forget to add the <TOKEN> tag, commenting will cease to work and the user will be presented with an error message.
You didn't add the <TOKEN> tag, so that is your problem. To fix it either disable the token protection or add the tag.
BTW, Pixelpost is telling you this. You mention something about a page not found error. The full error message is:
Not Found
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.
See? It puts out a nice error message so we can identify the problem which in your case is a faulty setup.
siddr20
05-03-2008, 11:39 AM
Thank you so much dennis!!
Will fix it up right now.
hehe thats one way of disabling comments lol hahah
siddr20
05-03-2008, 12:00 PM
Sorry to be a noob.
But do i have to close the TOKEN tag?
as in <TOKEN> </TOKEN>
siddr20
05-03-2008, 12:30 PM
Says to put it anywhere between <form>../<form>
Which i did.. didnt work..
AM i doing this right lol?
<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
<TOKEN>
<textarea name='message' rows='2' cols='40' onfocus="clearBox(this);">Type your comment here.</textarea><br /><br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/> <label for="name">Name</label><br /><br />
<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/> <label for="url">Website URL, if any</label><br /><br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/> <label for="email">Email (not visible to others)</label><br /><br />
<input name='vcookie' type='checkbox' id="saveinfo" value='set' checked="checked" />
<label for="saveinfo">Save User Info</label><br /><br />
<input type='submit' value='Add' class="comment-button"/>
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
</form>
Dennis
05-03-2008, 01:08 PM
yes that should work.
siddr20
05-03-2008, 11:07 PM
im sorry dennis, but it did not work.
It comes up with a http error saying page could not be found :(
Edit: I just turned token off for now..
Dennis
05-04-2008, 05:57 PM
the HTTP error that the page could not be found, does it display any other information?
If so, what is it? Every time Pixelposts stop spam it will give a 404 error with additional information. Like I said earlier, without that extra information I cannot help you. I already know it gives a 404 error because I programmed that, so saying it gives "http error saying page could not be found" doesn't provide me with the information.
siddr20
05-05-2008, 09:53 AM
Hi dennis
I appriceate the effort you are making trying to resolve this..
Um ok before i give the error message out.
let me just confirm im doing this correctly.
1) Turn token on from admin panel - done
2) Find comment_template file.. This was found in horizon (template style) folder..
3) Add <TOKEN> between <form>...</form> - anywhere
which i have..
Save code- done..
Went to website - tried to enter a comment
Came up with an error message saying http error page could not be found.
to be honest, there was nothing else written.
Apart from please contact admin for further help??
I will try and turn token on again and test it out for you..
siddr20
05-05-2008, 09:55 AM
This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the website might have changed or removed the webpage.
For more information about HTTP errors, see Help.
This is what i get..
Edit:
These are my settings also:
Should this setting be enabled? Yes
Maximum time in minutes between opening the comment window and submit a comment: 1
Number of seconds before a new comment can be posted (to prevent floods): 40s
Number of URI allowed in one comment: 1
and then my key for antispam
Dennis
05-05-2008, 11:24 AM
Ok, now we know it is not Pixelpost but either your hosting or your internet connection.
siddr20
05-06-2008, 09:04 AM
Thats strange.
Coz when i turn token off, comments work.
When i turn it on it doesnt work.
Also when its turned on, friends from across the globe cant post either.
meh might as well turn it off..
I just really hate the spam comments tho..
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.