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.

Upgrading to 6: An HTTP error 0 occurred (says menu_router and menu_links tables don't exist)

I'm trying to upgrade a site to the latest Drupal 6 from Drupal 5. First, after uploading new files I was getting a 404 everywhere with an error like this. After following this advice and adding a language field in url_alias table manually the error was gone except it was warning of an unknown column "language" like that commenter said would be, but pages still were getting 404d.

However both prior and after this I am getting this when trying to run the upgrade at update.php:

An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Please continue to the error page
An HTTP error 0 occurred. http://www.freewaresupport.com/update.php?id=3&op=do

When I click to go to the error page I get a huuuuge red block of text, all user warnings complaining that tables menu_router and menu_links don't exist and showing the queries it apparently tried to apply to those. Here are the first couple of them:

# user warning: Table 'nuxorg.menu_router' doesn't exist query: DELETE FROM menu_router in /home/lighttpd/nuxified.org/http/includes/menu.inc on line 2326.

Views 1 to Views 2 question

I am upgrading my Drupal 5 to Drupal 6. With that comes the tedious process of going from views 1 to views 2. I have a large quantity of views for my sites. I was wondering if there was an easy way to mass convert them or do I need to click the convert link for each view? From google-ing around I am suspecting I need to click each one. I was just wondering.

Thanks.

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?

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal