![]() |
An error in the rpg_install.php
There's an error in rpg_install.php.
Code:
Parse error: parse error, unexpected ')', expecting ']' in /home/phalanx/public_html/testvb/admincp/rpg_install.php on line 1516 |
Fixed.
Add the ] it wants after the 'part' to fix it. |
Is the updated file in the ZIP? If not, exactly where do you add the ] -- my editing program doesn't give me line numbers unfortunately.
|
Quote:
The zip is updated. I checked ;). Ok, now I got an SQL problem while I was running the installer and it came to the db part. I refreshed once, and got this: Code:
Database error in vBulletin 3.0.7: |
The parse error can safely be ignored, the entire hack was installed successfully.
What was NOT done though, is: * Rebuild of datastore * Rebuild of phrases * Rebuild of styles To remedy this: Enter your ACP; * open any random setting page, save the settings. * Under Styles and templates, open any random template that you have modified before (important!), and save it instantly * Under Languages and Phrases, click Language Manager, then Rebuild all languages. |
Quote:
However, on View Battles, Add Battle Scenes, Edit Battle Scenes, Add Battle Midis, Edit Battle Midis, and Prune Battles pages doesn't have words (In the ACP) Edit Class Returns with: Code:
Database error in vBulletin 3.0.7: Code:
Database error in vBulletin 3.0.7: Code:
Database error in vBulletin 3.0.7: Code:
Database error in vBulletin 3.0.7: What should be done to fix these? |
Weird... I saw the parse error right before the "done" step of the installer.
All I can say is that you have to manually drop the tables/fields created and Uninstall everything not query-related using the installer, then reinstall. Since its a test board then it doesnt matter much, phew :p Everything will work great on yer live board ;) |
Quote:
Code:
Database error in vBulletin 3.0.6: |
i remember that headquarters.php error being a beta 1 problem...are you using beta 2?
|
I am receiving on admincp/rpg_install.php?step=install&part=queries&all=yes
Created Table: rpg_items Created Table: rpg_items_cats There seems to have been a slight problem with the HxC Forums database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. PHP Code:
|
It is missing a comma after [sql]`itid3` int(11) NOT NULL default '0'[/sql]
Im uploading a fixed file now. To remedy this, you have to run uninstall on everything apart from queries, then manually drop every table it has created so far, including the stuff in the user table, then reinstall. Alternatively, IF the uninstall process is designed like I think, you can TRY to uninstall and see if it does undo the changes. |
found sql 2 errors in today's update:
Code:
$RPG_sql['populate']['query']['rpg_element'] = " Code:
$RPG_sql['populate']['query']['rpg_element'] = " Code:
INSERT INTO " . TABLE_PREFIX . "rpg_items_cats Code:
INSERT INTO " . TABLE_PREFIX . "rpg_items_cats |
I fixed all those problems, and did some tweaking on the installer.
It was falsely letting you select multiple options for Uninstall, when testing has shown this to be impossible to accomplish. Fix to be uploaded soon, I just need to test some other stuff first |
Quote:
|
Quote:
Code:
Database error in vBulletin 3.0.7: |
ahh see the problem, in install/rpg_mysql-schema.php look for
Code:
$RPG_sql['populate']['query']['rpg_class'] = " Code:
$RPG_sql['populate']['query']['rpg_class'] = " |
Yeah, I really should setup localhost with a prefix...
|
Quote:
|
Hi again Revan
When I tried to save changes in Headquarters, I got an SQL error. Complained about field5 not existing in the userfields table. Checked it, and sure enough field5 was missing! Added it manually using myPHPAdmin and it works ok now. |
That is because the AdminCP setting was set to use field5.
Adding it manually is not recommended as it will not work as expected. You must update the ACP setting yourself. *thinks he has to code a fix for this as people can't seem to find that setting....* |
Thanks Fillip. I'll look into that later when I have more time.
Might even read the manual lol |
Well I tried upgrading and I got some errors that were all ready posted so I will not post them here again. I then tried the uninstall and it said it uninstalled successfully my board worked fine you could brows threw but if you click on a thread a SQL error would pop up. So I am guessing the uninstaller uninstalls even the old version not just the updated part?
I don?t normally like to upgrade hacks like this I would rather install fresh copies. Is there anyway to manually remove the old hack so I can try a fresh install? I tried upgrading and then uninstalling and then doing a fresh install but that did not work. These auto installs scare me as I have no idea whats being changed. You think I could do in manually maybe? I just like to know whats being modified and I feel blind with auto installs. I had to revert to a backup copy of the board because I had no idea what was changed. Only thing I have modified on my board for this hack is the postbit but that should not be causing any problems right? I have also not updated to 3.0.7 im on 3.0.6 cause I don?t have the HTML security problem and Im lazy (lol)? I can?t wait till this hack gets past beta. I normally don?t fool around with betas but I love this hack. I could contribute to it if I could get that darn thing working so I can test out my templates. ;) |
To uninstall the old hack, you have to run its installer file and delete from there. The new uninstall part does not remove old code, hence why an upgrade is the only possible course of action when an older version is detected.
The reason why uninstall caused SQL errors on showthread was because it calls tables that you have removed. Also if you could reference to the errors you got at upgrade, the script was throroughly tested and the latest installer version shouldn't contain any more bugs... This installer is set to echo every last change, so you know EXACTLY whats going on. It modifies the user table, you get a message saying this. To find to exactly what was changed table wise, you could just pick open the file. I HAD to make an auto installer because advanced parsing had to be done to convert the rpg_items_options and rpg_battle_options to $vboptions :P Plus the installer looks good and is cool :p To manually remove the old hack, you have to wipe all references to it from the dbase, its too late in the night for me to dig these out :P |
I got error install:
Quote:
Quote:
Bug or something? |
Check the release thread, this has been fixed.
I don't send email updates on all stuff I fix, because then people's emails would be spammed XD Mind you, Im not trying to berate you for not realising this was fixed, I just wanted to explain myself :) |
All times are GMT. The time now is 03:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|