Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2008, 11:38 PM
Tharos Tharos is offline
 
Join Date: Aug 2007
Location: VALPARAISO / CHILE
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default :| Help Me!

I dont know what happened!
I just was i the university the whole day and now I see that error

Database error in vBulletin 3.0.0 Beta 4:

Invalid SQL:

SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid

FROM forum AS forum;

MySQL Error : Unknown column 'lastthread' in 'field list'
Error Number : 1054
Date : Thursday, April 3rd 2008 @ 04:23:00 PM
Script : http://www.wachos.cl/comunidad/
Referrer :
IP Address : 190.46.40.74
Username : THAROS
Classname : vB_Database

could you help me please??
Reply With Quote
  #2  
Old 04-03-2008, 11:49 PM
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it seems that lastthread doesnt exist in the field list database table. What are you doing that requires a field list table. Is it a mod from this site.
Reply With Quote
  #3  
Old 04-03-2008, 11:52 PM
Tharos Tharos is offline
 
Join Date: Aug 2007
Location: VALPARAISO / CHILE
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but could you help me please?
I am a novice on being webmaster so I cant understand that of SQL
Reply With Quote
  #4  
Old 04-04-2008, 12:09 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The error is telling you it can't find the column "lastthread" in the "forum" table. I have no idea if that was a standard column back with vbulletin 3.0. Did you perhaps install a hack made for a later version of vbulletin that perhaps changed a query and is causing this error?

edit: scratch that. I don't think you have not given us the full error. Can you copy/paste the FULL mysql query from the error?
Reply With Quote
  #5  
Old 04-04-2008, 12:15 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think its actually trying to querey the lastthread and it shouldn't be.

Remove any custom modifications, or attempt to run some maintence tools on the DB
Reply With Quote
  #6  
Old 04-04-2008, 12:17 AM
Tharos Tharos is offline
 
Join Date: Aug 2007
Location: VALPARAISO / CHILE
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont know why my forum is showing as a 3.0.0 because I have the 3.6.8 version :s
Even Today I wanted to upgrade to the 3.6.9 version
And I did not installed any hack :s
I do not know what happened
ANd the complete error is that:



Database error in vBulletin 3.6.0 Beta 2:

Invalid SQL:

SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid

FROM forum AS forum;

MySQL Error : Unknown column 'lastthread' in 'field list'
Error Number : 1054
Date : Thursday, April 3rd 2008 @ 06:17:18 PM
Script : http://www.wachos.cl/comunidad/
Referrer :
IP Address : 190.46.40.74
Username : THAROS
Classname : vB_Database
Reply With Quote
  #7  
Old 04-04-2008, 12:40 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the only place I can find something like that query:

include/functions.php line 3047:
$counter_select = 'forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid';

It has to do with your forum cache. It gets used in another query that looks like your query on line 3067. I think I would start by reuploading the file. I would probably also do a repair/optimize on my forum table if I knew I had a backup (which I always do).

edit: very weird. Your last error said "3.6.0 Beta 2" and yest you say you are using 3.6.8. Something strange is going on.
Reply With Quote
  #8  
Old 04-04-2008, 12:42 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tharos View Post
I dont know why my forum is showing as a 3.0.0 because I have the 3.6.8 version :s
Even Today I wanted to upgrade to the 3.6.9 version
And I did not installed any hack :s
I do not know what happened
ANd the complete error is that:



Database error in vBulletin 3.6.0 Beta 2:

Invalid SQL:

SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid

FROM forum AS forum;

MySQL Error : Unknown column 'lastthread' in 'field list'
Error Number : 1054
Date : Thursday, April 3rd 2008 @ 06:17:18 PM
Script : http://www.wachos.cl/comunidad/
Referrer :
IP Address : 190.46.40.74
Username : THAROS
Classname : vB_Database
If you're going to upgrade, reupload all the 3.6.9 files and run the upgrade.php script, see if the error continues to happen after that.

Good luck
Reply With Quote
  #9  
Old 04-04-2008, 12:49 AM
Tharos Tharos is offline
 
Join Date: Aug 2007
Location: VALPARAISO / CHILE
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok my dear friend. I am downloading it now
But I don´t know How to upgrade :s
If i have question I´ll do them here
Reply With Quote
  #10  
Old 04-04-2008, 01:13 AM
CHIPIT CHIPIT is offline
 
Join Date: Apr 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just upload the files overwriting your old and run yoursite.com/forums/upgrade.php
Reply With Quote
Reply


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


All times are GMT. The time now is 09:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04051 seconds
  • Memory Usage 2,258KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete