Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2007, 02:11 PM
vAx's Avatar
vAx vAx is offline
New Pligger
 
Join Date: Jun 2007
Location: Chicago
Posts: 19
Thanks: 0
Thanked 4 Times in 2 Posts
Number of comments doesn't update!

After deleting some of the comments from a story "Admin>>Comment Management" number of comments show the same as before deleting them. Update DB is not working properly...
__________________
High Quality Club/Trance/DJ Tees @ www.MyClubTees.com
Reply With Quote
The Following User Says Thank You to vAx For This Useful Post:
  #2 (permalink)  
Old 07-06-2007, 04:02 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
thanks for reporting that
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #3 (permalink)  
Old 07-06-2007, 08:29 AM
Casual Pligger
 
Join Date: May 2007
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Same problem. Yesterday i had 7 comments, and after that, comments doesn't update.
Reply With Quote
  #4 (permalink)  
Old 07-11-2007, 12:36 AM
Pligg Donor
 
Join Date: Mar 2007
Posts: 85
Thanks: 16
Thanked 16 Times in 10 Posts
Ditto. Comments not updating - they seem to be randomly changing for stories in fact - sometimes showing a number (usually wrong) sometimes it appears there are no comments, when in fact, there are. Any progress on this? Site going live - beta testers are *all* complaining about it.
Reply With Quote
  #5 (permalink)  
Old 07-11-2007, 01:11 AM
dollars5's Avatar
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,154
Thanks: 290
Thanked 266 Times in 177 Posts
I think savant is working at it and you should expect a fix shortly.
Reply With Quote
  #6 (permalink)  
Old 07-11-2007, 01:39 AM
Constant Pligger
 
Join Date: Feb 2007
Posts: 236
Thanks: 20
Thanked 29 Times in 15 Posts
wasn't this fixed already?

SourceForge.net Repository - [pligg] Revision 1179
Reply With Quote
  #7 (permalink)  
Old 07-11-2007, 03:02 AM
dollars5's Avatar
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,154
Thanks: 290
Thanked 266 Times in 177 Posts
hmm, I just missed the time mentioned - thanks gary for noting it fixed - usually when a issue is fixed the moderators will mark fixed - but this thread has gone unnoticed. Thanks again for noting it. updating the status of the thread too.
Reply With Quote
  #8 (permalink)  
Old 07-12-2007, 12:15 AM
Pligg Donor
 
Join Date: Mar 2007
Posts: 85
Thanks: 16
Thanked 16 Times in 10 Posts
This fix seemed to work for a couple of hours - then it was back to the old random incorrect/not updating. Any clue as to why it would revert? I updated the files. ? It's a pretty significant problem for us right now.
Reply With Quote
  #9 (permalink)  
Old 07-12-2007, 12:39 AM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
Try putting the attached file into your root pligg folder (the one with index.php) and run it. It should recalculate all the comment counts and they should then stay accurate.
Attached Files
File Type: php fix_comments.php (594 Bytes, 43 views)
__________________
- Ash
Reply With Quote
The Following User Says Thank You to AshDigg For This Useful Post:
  #10 (permalink)  
Old 07-14-2007, 08:30 PM
Pligg Donor
 
Join Date: Mar 2007
Posts: 85
Thanks: 16
Thanked 16 Times in 10 Posts
Quote:
Originally Posted by AshDigg View Post
Try putting the attached file into your root pligg folder (the one with index.php) and run it. It should recalculate all the comment counts and they should then stay accurate.
Hi Ash - I'm afraid that didn't do it. I can't figure out what's going on, but I *really* need to get it sorted out. We've only been up for 2 days and we've already got 512 users, 207 links, and 498 comments. And this is a crowd that pays attention. I'm trying to stomp out several bugs at the moment, but this one is the priority.

I checked the database tables, and only 33 stories (in pligg_links) show any comments at all. Why is the relationship between the tables not being maintained? Is there a query somewhere that resets the values when a certain action is performend? I assume the problem is the pligg_comments in the pligg_links table, as it is the one showing mostly 0s where there should be nums.

Thanks for continuing to help me get this working -
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solution] Limit Comments in Story page. manya1011 General Help 9 03-12-2008 06:26 PM
[SOLVED] Version number doesn't update after upgrade AshMCairo General Help 8 12-13-2007 12:02 PM
Comments update, comments accents... what more!! seotalk Bug Report 1 06-15-2007 04:56 AM
published by number of comments... sixlaneve General Help 0 05-13-2007 12:48 PM
Reducing query count in comments revenazb General Help 5 04-17-2007 12:37 AM


Search Engine Friendly URLs by vBSEO 3.2.0