vBulletin Modifications

Help needed if poss.

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 05-03-2005, 05:52 PM   #1
Junior Member
Join Date: Apr 2005
proxi is on a distinguished road

Thumbs down Help needed if poss.

I have an SQL error on my forum index page and havent a clue what to do.

The rest of the site works fine, but the index page - www.clubbers-united.com/forums - leads me to this...

Database error in vBulletin 3.0.7:
Invalid SQL: SELECT thread.threadid,thread.title,thread.postusername,t hread.postuserid,thread.replycount,thread.views FROM thread AS thread WHERE forumid NOT IN () ORDER BY replycount DESC LIMIT 10
mysql error: 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 ') ORDER BY replycount DESC LIMIT 10' at line 1
mysql error number: 1064
Date: Tuesday 03rd of May 2005 12:44:55 PM
Script: http://www.clubbers-united.com/forums/index.php?

Which points to a thread problem, but the thread pages are all working normally. I'm not too clued up on it all but thought this could be a good place to ask for help.

I've installed a couple of hacks in the last couple of days.
Sunday -> Who Was Online Today = successfully
Today, around an hour before the error came -> Who Has Viewed This Thread = unsuccessfully, taken off and data changed back.

I added one query also on Sunday for the hack above.

Everything has been working fine, and the last action taken on any staff level was the member group changing of one member.

I'm stumped. Any help is much appreciated. Thanks.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 05-04-2005, 04:19 AM   #2
vBulletin Guru
Ken Iovino's Avatar
Join Date: Mar 2004
Real Name: Ken Iovino
Location: Miami, Florida
Ken Iovino is on a distinguished road

Default

What ever it is, its an error in your index.php file. So what ever hack you added that edited the index.php file is the problem.

-Moved to correct forum-




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-05-2005, 10:15 PM   #3
Charter Member
Join Date: Apr 2004
Location: Netherlands
killer is on a distinguished road

Default

hmm you forgot the WHERE forumid NOT IN ()

there ya must enter the forumid where not counting the query

like
WHERE forumid NOT IN (1,2,3)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
welcome panel hack needed mikey2000c vBulletin Modification Requests 2 06-10-2005 03:37 PM
Needed: Solved Hack Realist vBulletin Modification Requests 8 03-31-2005 12:22 PM
help needed Idan General vBulletin Support 2 02-07-2005 07:04 AM
[help!] TV-Hack v3 assistance needed SeQual vBulletin Modification Requests 0 01-15-2005 09:56 PM
Some help needed guys fany paka Off Topic 6 11-05-2004 05:59 PM


All times are GMT -3. The time now is 07:21 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)