This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Weight Quote Error unknown column product_rate (uc_weightquote.install didn't run during D6/UC 2 upgrade)

I just upgraded to Drupal 6 and Ubercart 2.x. Everything seems fine. But when I navigate to "Store administration › Configuration › Shipping quote settings" I get the following error.

user warning: Unknown column 'product_rate' in 'field list' query: SELECT mid, title, label, base_rate, product_rate FROM uc_weightquote_methods in /usr/www/users/jj/drupal-6/sites/all/modules/ubercart/shipping/uc_weightquote/uc_weightquote.admin.inc on line 24.

Looking at my uc_weightquote table I see "unit_rate". That's supposed to be product rate. I took a look at uc_weightquote.install and it apparently didn't run on my upgrade. Now I'm wondering if I can re-run just this install file, or if there's a way to convert the install file to SQL that I can just run in PHPMyAdmin. I'm hoping someone might have suggestions or can point me in the right direction. Thanks.

Here's a screenshot of uc_weightquote table: http://skitch.com/jibbajabba/ngb9h/uc-weightquote-methods

The content of uc_weightquote.install is below:

<?php
// $Id: uc_weightquote.install,v 1.5.2.9 2009/10/20 20:58:08 islandusurper Exp $

/**
* @file
* Install modules for uc_weightquote.module.
*/

/**
* Implementation of hook_schema().
*/
function uc_weightquote_schema() {
$schema = array();

$schema['uc_weightquote_products'] = array(
'fields' => array(
'vid' => array(

lost attachments on upgrade - why & what to do?

I upgraded from Drupal 6.13 to 6.14 using Fantastico and lost all of the attachments. The links to each of them was still on each page, however clicking it would result in a “404” Page not found” error. Fortunately I had made a copy of the site and went into it and copied the attachments in “sites/default/files” to the equivalent folder on the main production site and everything behaved as it should again.

Update.php asking for clean SQL DB!

I reinstalled 6.14 because the system status report said I had a severe security breach potential. After running status again, I get:

Database updates Out of date
Some modules have database schema updates to install. You should run the database update script immediately.

However when I run the update script, it askes for DB password, etc, and then says it can only install into an empty DB. I glanced at the URL and it's running install.pdp.

What's going on here? Is the first error message misleading? The site seems to be function OK.

I cannot access admin!!

After upgrading Drupal from 6.13 to 6.14 via simple scripts, I cannot log in as admin. Typically simple scripts creates a generated password for admin, and via the link you can log in. I have uninstalled and installed drupal several times, even reverting back to 6.13 and still i recieve an access denied page. actually the link to the admin log in immediately says access denied before i even attempt to log in! help! what can i do?

similar nodes

hello how i can make list from similar nodes.
nodes maybe similar with taxonomy

Problem with Views module

hello folks
I just upgraded the entire system but I can not do it with views module. I can not enable it in Admin/Modules (still remains 5.x version, even I uploaded Views 6.x). Please see picture here: http://www.allviolin.com/Picture%201.png

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal