vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 01-05-2005, 01:20 PM
sifuhall sifuhall is offline
Junior Member
 
Join Date: Mar 2004
Posts: 23
Default install problem

I'm still running vb 3.0.3

I installed VB CMPS today and my forum is working fine, however on my cmps_index.php page I get:

Quote:
Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT

thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid
, thread.iconid AS threadiconid, iconpath AS threadiconpath
,thread.forumid, forum.title AS forumtitle
, post.pagetext AS preview
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread as thread
LEFT JOIN icon USING (iconid)
LEFT JOIN forum AS forum ON (thread.forumid = forum.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = 1)
WHERE open <> '10' AND thread.visible = 1 AND thread.forumid IN (9,11,37,12,13,14,15,16,36,88,60,10,17,87,47,19,) AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 10

mysql error: You have an error in your SQL syntax near ') AND deletionlog.primaryid IS NULL
ORDER BY lastpost DESC
LIMIT 10
' at line 15

mysql error number: 1064

Date: Wednesday 05th of January 2005 12:00:15 PM
Script: http://www.dragonslist.com/cmps_index.php
Referer:
Username: webmaster
IP Address: xxx.xxx.xxx.xxx

Last edited by sifuhall; 01-05-2005 at 01:23 PM.
  #2  
Old 01-05-2005, 01:25 PM
sifuhall sifuhall is offline
Junior Member
 
Join Date: Mar 2004
Posts: 23
Default Re: install problem

Duh, found it.

My bad.

Shhhhh.... don't tell anyone I'm a DBA and didn't spot my problem right away.

  #3  
Old 01-05-2005, 01:26 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
Senior Member
 
Join Date: Jan 2004
Location: Raleigh, NC
Posts: 1,364
Default Re: install problem

Code:
AND thread.forumid IN (9,11,37,12,13,14,15,16,36,88,60,10,17,87,47,19,)
Extra comma at the end of the forumid list.
__________________
My Blog
GPS Discussion Forum

*** Please do not contact me privately for help. Thanks. ***
  #4  
Old 01-05-2005, 01:26 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
Senior Member
 
Join Date: Jan 2004
Location: Raleigh, NC
Posts: 1,364
Default Re: install problem

Quote:
Originally Posted by sifuhall
Duh, found it.

My bad.

Shhhhh.... don't tell anyone I'm a DBA and didn't spot my problem right away.

Too late, I was already replying. :P
__________________
My Blog
GPS Discussion Forum

*** Please do not contact me privately for help. Thanks. ***
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Templete problem after install please help. Drache Troubleshooting / "How do I..." Questions 4 08-31-2004 12:09 AM
Install Problem tmhall Troubleshooting & Problems 4 07-08-2004 04:31 PM
Install Problem , any Ideas ? TheSauceMaster Troubleshooting / "How do I..." Questions 1 05-29-2004 11:15 PM


All times are GMT -4. The time now is 06:24 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.