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
An error in the rpg_install.php Details »»
An error in the rpg_install.php
Version: , by Blootix Blootix is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

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

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
Fresh install on a test board in vB 3.0.7.

Show Your Support

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

Comments
  #22  
Old 03-11-2005, 04:26 PM
bluesteel bluesteel is offline
 
Join Date: Feb 2003
Location: Macclesfield, UK
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Fillip. I'll look into that later when I have more time.
Might even read the manual lol
Reply With Quote
  #23  
Old 03-12-2005, 11:43 PM
PolyMarauder's Avatar
PolyMarauder PolyMarauder is offline
 
Join Date: Sep 2004
Location: gamingartist.com
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 03-12-2005, 11:53 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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
Reply With Quote
  #25  
Old 03-13-2005, 09:11 PM
Gohan's Avatar
Gohan Gohan is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got error install:

Quote:
Database error in vBulletin 3.0.6:

Invalid SQL: SELECT `profilefieldid` AS `id` FROM `profilefield` WHERE `varname` = 'RPG Name'
mysql error: Unknown column 'varname' in 'where clause'

mysql error number: 1054

Date: Sunday 13th of March 2005 11:48:35 PM
Script: http://members.lycos.nl/ffthunderfr....ueries&all=yes
Referer:
rpg_install.php (line 680)

Quote:
$rpgname = $DB_site->query_first("SELECT `profilefieldid` AS `id` FROM `" . TABLE_PREFIX . "profilefield` WHERE `varname` = 'RPG Name'");
$DB_site->query("UPDATE `" . TABLE_PREFIX . "setting` SET `value` = 'field$rpgname[id]' WHERE `varname` = 'rpg_namefield'");

Bug or something?
Reply With Quote
  #26  
Old 03-14-2005, 06:51 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 05:43 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.05862 seconds
  • Memory Usage 2,258KB
  • Queries Executed 22 (?)
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)bbcode_code
  • (2)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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