Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2009, 12:21 PM
servermin servermin is offline
 
Join Date: Mar 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Failed update to Beta 4, now 3.8.4 has bugs.

I had someone that I help with a vbulletin install try to go to beta without backing up the database. We just moved to a new server so haven't done a new backup myself, as I had the old server until just recently.

Anyway, there were problems and we are getting a few errors. Vbulletin is saying a reinstall, but there seems to have to be another way, since we can see all the posts and everything.

Looking for some options and ideas if anyone has any.

Here is what we are getting in the admin panel initial screen. All the other pages within it work. Below is when trying to edit large posts or go to some of them. The site is zefron.com/forum

Quote:
Database error in vBulletin 3.8.4:

Invalid SQL:
SELECT SUM(filesize) AS size FROM attachment;

MySQL Error : Unknown column 'filesize' in 'field list'
Error Number : 1054
Request Date : Friday, December 11th 2009 @ 06:19:53 PM
Error Date : Friday, December 11th 2009 @ 06:19:53 PM
Script : http://www.zefron.com/forum/admincp/index.php?do=home
Referrer : http://www.zefron.com/forum/admincp/index.php
IP Address : 68.58.46.209
Username : Kathryn
Classname : vB_Database
MySQL Version : 5.0.85-community
Here is what we are getting in large threads or when we edit large threads

Quote:
Database error in vBulletin 3.8.4:

Invalid SQL:

SELECT dateline, thumbnail_dateline, filename, filesize, visible, attachmentid, counter,
postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize,
attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow
FROM attachment
LEFT JOIN attachmenttype AS attachmenttype USING (extension)
WHERE postid IN (-1,6271951,6271966,6271998,6272038,6272085,6272152, 6272182,6272252,6272377)
ORDER BY attachmentid;

MySQL Error : Unknown column 'extension' in 'from clause'
Error Number : 1054
Request Date : Friday, December 11th 2009 @ 06:20:31 PM
Error Date : Friday, December 11th 2009 @ 06:20:31 PM
Script : http://www.zefron.com/forum/showthread.php?p=6272377
Referrer : http://www.zefron.com/forum/
IP Address : 68.58.46.209
Username : Kathryn
Classname : vB_Database
MySQL Version : 5.0.85-community
Reply With Quote
  #2  
Old 12-13-2009, 01:04 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd ask this 1st, why are you trying to run a BETA version on a live production site?

It's called a BETA for a reason.

If the columns are missing, i would view the upgrade php files starting with the one after your old version 3.8.4, view each php upgrade script from that point on in a editor and search for those keywords, see what queries were supposed to be run and compare them to your db, most likely 1/2 of the upgrade queries weren't ran.
Reply With Quote
  #3  
Old 12-13-2009, 01:34 PM
servermin servermin is offline
 
Join Date: Mar 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They did it without my knowledge. I wondered the same thing

What you describes seems above what I know how to do. I was just posting tonsee if there was something that could save the site. I didn't know if anyone would mind trying to try this if people think this would work. Thanks!
Reply With Quote
  #4  
Old 12-13-2009, 01:47 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no reason it can't be saved, the errors appear to be simply missing columns in the table.

I assume you also inspected the currently upload php files and they are all for the beta version and not for 3.8.4?

Did you check the two tables above and confirm that those tables don't actually exist?
Reply With Quote
  #5  
Old 12-13-2009, 02:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They might have put the vB4 files on the server, but they didn't run the upgrade.php file because you can see the database has not been upgraded at all (it says 3.8.4).
Reply With Quote
  #6  
Old 12-13-2009, 03:05 PM
servermin servermin is offline
 
Join Date: Mar 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They ran the upgrade then went back to 3.8.4. Would that be why?
Reply With Quote
  #7  
Old 12-13-2009, 03:17 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exactly do you mean by "then went back to 3.8.4" ?
Reply With Quote
  #8  
Old 12-13-2009, 03:27 PM
servermin servermin is offline
 
Join Date: Mar 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

She said she tried the upgrade and it failed so ran the 3.8.4 install again.
Reply With Quote
  #9  
Old 12-13-2009, 04:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can't do that. The database won't suddenly downgrade to 3.8.4 again. Either she ran the upgrade and the database was changed, or she didn't run it and the database was left as a 3.8.4 database. Or, and I'm not sure about this, she started to run it and only some of the database was changed except the version number was not yet changed.
Reply With Quote
  #10  
Old 12-13-2009, 04:35 PM
servermin servermin is offline
 
Join Date: Mar 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Snakes 1100 is going to take a look at it. Thanks for all the ideas. We'll post results here, for future problems with others.
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 01:31 AM.


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.03868 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (2)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
  • (1)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_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