Finally upgraded to vB3 Gamma, but now is worthless with a lot of database error msgs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pulsorock
    Senior Member
    • Aug 2001
    • 306
    • 3.6.x

    Finally upgraded to vB3 Gamma, but now is worthless with a lot of database error msgs

    I was having problems upgrading to vB3 (posted here: http://www.vbulletin.com/forum/showthread.php?t=89184) but found a way to install it by manually changing all the lines of code like this one (and other required files that had that same include type):
    require_once('./includes/config.php');
    to the full file path
    require_once("/full/file/path/vB3/includes/config.php");
    on the files: upgrade1.php and upgradecore.php

    and it worked... the upgrade finished without errors... but as soon as I tried to login to the Admin CP I started getting errors, this also happened on the board. Eventually, I noticed I was getting errors on every thing I did that required a change something on the database... I will include in this post... all the errors I got, until I gave up. They are a lot of errors, I hope them can help to figure out my problem. I changed my actual site url from the errors to mydomain.com and also changed my IP on the error log I will copy here.

    Here are all the errors I got:
    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    INSERT INTO session
    (sessionhash, userid, host, idhash, lastactivity, styleid, loggedin, bypass, useragent)
    VALUES
    ('066197577c15a743b83fc21fe3fa06b9', 20, '66.50.x.x', 'bd72f14651e34cf407817b196af5a90c', 1071304074, 0, 1, 1, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031206 Firebird/0.7+ (aebrahim)')

    mysql error: Unknown column 'bypass' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:27:55 AM
    Script: http://www.mydomain.com/vB3/login.php
    Referer: http://www.mydomain.com/vB3/admincp/
    Username: WebMaster
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    INSERT INTO session
    (sessionhash, userid, host, idhash, lastactivity, styleid, loggedin, bypass, useragent)
    VALUES
    ('0df13dd38eb884d329ec11f87661e2bb', 20, '66.50.x.x', 'bd72f14651e34cf407817b196af5a90c', 1071304116, 0, 1, 0, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031206 Firebird/0.7+ (aebrahim)')

    mysql error: Unknown column 'bypass' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:28:36 AM
    Script: http://www.mydomain.com/vB3/login.php
    Referer: http://www.mydomain.com/vB3/login.php
    Username: WebMaster
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    SELECT calendarcustomfieldid, title, options, allowentry, description
    FROM calendarcustomfield AS calendarcustomfield
    WHERE calendarid = 1
    ORDER BY calendarcustomfieldid

    mysql error: Unknown column 'description' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:39:18 AM
    Script: http://www.mydomain.com/vB3/calendar...nfo&e=2108&c=1
    Referer: http://www.mydomain.com/vB3/
    Username: WebMaster
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    SELECT calendarcustomfieldid, title, options, allowentry, description
    FROM calendarcustomfield AS calendarcustomfield
    WHERE calendarid = 1
    ORDER BY calendarcustomfieldid

    mysql error: Unknown column 'description' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:39:35 AM
    Script: http://www.mydomain.com/vB3/calendar...nfo&e=2108&c=1
    Referer: http://www.mydomain.com/vB3/calendar...nfo&e=2108&c=1
    Username: WebMaster
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    SELECT calendarcustomfieldid, title, options, allowentry, description
    FROM calendarcustomfield AS calendarcustomfield
    WHERE calendarid = 1
    ORDER BY calendarcustomfieldid

    mysql error: Unknown column 'description' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:39:48 AM
    Script: http://www.mydomain.com/vB3/calendar...=2003-12-7&c=1
    Referer: http://www.mydomain.com/vB3/calendar.php?
    Username: WebMaster
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    INSERT IGNORE INTO postindex
    (wordid, postid, score, intitle)
    SELECT DISTINCT wordid, 969052, CASE title WHEN 'Mensaje' THEN 2 WHEN 'prueba' THEN 2 WHEN 'Test' THEN 1 WHEN '123' THEN 1 ELSE 1 END, CASE title WHEN 'Mensaje' THEN 2 WHEN 'de' THEN 2 WHEN 'prueba' THEN 2 WHEN 'Test' THEN 0 WHEN '123' THEN 0 ELSE 0 END
    FROM word
    WHERE title IN ('Mensaje','prueba','Test','123')

    mysql error: Table 'vB3.postindex' doesn't exist

    mysql error number: 1146

    Date: Saturday 13th of December 2003 04:45:04 AM
    Script: http://www.mydomain.com/vB3/newthread.php
    Referer: http://www.mydomain.com/vB3/newthrea...=newthread&f=2
    Username: WebMaster
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    INSERT INTO user
    (username, salt, password, passworddate, email, styleid, parentemail,
    showvbcode, usertitle, joindate, daysprune, lastvisit, lastactivity, usergroupid, timezoneoffset,
    options, maxposts, threadedmode, startofweek, ipaddress, pmpopup, referrerid,
    reputationlevelid, reputation, autosubscribe, birthday)
    VALUES
    ('vB3 Test',
    'dl`',
    '3b2a096f46291cb46a1dec47554ab71f',
    NOW(),
    '[email protected]',
    1,
    '',
    2,
    'Registered User',
    1071305309,
    -1,
    1071305309,
    1071305309,
    3,
    '-4',
    3095,
    -1,
    0,
    1,
    '66.50.x.x',
    0,
    0,
    5,
    10,
    -1,
    ''
    )

    mysql error: Unknown column 'autosubscribe' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:48:29 AM
    Script: http://www.mydomain.com/vB3/register.php
    Referer: http://www.mydomain.com/vB3/register.php
    Username: WebMaster
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL: UPDATE user SET

    ### UPDATE QUERY GENERATED BY fetch_query_sql() ###
    username = 'WebMaster',
    email = '[email protected]',
    languageid = '0',
    usertitle = 'Administrator',
    customtitle = '0',
    homepage = 'http://www.mydomain.com/',
    icq = '7107159',
    aim = 'pulsorockcom@hotmail',
    yahoo = '',
    msn = '',
    parentemail = '[email protected]',
    posts = '3734',
    ipaddress = '216.72.76.119',
    usergroupid = '6',
    reputation = '0',
    pmpopup = '1',
    autosubscribe = '0',
    showvbcode = '1',
    styleid = '0',
    timezoneoffset = '-4',
    daysprune = '-1',
    displaygroupid = '6',
    threadedmode = '0',
    password = '66161c0cd1edd2e2cb24c455f08db366',
    referrerid = '0',
    joindate = '871315200',
    lastvisit = '1071301440',
    lastactivity = '1071305280',
    lastpost = '1071278160',
    birthday = '08-11-1977',
    options = '8023',
    reputationlevelid = '4',
    membergroupids = ''
    WHERE userid=20
    mysql error: Unknown column 'autosubscribe' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:50:47 AM
    Script: http://www.mydomain.com/vB3/admincp/user.php
    Referer: http://www.mydomain.com/vB3/admincp/user.php?do=edit&userid=20]
    Username: WebMaster
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    INSERT INTO session
    (sessionhash, userid, host, idhash, lastactivity, styleid, loggedin, bypass, useragent)
    VALUES
    ('1f2fa30a7afb57ea9638234cb771441c', 5752, '66.50.x.x', 'a3df1c266c1a95f380d4e8563edc01d7', 1071305624, 0, 1, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Alexa Toolbar)')

    mysql error: Unknown column 'bypass' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:53:44 AM
    Script: http://www.mydomain.com/vB3/login.php
    Referer: http://www.mydomain.com/vB3/forumdisplay.php?f=2
    Username: guillermo
    IP Address: 66.50.x.x

    Database error in vBulletin 3.0.0 Beta 3:

    Invalid SQL:
    UPDATE user SET

    showvbcode = 2,
    pmpopup = 1,
    maxposts = -1,
    daysprune = -1,
    timezoneoffset = '-4',
    startofweek = 1,
    languageid = 0,
    threadedmode = 0,
    autosubscribe = -1,
    options = 2390
    WHERE userid = 5752

    mysql error: Unknown column 'autosubscribe' in 'field list'

    mysql error number: 1054

    Date: Saturday 13th of December 2003 04:55:49 AM
    Script: http://www.mydomain.com/vB3/profile.php
    Referer: http://www.mydomain.com/vB3/profile.php?do=editoptions
    Username: guillermo
    IP Address: 66.50.x.x
    Thanks for the help....
    Last edited by pulsorock; Tue 16 Dec '03, 7:39am.
  • George L
    Former vBulletin Support
    • May 2000
    • 32996
    • 3.8.x

    #2
    hi there ...

    can you provide your full server specs particular your php and mysql versions... i saw in a previous thread you're using PHP 4.2.3 ? try

    1. upgrade to PHP 4.3.4
    2. grab a back up of your database you would of made prior to upgrade your forum
    3. create new empty database and restore this backup into
    4. go to members area and redownload the entire vB 3 Gamma zip file
    5. create new directory on your server i.e. /test2 where you will unzip vB 3 Gamma php files and all to /test2 so you would have forum at yourdomain.com/test2
    6. edit /test2/include/config.php and point database to the one created in step 3
    7. now try the upgrade again
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

    Comment

    • pulsorock
      Senior Member
      • Aug 2001
      • 306
      • 3.6.x

      #3
      Originally posted by eva2000
      hi there ...

      can you provide your full server specs particular your php and mysql versions... i saw in a previous thread you're using PHP 4.2.3 ? try

      1. upgrade to PHP 4.3.4
      2. grab a back up of your database you would of made prior to upgrade your forum
      3. create new empty database and restore this backup into
      4. go to members area and redownload the entire vB 3 Gamma zip file
      5. create new directory on your server i.e. /test2 where you will unzip vB 3 Gamma php files and all to /test2 so you would have forum at yourdomain.com/test2
      6. edit /test2/include/config.php and point database to the one created in step 3
      7. now try the upgrade again
      Hi eva...
      I have Apache/2.0.43 (Unix) PHP/4.2.3 / MySQL 3.23.52 running on RedHat Linux 8.0
      I did pretty much everything you said there... except upgrade to the latest PHP version... so that tells me that could have to do something with that.

      In the meantime, I tried editing all the upgrade#.php files to reflect the full-file-path to the required files and tried the upgrade again. And this time all the upgrade scripts got loaded fine and the installation went smoothly... I have my test board working and haven't got any errors yet... anyhow, before doing it on my actual copy of the most recent backup, I'll try it on a few days to see if it works fine without any more errors.
      Last edited by pulsorock; Tue 23 Dec '03, 9:59pm.

      Comment

      Related Topics

      Collapse

      Working...