Helpful Information
 
 
Category: RPG Integration Hack
Upgrade error

Just upgraded to latest version (http://www.vbulletin.org/forum/showthread.php?p=621007#post621007) and am now getting this error
on posting a message


Database error in vBulletin 3.0.6:
Invalid SQL: SELECT countexp FROM forum WHERE forumid='35'
mysql error: Unknown column 'countexp' in 'field list'

Fixed.

To fix this error, open newthread.php and newreply.php
Remove the following bits of code:
$expcount = $DB_site->query_first("[...]");
AND $expcount['countexp'] == 1

That now produces another error :-

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT givepostexp, expperpost FROM rpg_battle_options
mysql error: Table 'thetechg_retreat.rpg_battle_options' doesn't exist

Bs. That code doesn't appear anywhere in my install instructions.
Redo the newthread/newreply modifications.
And check if you redid EVERY modification in the install .txt file (including templates) to avoid any future errors










privacy (GDPR)