Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > RPG Integration Hack
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Problem Upgrading to beta 5 Details »»
Problem Upgrading to beta 5
Version: , by aligold aligold is offline
Developer Last Online: Jul 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-26-2005 Last Update: Never Installs: 0
 
No support by the author.

I cannot upgrade to beta 5... I get to a screen that says the following:

RPG Integration Hack Upgrade Results
Running queries......
Updating tables.....
Skipped Table: rpg_ibot_templates
Skipped Table: rpg_ibots
Populated Table: rpg_ibots
Skipped Table: rpg_monster_battle_posts
Skipped Table: rpg_monster_battles

Database error in vBulletin 3.0.7:

Invalid SQL: ALTER TABLE `rpg_lottery` DROP `editing`
mysql error: Can't DROP 'editing'. Check that column/key exists

mysql error number: 1091

Date: Saturday 26th of March 2005 08:43:01 PM
Script: <exact link removed>/rpg_install.php?step=upgrade&part=queries&all=yes

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-27-2005, 12:13 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

shoulda dloaded the newest files then, because I added a conditional around that line just about the time the last person reported this.
So basically the file now checks whether or not the editing field exists.

https://vborg.vbsupport.ru/showthread.php?t=78632
Theres the thread, knock yerself out
Reply With Quote
  #3  
Old 03-27-2005, 12:17 AM
aligold aligold is offline
 
Join Date: Mar 2003
Location: Pennsylvania
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thing is I literally downloaded the upgrade minutes before attempting to run the upgrade... I'll try again, but I'm pretty sure that unless you uploaded it in the last 15 minutes its not gonna be working.

EDIT: Just tried downloading through mozilla(used IE on last download) and reuploaded all of the files, to no effect.
Reply With Quote
  #4  
Old 03-27-2005, 12:38 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the weirdest thing...
Taken straight from the source of the file:
PHP Code:
        if (verify_field_exists('editing''rpg_lottery'))
        {
            
$DB_site->query("ALTER TABLE `" TABLE_PREFIX "rpg_lottery` DROP `editing` ");
        } 
Which reads that if the field "editing" exists, drop it.
Tell you what: Remove the entire section I just posted from the file /install/upgrade4.php, then run /admincp/rpg_install.php?step=upgrade&part=queries&all=yes to skip right past any other errors and resume the upgrade. I believe running it from there should work fine
Reply With Quote
  #5  
Old 03-27-2005, 12:43 AM
aligold aligold is offline
 
Join Date: Mar 2003
Location: Pennsylvania
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that worked partially....

Database error in vBulletin 3.0.7:

Invalid SQL: ALTER TABLE `user` ADD `inmonsterbattle` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL
mysql error: Duplicate column name 'inmonsterbattle'

mysql error number: 1060

guess I need to go through a few times commenting out any issues I encounter until it works.
Reply With Quote
  #6  
Old 03-27-2005, 12:45 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, that would be the preferred way of doing it.
I dont think there's any more removing or adding than those two though, so hopefully we have seen the end of this now
Reply With Quote
  #7  
Old 03-27-2005, 12:48 AM
aligold aligold is offline
 
Join Date: Mar 2003
Location: Pennsylvania
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it appears to be working now. It is strange that it did this I'm not certain why it even happened.
Reply With Quote
  #8  
Old 04-14-2005, 02:28 AM
torahtrance torahtrance is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had the EXACT SAME PROBLEM. I did the EXACT same thing according to your instructions, and it worked =D !! CHEERS!

v3.07 vbulletin.
i got a problem where it says in the instructions
edit template 'postbit_legacy'

it than says:
###########
find
##########

PHP Code:
<div class="info">$post[icqicon$post[aimicon$post[msnicon$post[yahooicon]</div>
</
div
however I cannot find that in the postbit_legacy

another question is how can i add it to all the styles? We plan on having several styles and adding more in the future is there a way to have them all together added at the same time?

Thanks,

s.e.
Reply With Quote
  #9  
Old 04-14-2005, 07:45 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The postbit_legacy template instructions may be outdated, but since it hasn't changed much since the vB version this hack originally was written for, I didn't think it was important.
As for your question, the RPG templates are automatically added to all styles, as they are inserted in the Master Style
Reply With Quote
  #10  
Old 04-14-2005, 05:33 PM
torahtrance torahtrance is offline
 
Join Date: Jan 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this mean that its already installed and configured properly?
I don't need to do any more backend stuff?

about the master style.. how do I edit that ?
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 08:40 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.05790 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (9)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