![]() |
Quote:
As it's a testboard and this is beta software, I experimented with just importing the XML. That works. Ergo, 'step 4', that what is supposed to be done during step 4, works. By manually doing the so called step 4, not by running the installer, I omit step 1, step 2 and step 3. Not because I don't want it, but because it won't run. Why does this installer not work, while the one supplied with beta4 did? |
Quote:
Did you look into the installer/hacks/rpg_integr_hack/class.php and see that those variables are like I posted in the post? Also, what I don't understand is, how can several other people have upgraded successfully, yet you cannot? |
Oh, lol. That's step 4 in the installation guide (README_FIRST.html). Sorry about the confusion.
Yes, I checked that file class.php, all is there. I don't understand either. I don't have to uninstall the old beta first, do I? |
No you shouldn't have. Others have upgraded successfully.
What you should do is open the upgrade3505.php and manually do the queries that lies within. Then do the version number increase like described in a previous post. That will get you up to date. |
Revan I am getting that error
|
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"])) |
Examined our database a bit, xxx_table setting record rpg_versionnumber. You'ld expect it to store the number of the version (3505 in this case), but it stores 0.
Edit: not all new SQL fields are added: _rpg_ibot_templates ibotid _rpg_monster_battles turnid _rpg_monster_battle_posts still uses battleid instead of monsterbattleid Playing moster in arena works so far. Will post when I find more. More: -rpg_ibots loses is not updated to the new losses |
So it causes the database error just because it can't detect the RPG version?
|
The upgrade doesn't run because it can't determine the version number, that's correct.
The upgrade seems to miss some steps, even when it runs (some SQL fields are not added). |
I'm playing this RPG on the testforum now and it looks good.
What we like to do is setup one forum where people are RPG characters, while not knowing each others real identity. That's mostly possible already, but the PM's to challenge each other gives the usernames/forumnames away. There should be an anonimous sender in the PM or PM's are proxied by some admin. |
All times are GMT. The time now is 11:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|