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 01-02-2009, 03:10 PM
Spika Spika is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
Default Database Error When Searching by Username

Hello again, I have this error:

Code:
Database error in vBulletin 3.7.4:

Invalid SQL:

			SELECT links.linkid
			FROM vb_adv_links AS links
			 LEFT JOIN vb_adv_links_posts AS posts ON (posts.linkid = links.linkid) LEFT JOIN vb_adv_links_posts AS posts ON (posts.linkid = links.linkid)
			
			WHERE  (links.userid IN(79) OR posts.userid IN(79)) AND links.valid IN(0, 1, 2)
		ORDER BY links.name ASC LIMIT 500;

MySQL Error   : Not unique table/alias: 'posts'
Error Number  : 1066
Request Date  : Friday, January 2nd 2009 @ 12:38:22 PM
Error Date    : Friday, January 2nd 2009 @ 12:38:22 PM
Script        : http://www.gstrail.es/foro/links/search.php
Referrer      : http://www.gstrail.es/foro/links/search.php
IP Address    : 212.15.224.103
Username      : JOUGS
Classname     : vB_Database
MySQL Version : 5.0.45
Thanks
Reply With Quote
  #2  
Old 01-05-2009, 12:27 PM
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've just applied the fix to the links/search.php file, so if you will 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 01-06-2009, 02:00 PM
Spika Spika is offline
Junior Member
 
Join Date: Jun 2006
Posts: 9
Default

Thanks again!
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
Invalid SQL When Searching By Username penturners Bugs From 3.0.0 4 10-24-2008 05:16 PM
Links Directory - Database Error When Searching grahamsmythe Bugs From 3.0 RC1 2 08-25-2008 02:26 PM
Error of Keyword searching....V2.0.1 nostalgia Bugs From 2.0.1 5 03-05-2007 03:58 PM
Error message when searching keywords Jester Troubleshooting & Problems 1 12-20-2004 03:48 PM
mysql error when searching advanced teksigns Bugs From 1.0 RC3 7 11-07-2004 11:46 AM


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