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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2006, 06:05 PM
Bailx Bailx is offline
Junior Member
 
Join Date: Mar 2004
Posts: 19
Default MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

Any idea whats causing this / how to fix it?
Code:
Database error in vBulletin 3.6.0:

Invalid SQL:

					SELECT threadid, firstpostid FROM thread AS thread
					LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
					WHERE visible = 1 AND open != 10 AND thread.forumid IN(2) AND deletionlog.primaryid IS NULL
					ORDER BY sticky DESC,dateline DESC
					LIMIT 5;

MySQL Error  : Column 'dateline' in order clause is ambiguous
Error Number : 1052
Date         : Saturday, August 19th 2006 @ 05:57:38 PM
Script       : http://www.mysite.com/cmps_index.php
Referrer     : 
IP Address   : 
Username     : 
Classname    : vb_database
Reply With Quote
  #2  
Old 08-19-2006, 07:42 PM
Bailx Bailx is offline
Junior Member
 
Join Date: Mar 2004
Posts: 19
Default Re: MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

i guess maybe more info would be helpful....

upgrading from 3.5.3, ran the upgrade script, forum works fine and everything, just the portal main page gets that error...
Reply With Quote
  #3  
Old 08-19-2006, 08:28 PM
Zachery's Avatar
Zachery Zachery is offline
Super Moderator
 
Join Date: Jan 2004
Posts: 3,158
Default Re: MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

Try disabling the quick moderation menu.
__________________
Zachery
vBadvanced Support & SysAdmin

Reply With Quote
  #4  
Old 08-19-2006, 11:26 PM
Bailx Bailx is offline
Junior Member
 
Join Date: Mar 2004
Posts: 19
Default Re: MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

get this when i try to get to the default settings page.

Code:
Database error in vBulletin 3.6.0:

Invalid SQL:
SELECT varname, text FROM phrase WHERE phrasetypeid = 5000 ORDER BY languageid ASC;

MySQL Error  : Unknown column 'phrasetypeid' in 'where clause'
Error Number : 1054
Date         : Saturday, August 19th 2006 @ 11:25:00 PM
Script       : http://mysite.com/admincp/vba_cmps_admin.php?do=modifysettings
Referrer     : http://mysite.com/admincp/index.php?do=nav
IP Address   : 
Username     : 
Classname    : vb_database
Reply With Quote
  #5  
Old 08-20-2006, 04:11 PM
Bailx Bailx is offline
Junior Member
 
Join Date: Mar 2004
Posts: 19
Default Re: MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

i' seem to remember something with the phrases in the past...

this was back when vbulletin wasn't working properly with mysql 4.1x and my database got all corrupted... there was something about the fact that even though i was using english, i had to translate my forum "into" english....

i don't know much else, but perhaps it's related...

Last edited by Bailx; 08-20-2006 at 05:45 PM.
Reply With Quote
  #6  
Old 08-20-2006, 06:24 PM
Zachery's Avatar
Zachery Zachery is offline
Super Moderator
 
Join Date: Jan 2004
Posts: 3,158
Default Re: MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

If you are getting phrasetypeid errors you are not running the vBa 2.2 files.
__________________
Zachery
vBadvanced Support & SysAdmin

Reply With Quote
  #7  
Old 08-20-2006, 09:34 PM
Bailx Bailx is offline
Junior Member
 
Join Date: Mar 2004
Posts: 19
Default Re: MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

heh i don't see how thats possible, i uploaded vb 3.6, upgraded the forum, then downloaded a fresh copy from here, uploaded those...ran the upgrade...

guess i'll... repeat the upload/upgrade and see if it affects anything....
Reply With Quote
  #8  
Old 08-23-2006, 04:27 PM
Bailx Bailx is offline
Junior Member
 
Join Date: Mar 2004
Posts: 19
Default Re: MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

installing it a 2nd time fixed it... thx for the help.
b.
Reply With Quote
  #9  
Old 08-23-2006, 04:55 PM
Zachery's Avatar
Zachery Zachery is offline
Super Moderator
 
Join Date: Jan 2004
Posts: 3,158
Default Re: MySQL Error: 1052 : Column 'dateline' in order clause is ambiguous

Glad you got it fixed.
__________________
Zachery
vBadvanced Support & SysAdmin

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
Column 'iconid' in from clause is ambiguous stitch Troubleshooting & Problems 2 11-16-2005 05:44 PM
Fill dateline manually in MySQL? blikos "How Do I..." Questions 2 10-22-2005 08:30 PM
Upgrade to 3.5 error. MySQL duplicate column name DougM Troubleshooting & Problems 1 10-08-2005 06:30 PM


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