PDA

View Full Version : Upgrade error


TTG
03-04-2005, 10:44 PM
Just upgraded to latest version (https://vborg.vbsupport.ru/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'

Revan
03-05-2005, 09:01 AM
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

TTG
03-05-2005, 05:28 PM
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

Revan
03-05-2005, 05:30 PM
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