I am currently trying to setup the comments module on my expression engine site.
I tried to simplify my code below as much as possible.
{exp:channel:entries channel="blog"}
<div>
{body_blog}
</div>
{/exp:channel:entries}
{exp:comment:form channel="blog" return="blog/article" }
{if logged_out}
<label for=“name”>Name:</label> <input type=“text” name=“name” value=”{name}” size=“50” /><br >
<label for=“email”>Email:</label> <input type=“text” name=“email” value=”{email}” size=“50” /><br >
<label for=“location”>Location:</label> <input type=“text” name=“location” value=”{location}” size=“50” /><br >
<label for=“url”>URL:</label> <input type=“text” name=“url” value=”{url}” size=“50” /><br >
{/if}
<label for=“comment”>Comment:</label>
<textarea name=“comment” cols=“70” rows=“10”>{comment}</textarea>
<label><input type=“checkbox” name=“save_info” value=“yes” {save_info} /> Remember my personal information</label>
<label><input type=“checkbox” name=“notify_me” value=“yes” {notify_me} /> Notify me of follow-up comments?</label>
{if captcha}
<label for=“captcha”>Please enter the word you see in the image below:</label>
{captcha}
<input type=“text” name=“captcha” value=”{captcha_word}” maxlength=“20” /></p>
{/if}
<input type=“submit” name=“submit” value=“Submit” />
{/exp:comment:form}
Link to the page Here
My problem is when you try to submit the form it goes to the site index page and doesn’t enter into the database. I have also turned off htaccess to try and get rid of any conflicts. Any help would be appreciated.