Comments.php not sending comments
-
There’s something really weird going on with my comments.php. It calls it fine, it just seems to ignore any attempt to send a comment:
http://sekhu.net/wp/2005/04/19/some-junk-crap-wahtever/#commentsIdeas? Thanks in advance
-
I don’t see the problems described. Using Safari v1.0.3 (on an out-dated work computer). What browser are you using?
well I just fixed it believe it ot not – I ended up creating a single.php file that followed the design – so that bit works great. Oh the inspiriation you give mac:)
Anyway, the problem of comments not going through is a problem though – as I still get a blank page. Using ff 1.0.1
Any anti-spam plugins enabled?
Sadly, very sadly, it’s my favourite anti=spam plugin Hashcash. reading the author’s comments, and another user with the same problem, he asked if the user’s site was xhtml 1.1 – and then I thought that’s probably why it isn’t working.
If that is the case, then I can’t use it – as my site is 1.1 transitional – I can’t make it strict because of some of the code I use, and not all the plugins create valid code, so transitional is the best I can get.
That’s a real bugger.
And you are using WP-HashCash v1.7, right?
aye it’s the only thing I did use and always check for updates, I did some test comments having disabled it, and the comments went through…so it works in that it stops comments…just all of them.
I’ve left a note on the author site, so I hope he has a solution to this as it’s the only non-intrusive, least troublesome dealer of spam. Install and Activate and let it do its work. No config or messing around with levels required.
Hmm gotta get up in the morning.
fixed – for anyone having this problem.
you need
<?php wp_head();?>inside the<head></head>part of the document. The problem in my case was the contact form plugin using inline CSS borking the page. Once I removed the inline CSS and copied it over to the style.css and added the wp_head it worked again. The original theme did not contain the latter, so I added it myself.I have the same problem described here, but can’t really use the same solution…
My contact form looks fine and doesn’t give any error messages when people are posting comments, but they never appear at the site. I’ve disabled all comment-related plugins (auth-image) and even copied the comments.php template from an original installation just to make sure. I’ve tried switching themes and still the same problem. Very strange… try it for yourself here:http://www.bering-express.dk/weblog/
I recently messed with permalinks, but they’ve been disabled again. Any aftereffects I need to deal with that could cause this?
Ok, so it turns out that all the comments go in to the DB… but they show on the page. They’re all waiting in wp_comments… but how do I get them out?
What’s the comment_status in the database for those comments?
Well, something, somewhere is setting them all to “spam”… I can make them appear on the page by changing it to “1” but somehow the default value of every comment gets to be “spam”… but where?
Do you have entries in the blacklist on the Discussion tab of the WP admin interface or do you have the checkbox checked for “Blacklist comments from open and insecure proxies”?
I was thinking the same thing… and that was the solution! Now new comments appear! Thanks. So how do I make the old ones appear in the admin panel so I can edit them? Guess I could change the status of all comments with a SQL command…
UPDATE
wp_commentsSETcomment_approved= ‘1’ WHEREcomment_ID> ‘1’;
The topic ‘Comments.php not sending comments’ is closed to new replies.