A visitor of my website told me that she could not post comments. She told me it didn't work in IE but that it did work in Firefox. When I try posting a comment a pop-up comes up saying "Please enter a name."
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Figured out that IE7 isn't separating the the login form and the comment form properly, both forms have the same name for the username field. This shouldn't cause a problem as they're both within separate form elements but IE7 seems to think it is. I'm creating a fix for it now.
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Alright to fix this edit the index.php file, on line 205~ you'll see this
Code:
var username = escape(document.getElementById('name').value);
change that to
Code:
var username = escape(document.commentsform.name.value);
Save and upload and this should correct the problem.
Quite annoyed at this bug as it's a bug specifically within IE7 not the actual script. Either way should work now and hopefully will help anyone else having this problem.