vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2007, 07:17 PM
vitoreis vitoreis is offline
Member
 
Join Date: Nov 2005
Posts: 31
Default Problem with Database after upgrade

Hi,

I've just upgraded vBadvanced to the latest version (3.0 RC1) and now I got this error in index.php (cmps_index.php):
Quote:
Database error in vBulletin 3.6.2:

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.forumid
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
FROM thread as 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(Array)

ORDER BY lastpost DESC
LIMIT 5;

MySQL Error : Unknown column 'Array' in 'where clause'
Error Number : 1054
Classname : vb_database
Any idea what this could be please?

Thanks for the help.
Vitor Reis
Reply With Quote
  #2  
Old 05-21-2007, 08:49 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Problem with Database after upgrade

Do you perhaps have any copies of the Recent Threads module that are not using the default recentthreads.php (formeraly latesttopics.php) file? If so, I would recommend changing them to use include recenttopics.php instead. Otherwise, try editing any recent threads module you have, make sure you have the forum(s) selected that you would like to pull your threads from, and then save the module to be sure that the settings are updated and see if that helps.
Reply With Quote
  #3  
Old 05-28-2007, 06:56 PM
1996 328ti's Avatar
1996 328ti 1996 328ti is offline
Senior Member
 
Join Date: Aug 2004
Posts: 233
Default Re: Problem with Database after upgrade

Cool. This was the error I had also.
I have a 2nd recent threads module that is used as a for sale section.
Now it's working again.
__________________
...steven

www.318ti.org
forum.nccbmwcca.org
Reply With Quote
Reply


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
Problem with Database.. beckham007 Troubleshooting & Problems 1 05-19-2007 06:12 PM
database problem leenster Troubleshooting & Problems 8 12-15-2006 08:14 PM
Database problem. Red Blaze Troubleshooting & Problems 2 02-13-2006 01:51 PM
Links database problem...Help! ncangler Troubleshooting & Problems 5 01-20-2005 10:23 PM
Database problem during instalation gldtn Troubleshooting / "How do I..." Questions 1 01-20-2005 10:10 AM


All times are GMT -4. The time now is 01:29 PM.

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.