Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-07-30 10:09:04

nagarjuna
Member
From: Birmingham, UK
Registered: 2005-07-29
Posts: 42
Website

Deleting comments

Hi,

I’m pretty new to Textpattern, and just about getting the hang of it, thought there’s a load of complexities to get your head round on the road to simplicity… Nevertheless, things are looking good, and I’m mightily impressed by Textpattern’s elegance and the standards-compliant code it outputs.

However, I’ve stumbled across a problem with deleting comments. I work on the principle that it is more likely to be me than a bug. Anyway, the problem is this:

When I add a comment to an article, then delete the comment through the admin page, the comments_invite form shows up as ‘Leave Comment [1]’ although the comment has been deleted. Checking the MySQL database, I find that the field comments_count for the article is still set to one, although by my book 0 + 1 – 1 = 0!

Can anyone let me know why this is?

All the best,

Will

Last edited by nagarjuna (2005-07-30 10:09:43)


Wayward thoughts on the Buddhist Way: thinkbuddha

Offline

#2 2005-07-30 10:39:28

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Deleting comments

It was a probably glitch, because the script didn’t fully execute when you deleted. It should have the correct count again after you add, moderate or delete another comment on that article.

Offline

#3 2005-07-30 11:19:59

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Re: Deleting comments

This would happen if there’s only ever been one comment received on the entire site, which was then deleted. The fix is in r677.


text*

Offline

#4 2005-08-08 22:07:39

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Deleting comments

Well, i am attending the same problem with Textpatternversion: 1.0rc5 (r705) as you can see here on the very first post (Typographie für Webdesigner) http://textpattern.kbbu.de/. there shouldn´t be any comments counted as i did delete them already. But still the comments show [2].

Offline

#5 2005-10-02 07:01:45

fancytoy
New Member
Registered: 2004-08-11
Posts: 4

Re: Deleting comments

Yeah … I’m encountering the same thing…

Offline

#6 2005-10-02 08:17:13

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Deleting comments

This problem was fixed in 4.0.1. (it only appeared in 4.0 and a few earlier versions).

Otherwise please post your (high level) diagnostics.

Offline

Board footer

Powered by FluxBB