View Single Post
  #187  
Old 04-01-2006, 09:44 AM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In installer/class_installer.php

// Figure out which version this belongs to
$nextstep = $versions["$currentversion"];

if (!is_array($steps["$nextstep"]))
{
die('Error in upgrade.');
}

I // commented out the die bit. Then (of course?) another problem pops-up



Advanced Hack Installer could not find the file 'upgrade' within the requested directory.

Please contact the hack author.


One may assume that this refers to upgrade350x.php files. So it had to select upgrade3505.php in my case, but it can't get that info. So, just make a copy of upgrade3505.php, call it upgrade.php and upload that. Run the installer again and it will go to

This script will update your RPG Integration Hack to version .

Press the 'Next Step' button to proceed.


Click proceed



* Altered Table: 0nvb3_rpg_ibots
* Altered Table: 0nvb3_rpg_monster_battles
* Altered Table: 0nvb3_rpg_user


Click proceed, the product.XML is imported. Click proceed.

Updated Setting: Version Number successfully.

Click proceed

You have now successfully upgraded the RPG Integration Hack to version ..

We hope you will enjoy using all the new features in the RPG Integration Hack as much as we have enjoyed writing them.
The RPG Integration Hack offers a level of forum and user integration both you and your members will enjoy for countless hours into the future, and new things are always in development.

What are you waiting for, go to your AdminCP and start configuring the hack!


And the things that weren't there are now installed -> seems to work fine.


So, our problem seems to be that the installer can't figure out our current version. Comment out the PHP die in installer/class_installer.php and modify the filename of your required upgrade350x.php file to upgrade.php and upload that to installer/hacks/rpg_integr_hack

Code:
//		if (!is_array($steps["$nextstep"]))
//		{
//			die('Error in upgrade.');
//		}
Then just run the installation.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01151 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete