View Single Post
  #4  
Old 06-07-2006, 12:18 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

You are seeing 1 instead of 0 for the counts because of how MySQL 3.23.48 handles SUM in a couple of PhotoPlog queries (see here for further details).

In the PhotoPlog index.php file find (two spots):
Code:
Content visible to registered users only.
And replace with the following (in both spots):
Code:
Content visible to registered users only.
FYI to others: there is no need to apply this change unless you see 1 instead of 0 in the comment counts where zero is actually the true count.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote