Hello Team

Not sure if these errors are making my problem.

Users are complaining that they are getting logged out every now and again.

Is there are setting I need to edit?


SQL Query
[ERROR][Tue, Aug 18 2009 01:13:50 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.TOPIC_ID)
			from	ubbt_TOPICS as t1,
				ubbt_FORUMS as t2
			where	t1.TOPIC_LAST_REPLY_TIME > 1250428430
				and t1.FORUM_ID in ()
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1.TOPIC_IS_APPROVED = 1
				and t1.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1' at line 5
[ERROR][Tue, Aug 18 2009 01:14:35 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.POST_ID)
			from	ubbt_POSTS as t1,
				ubbt_TOPICS as t2,
				ubbt_FORUMS as t3
			where	t1.POST_POSTED_TIME > 1250342075
				and t1.TOPIC_ID = t2.TOPIC_ID
				and t3.FORUM_ACTIVE_POSTS = 1
				and t2.FORUM_ID in ()
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.T' at line 8
[ERROR][Tue, Aug 18 2009 07:35:54 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.POST_ID)
			from	ubbt_POSTS as t1,
				ubbt_TOPICS as t2,
				ubbt_FORUMS as t3
			where	t1.POST_POSTED_TIME > 1249932954
				and t1.TOPIC_ID = t2.TOPIC_ID
				and t3.FORUM_ACTIVE_POSTS = 1
				and t2.FORUM_ID in ()
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.T' at line 8
[ERROR][Tue, Aug 18 2009 07:36:30 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.POST_ID)
			from	ubbt_POSTS as t1,
				ubbt_TOPICS as t2,
				ubbt_FORUMS as t3
			where	t1.POST_POSTED_TIME > 1249932990
				and t1.TOPIC_ID = t2.TOPIC_ID
				and t3.FORUM_ACTIVE_POSTS = 1
				and t2.FORUM_ID in ()
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.T' at line 8
[ERROR][Tue, Aug 18 2009 08:33:47 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.TOPIC_ID)
			from	ubbt_TOPICS as t1,
				ubbt_FORUMS as t2
			where	t1.TOPIC_LAST_REPLY_TIME > 1249936427
				and t1.FORUM_ID in ()
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1.TOPIC_IS_APPROVED = 1
				and t1.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1' at line 5
[ERROR][Tue, Aug 18 2009 08:36:40 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.TOPIC_ID)
			from	ubbt_TOPICS as t1,
				ubbt_FORUMS as t2
			where	t1.TOPIC_LAST_REPLY_TIME > 1249936600
				and t1.FORUM_ID in ()
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1.TOPIC_IS_APPROVED = 1
				and t1.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1' at line 5
[ERROR][Tue, Aug 18 2009 09:02:57 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.POST_ID)
			from	ubbt_POSTS as t1,
				ubbt_TOPICS as t2,
				ubbt_FORUMS as t3
			where	t1.POST_POSTED_TIME > 1249938177
				and t1.TOPIC_ID = t2.TOPIC_ID
				and t3.FORUM_ACTIVE_POSTS = 1
				and t2.FORUM_ID in ()
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.T' at line 8
[ERROR][Tue, Aug 18 2009 09:57:23 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.TOPIC_ID)
			from	ubbt_TOPICS as t1,
				ubbt_FORUMS as t2
			where	t1.TOPIC_LAST_REPLY_TIME > 1249941443
				and t1.FORUM_ID in ()
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1.TOPIC_IS_APPROVED = 1
				and t1.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1' at line 5
[ERROR][Tue, Aug 18 2009 10:46:53 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.TOPIC_ID)
			from	ubbt_TOPICS as t1,
				ubbt_FORUMS as t2
			where	t1.TOPIC_LAST_REPLY_TIME > 1249944413
				and t1.FORUM_ID in ()
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1.TOPIC_REPLIES = 0
				and t1.TOPIC_IS_APPROVED = 1
				and t1.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1' at line 5
[ERROR][Tue, Aug 18 2009 15:20:49 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.POST_ID)
			from	ubbt_POSTS as t1,
				ubbt_TOPICS as t2,
				ubbt_FORUMS as t3
			where	t1.POST_POSTED_TIME > 1249960849
				and t1.TOPIC_ID = t2.TOPIC_ID
				and t3.FORUM_ACTIVE_POSTS = 1
				and t2.FORUM_ID in ()
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.T' at line 8
[ERROR][Tue, Aug 18 2009 15:30:45 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.POST_ID)
			from	ubbt_POSTS as t1,
				ubbt_TOPICS as t2,
				ubbt_FORUMS as t3
			where	t1.POST_POSTED_TIME > 1249961445
				and t1.TOPIC_ID = t2.TOPIC_ID
				and t3.FORUM_ACTIVE_POSTS = 1
				and t2.FORUM_ID in ()
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t2.FORUM_ID = t3.FORUM_ID
				and t1.POST_IS_APPROVED = 1
				and t2.T' at line 8
[ERROR][Tue, Aug 18 2009 15:51:32 +1200] [] [] Script: /usr/wwwwww/name/newzealandnz/scripts/activetopics.inc.php - Line: 139 
			select	count(t1.TOPIC_ID)
			from	ubbt_TOPICS as t1,
				ubbt_FORUMS as t2
			where	t1.TOPIC_LAST_REPLY_TIME > 1249962692
				and t1.FORUM_ID in ()
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1.TOPIC_IS_APPROVED = 1
				and t1.TOPIC_STATUS <> 'M'
		 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				and t1.FORUM_ID = t2.FORUM_ID
				and t2.FORUM_ACTIVE_POSTS = 1
				and t1' at line 5


Best Regards

Danny de Hek - Below is our Office Cam Image

[Linked Image from newzealandnz.co.nz]