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-18-2004, 04:58 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A little help upgrading to VB3 from a hacked VB2?

Hi,

I am planning on upgrading to VB3 soon, but I am worried about how everything will work out since I have added quite a bit to my database (i.e. tables, rows, etc). I'm not worried about my hacks working on the new version, but I definately would like to be able to port over all the user information, and threads. Some user fields are custom fields that I have added as well...

It would also be convenient if styles could be ported, although not as important as the other things I mentioned...

What is the best way to go about doing this? Thanks for any help in advance.

~006
Reply With Quote
  #2  
Old 04-18-2004, 05:29 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IIRC there was a tool downloadable at vb.com which will check out your DB if you can upgrade to vb3 without problems
Reply With Quote
  #3  
Old 04-18-2004, 05:51 PM
TouchingVirus's Avatar
TouchingVirus TouchingVirus is offline
 
Join Date: Nov 2001
Location: Bogland
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes there was such a tool @ vb.com, written by Steve methinks, but it didnt work too good
Reply With Quote
  #4  
Old 04-18-2004, 07:34 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

u can upgrade to vb3 from a running vb2 board - but most of the hacks wont work though
just run upgrade2.php

here is how i did mine

first of all i made a new sql databse - i then took the databse from my v2 board
then i uploaded gold to my server and ran upgrade2.php (NOT INSTALL.PHP) and i made sure the config file pointed to the same databse as i had just upped the v2 databse 2 (just incase mistakes happened i never wanted to touch the main board)

anyway after going though endless prompts (about 46 in all) then loads more lke 1/9 etc it worked fine - every post - user etc was in vb3.
Also dont count on your styles working cause none of mine did.
Reply With Quote
  #5  
Old 04-18-2004, 11:24 PM
TouchingVirus's Avatar
TouchingVirus TouchingVirus is offline
 
Join Date: Nov 2001
Location: Bogland
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The styles didnt work because the style system changed totally :P

I amnt sure, having not upgraded, but wouldn't added/altered tables pose a problem?
Reply With Quote
  #6  
Old 04-18-2004, 11:43 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
IIRC there was a tool downloadable at vb.com which will check out your DB if you can upgrade to vb3 without problems
http://www.vbulletin.com/forum/showt...threadid=73163
(Just spent half-an-hour looking for that)
Reply With Quote
  #7  
Old 04-19-2004, 02:00 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I copied my database and I am going to test some things on the second one. (Password protected for those concerned..). If all goes well I will do the real thing shortly.. Might have to kill the forums for a few days though.


42 steps... Well it will be a long time until I know if this works I guess. Too bad i'll have to do this twice.
Reply With Quote
  #8  
Old 04-19-2004, 02:26 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shoot. I had a database error on step 19 (custom fields step) so I skipped it figuring it might not be a huge problem. Apparently VB3 doesn't like something about my user fields:

Database error in vBulletin 3.0.1:

Invalid SQL: SELECT profilefieldid,type,data,optional FROM profilefield
mysql error: Unknown column 'data' in 'field list'

mysql error number: 1054

Is this going to be hard to fix?

Ok then when I try to log in I get this:

Database error in vBulletin 3.0.1:

Invalid SQL:
SELECT profilefieldid, required, title, type, data, def, height
FROM profilefield
WHERE form = 0
ORDER BY displayorder

mysql error: Unknown column 'data' in 'field list'

mysql error number: 1054


Please help if you can anyone. Thanks.
Reply With Quote
  #9  
Old 04-19-2004, 03:57 AM
Scrub's Avatar
Scrub Scrub is offline
 
Join Date: Oct 2001
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The data column doesn't exist. Which page are you getting the error on? Try searching for the query and remove data, from it and see if that works? Jsut a suggestion, but I could be in the wrong on this one.
Reply With Quote
  #10  
Old 04-19-2004, 12:50 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get that error in the admin cp when searching for users, when trying to log in on the forum home, and on step 19 of the upgrade process.

I got this too when changing styles on the dropdown menu on forum home:

Invalid SQL: SELECT templatesetid,replacementsetid,userselect FROM style WHERE
styleid='2'
mysql error: Unknown column 'templatesetid' in 'field list'

mysql error number: 1054
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 12:05 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.07249 seconds
  • Memory Usage 2,251KB
  • 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
  • (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
  • (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