View Single Post
  #11  
Old 04-24-2008, 04:15 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

The query says, "Get five random items that are not in moderation." There isn't an error in the query, and assuming there are no files in moderation, the only other thing I can think of is that maybe you have a cache type add-on. The change you made looks find, and there is nothing in the code that needs to be fixed. Something else seems to be interfering with the results. One thing you can try is to run the following query in phpMyAdmin and see whether you get five results:
Code:
Content visible to registered users only.
__________________
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