Invision Power Board mysql error when trying to view newly created forums

Reply

Join Date: Aug 2004
Posts: 212
Reputation: hexstar is an unknown quantity at this point 
Solved Threads: 2
hexstar hexstar is offline Offline
Posting Whiz in Training

Invision Power Board mysql error when trying to view newly created forums

 
0
  #1
Dec 3rd, 2004
Well first some background, this hasn't happened before but last night I had some trouble installing a shoutbox mod so I undid all the steps I had performed I have also installed a search engine friendly mod successfuly which makes php links html links even though I know ipb supposedly has such a feature built in but this supposedly helps with getting the forum indexed in a search engine even more and this mod never caused this problem so I suspect something happened when I tried installing the shoutbox mod and I backtraced my steps undoing each one as I went. The error I get is:

There appears to be an error with the database.
You can try to refresh the page by clicking here.

Error Returned

mySQL query error: SELECT t.topic_id, t.pid, p.post FROM ibf_posts t LEFT JOIN ibf_posts p ON (p.pid=t.pid) WHERE t.topic_id IN () AND t.new_topic=1 AND t.queued=0

mySQL error: You have an error in your SQL syntax near ') AND t.new_topic=1 AND t.queued=0' at line 1
mySQL error code:
Date: Friday 03rd of December 2004 08:08:51 AM

We apologise for any inconvenience

and only happens with two staff only forums which as such I'm reluctant to link to and one public forum which can be found here: http://www.johnscompany.net/gamerzdr...rself-f36.html - any ideas on where this error is and if so how I can fix it? Any help is greatly appreciated.

Thanks!

P.S. The shoutbox mod I attempted to install is: http://mods.invisionize.com/db/index.php/f/3305
The Digital Freeway, professional paid hosting starting at just $10 a month, 5GB disk space and 15GB bandwidth, we have free hosting too and all accounts are instantly activated
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3
Reputation: Shorty is an unknown quantity at this point 
Solved Threads: 0
Shorty Shorty is offline Offline
Newbie Poster

Re: Invision Power Board mysql error when trying to view newly created forums

 
0
  #2
Dec 5th, 2004
You have broken some PHP somewhere as the below part of the SQL statement:
[php]
t.topic_id IN ()
[/php]

should not be blank when submitted to MySQL.

Id suggest reuploading the original files you edited and starting again with any hacks
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 212
Reputation: hexstar is an unknown quantity at this point 
Solved Threads: 2
hexstar hexstar is offline Offline
Posting Whiz in Training

Re: Invision Power Board mysql error when trying to view newly created forums

 
0
  #3
Dec 5th, 2004
ahh thanks for the tip, turns out that it's a bug from a mod I installed which shows a preview of the thread when you hover over its link, that error occurs whenever a forum's empty and the mod's installed
The Digital Freeway, professional paid hosting starting at just $10 a month, 5GB disk space and 15GB bandwidth, we have free hosting too and all accounts are instantly activated
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC