I updated to to the latest recommended version, which is 5.x-2.0-rc1. When I ran update.php:
Warning: Table 'drupal.vb_watchdog' doesn't exist query: watchdog INSERT INTO vb_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '<em>Table &#039;drupal.vb_user&#039; doesn&#039;t exist\nquery: _drupalvb_init_user_map\nSELECT userid, username FROM vb_user</em> in <em>/var/www/html/includes/database.mysqli.inc</em> on line <em>151</em>.', 2, '', 'http://example/update.php?op=do_update', 'http://example/update.php?op=selection', 'example', 1209574037) in /var/www/html/includes/database.mysqli.inc on line 151
{ "status": true, "percentage": 100, "message": "Updating drupalvb module" }
When I click on the update summary link I get this page:
user warning: Table 'drupal.vb_user' doesn't exist query: _drupalvb_init_user_map SELECT userid, username FROM vb_user in /var/www/html/includes/database.mysqli.inc on line 151.
The update process was aborted prematurely while running update # in .module. All other errors have been logged. You may need to check the watchdog database table manually.
* Main page
* Administration pages
The following queries were executed
drupalvb module
Update #5100
* No queries
Update #5200
* CREATE TABLE {drupalvb_users} ( uid int(10) unsigned NOT NULL default '0', userid int(10) unsigned NOT NULL default '0', PRIMARY KEY (uid), KEY userid (userid) ) /*!40100 DEFAULT CHARACTER SET utf8 */;
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | drupalvb-DRUPAL-5--2.upgrade-prefix.patch | 660 bytes | sun |
Comments
Comment #1
stevenpatzAdditionally when I go to any user's page I get:
Comment #2
sunPlease go to Drupal vB's database settings and check whether the connection is setup correctly and the table prefix is correct.
Comment #3
stevenpatzIn my settings.php file I have
In the config.php file I have:
Which is what I had before the update, because there is no table prefix used for the vbulletin DB. is there somewhere else I need to check?
Comment #4
sunYes, database connection settings have been moved into the module settings page. See administer >> Site configuration >> Drupal vB >> Database
Comment #5
stevenpatzThat was the problem, I wouldn't have thought to check the Settings page before doing the update.php step. Perhaps checking to see what the
$config['Database']['tableprefix'] = '';is set to and using that in the install file. That might keep the support requests to a minimum.Comment #6
sunHas copying of config.php been required in 5.x-1.x?
Comment #7
stevenpatzYes it has. From the README of that version:
Comment #8
sunThanks -- so I guess, this should work out
Comment #9
sunThanks, committed.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.