ERROR on Comments
-
hy theamile,
do u use a plugin for the commenting?
if not, paste your current code here -> http://pastebin.com/ and post the link to the code so i can review it.
Kind regards,
Larsen
i didn’t see or find a plugin (except contact form 7, but i don’t know how and where it is linked to the comments, if it is linked at all).
here is the link for the comments.php file: http://pastebin.com/ZYKBKh6n
(we use a customized theme)in case you need some other files, you can telll me (theres also some code in the single-post.php for displaying the comment form, but i don’t think that it is relevant for the problem)
greetings,
theaHy Thea,
Try this:
<div class="row"> <div class="col-xs-12 col-sm-12 col-md-4"> <div class="form-group"> <label for="Name">Name*</label> <input name="author" type="text" class="form-control" id="author"> </div> </div> <div class="col-xs-12 col-sm-12 col-md-4"> <div class="form-group"> <label for="Email">E-mail*</label> <input name="email" type="email" class="form-control" id="email"> </div> </div> <div class="col-xs-12 col-sm-12 col-md-4"> <div class="form-group"> <label for="Website">Website</label> <input name="url" type="url" class="form-control" id="url"> </div> </div> </div>I have changed the id of the name field to author.
i also added a name attribute to all three fields.Let me know if that doesn’t work, i will come up with something else.
Kind regards,
Larsen
Hey Larsen 🙂
it worked!! Thank you really much!Greetings,
TheaHy Thea,
Great!
Good luck.Kind regards,
Larsen
The topic ‘ERROR on Comments’ is closed to new replies.
(@theamila)
11 years, 2 months ago
Hey everyone,
I can’t submit any Comments on our Blog (http://blog.mila.com) . If i fill out the form and click “Submit”, theres this error message:
But it makes no sense, since i filled out all the required fields. I don’t know where to look in the code and i’m a beginner at php and all that stuff..Can someone help?