2009-12-27, 12:56 AM
Hiājust now my forum has begun giving the following error:
![[Image: Screen%20shot%202009-12-26%20at%207.51.42%20PM.png]](https://camo.mybb.com/d38cc3575c38382518fe3ab076f0cbdda9c81b81/687474703a2f2f62622e6f68736b2e6e65742f75706c6f6164732f53637265656e25323073686f74253230323030392d31322d32362532306174253230372e35312e3432253230504d2e706e67)
The error shows up whenever we click on any link other than the main index page. When I try to go to the User CP or anything else I get similar errors, but with different lines for the Query.
User CP:
Query:
SELECT COUNT(*) AS draftcount FROM mybb_posts WHERE visible='-2' AND uid='1'
Mod CP:
Query:
SELECT COUNT(aid) AS unapprovedattachments FROM mybb_attachments a LEFT JOIN mybb_posts p ON (p.pid=a.pid) LEFT JOIN mybb_threads t ON (t.tid=p.tid) WHERE a.visible='0'
etc...
I haven't touched my databases or anything like that. What is causing this problem and how can I fix it? Thanks.
okay, a friend helped me repair the problem for the time being. thanks.
The error shows up whenever we click on any link other than the main index page. When I try to go to the User CP or anything else I get similar errors, but with different lines for the Query.
User CP:
Query:
SELECT COUNT(*) AS draftcount FROM mybb_posts WHERE visible='-2' AND uid='1'
Mod CP:
Query:
SELECT COUNT(aid) AS unapprovedattachments FROM mybb_attachments a LEFT JOIN mybb_posts p ON (p.pid=a.pid) LEFT JOIN mybb_threads t ON (t.tid=p.tid) WHERE a.visible='0'
etc...
I haven't touched my databases or anything like that. What is causing this problem and how can I fix it? Thanks.
okay, a friend helped me repair the problem for the time being. thanks.
