vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v3.0 Support > Bugs & Issues > Bugs From 3.1.0

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2009, 08:15 PM
Peter Walker Peter Walker is offline
Junior Member
 
Join Date: Jan 2006
Posts: 11
Default Database Error: Unknown column 'links.rating'

Hi,
I upgraded to the latest links directory, now I am getting this error via Email:

Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

				SELECT  links.linkid
				FROM rife_adv_links AS links
				
				WHERE links.valid = 1
					 AND userid = 1
				ORDER BY links.rating DESC;

MySQL Error   : Unknown column 'links.rating' in 'order clause'
Error Number  : 1054
Request Date  : Friday, February 13th 2009 @ 01:42:03 AM
Error Date    : Friday, February 13th 2009 @ 01:42:03 AM
Script        : http://www.rifeforum.com/links/showlink.php?l=22&goto=next&catid=member&orderby=directory&linkuserid=1
Referrer      : 
IP Address    : 77.88.25.27
Username      : Unregistered
Classname     : vB_Database_MySQLi
MySQL Version :
How do I fix this?
Reply With Quote
  #2  
Old 02-14-2009, 11:53 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Thank you for pointing this out. I'm guessing somebody followed an old link to produce that error. I've updated the forum/includes/vba_links_plugin_sf.php file here to add some code that will prevent that error, so if you'll download the files from here again and update that one on your server, that should take care of the issue.
Reply With Quote
  #3  
Old 03-20-2009, 01:38 PM
abaum abaum is offline
Junior Member
 
Join Date: Apr 2005
Posts: 6
Default

Bug in search.php:
PHP Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

            
SELECT links.linkid
            FROM adv_links 
AS links
            
            
            WHERE 
MATCH(links.nameAGAINST ('+Autodesk*' IN BOOLEAN MODE) OR MATCH(links.descriptionAGAINST ('+Autodesk*' IN BOOLEAN MODE) OR MATCH(links.keywordsAGAINST ('+Autodesk*' IN BOOLEAN MODE)) AND  links.valid IN(012)
        
ORDER BY links.rating ASC LIMIT 500;

MySQL-Fehler  Unbekanntes Tabellenfeld 'links.rating' in order clause
Fehler
-Nr.    : 1054
Fehler
-Zeit   Friday20.03.2009 18:29:50
Datum         
Friday20.03.2009 18:29:50
Skript        
http://www.3dmaxforum.net/links/search.php?do=searchresults&string=Autodesk&catid=0&quicksearch=1&tag=1
Referrer      http://www.3dmaxforum.net/links/showlink.php?l=1
IP-Adresse    77.179.12.73
Benutzername  
Andreas
Klassenname   
vB_Database
MySQL
-Version 5.0.32-Debian_7etch8-log 
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
MySQL Error: Unknown column 'dodeleted' natas Bugs From 3.0.0 3 09-12-2008 11:36 AM
Unknown column error Pingu Troubleshooting & Problems 1 09-29-2007 07:34 AM
Unknown column 'links.rating' in 'order clause' Shelby Troubleshooting & Problems 4 01-09-2007 06:01 PM
DB Error: Unknown column 'phrasegroup_adv_links' Freesteyelz Troubleshooting & Problems 5 09-09-2006 08:18 AM
database error when rating thorzzzten Troubleshooting & Problems 4 09-22-2004 01:14 PM


All times are GMT -4. The time now is 04:37 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.