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.

Views 5.1 Module When Installed Shows up as 6.1

When upgrading from 4.7 to 5.1 (so that I can get to 6.x eventually), I tried to upgrade the views module. The one I downloaded as the 5.x version is causing problems like, Call to undefined function: views_get_all_urls().

When I looked at the module version in administration it shows 6.x. Something may be wrong with the download, or am I doing something wrong?

Upgrade issues from 5.12 to 6.6

I was successful in upgrading on one of my servers but now I'm running into issues upgrading a 5.12 site to 6.6 on my shared server host.

I run the upgrade following all upgrade.txt instructions - I disable all contrib modules and themes. I switch the site to Garland theme. I change all the status of the contrib modules to "0" in the db system table.

I then copy over the Drupal 6.6 folders.

When I run update.php I get a blank white screen in my browser.

When I go to any other location of my site I get the following:

Warning: Unknown column 'serialized' in 'field list' query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in //includes/database.mysql.inc on line 128

Duplicate entry when updating (example is for Drupal 5 to Drupal 6 but could be use for others I guess)

Sooo, you are updating Drupal and got some duplicate entry? Use this!

Keep your errors close, you'll need them. You can always see them in the logs if you are at Drupal 6 www.test.com/?q=admin/reports/dblog

First of all, these querys should return nothing:

SELECT format, module, delta, COUNT(*) FROM filters GROUP BY format, module, delta HAVING COUNT(*) > 1;
SELECT language, lid, plural, COUNT(*) FROM locales_target GROUP BY language, lid, plural HAVING COUNT(*) > 1;
SELECT nid, uid, hostname, COUNT(*) FROM poll_votes GROUP BY nid, uid, hostname HAVING COUNT(*) > 1;
SELECT uid, fid, COUNT(*) FROM profile_values GROUP BY uid, fid HAVING COUNT(*) > 1

If so, use this template to remove duplicates :

ALTER IGNORE TABLE _TABLE_NAME_ ADD UNIQUE INDEX(_WHAT YOU SEE between "GROUP BY" and "HAVING" here!_)

Let say you had when updating :

Update #6043
Failed: ALTER TABLE {filters} ADD UNIQUE KEY fmd (format, module, delta)

Then you should use this to remove duplicate :

ALTER IGNORE TABLE filters ADD UNIQUE INDEX(format, module, delta)

And then do the query again to update manually (and remove the brackets):

ALTER TABLE filters ADD UNIQUE KEY fmd (format, module, delta)

Now, why these duplicate happens? No ideas. Happy upgrading!

References

Upgrade issues from 5.12 to 6.6

Trying an upgrade from 5.12 to 6.6. Getting the following errors after upgrade is completed (as far as copying over 6.6 files/folders). This has now happened on two 5.12 sites that I'm trying to upgrade so I'm assuming these are glitches in the upgrade process? Any suggestions here would be most helpfu! Thanks! -backdrifting

Here's the errors I'm getting:

Warning: Unknown column 'serialized' in 'field list' query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /var/www/newcome60/includes/database.mysql.inc on line 128

Warning: Unknown column 'serialized' in 'field list' query: UPDATE cache SET data = 'a:78:{s:13:\"theme_default\";s:7:\"garland\";s:13:\"filter_html_1\";i:1;s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:17:\"menu_primary_menu\";s:1:\"0\";s:19:\"menu_secondary_menu\";s:1:\"0\";s:15:\"install_profile\";s:7:\"default\";s:17:\"node_options_page\";a:1:{i:0;s:6:\"status\";}s:12:\"comment_page\";i:0;s:14:\"theme_settings\";a:1:{s:21:\"toggle_node_info_page\";b:0;}s:18:\"drupal_private_key\";s:64:\"c14dedb773d50f59669d87bc932174ffe7b99937bc64790da790cf2c3b820cca\";s:9:\"cron_last\";i:1226422019;s:19:\"file_directory_temp\";s:4:\"/tmp\";s:19:\"file_directory_path\";s:5:\"files\";s:14:\"file_downloads\";s:1:\"1\";s:9:\"clean_url\";s:1:\&qu in /var/www/newcome60/includes/database.mysql.inc on line 128

Update OK but site now crashes with error messages

I upgraded from 6.x to 6.6 courtesy of a warning that I needed to upgrade from a fantastico script. The update didn't go well. I've since managed to do it manually, but I get this message when I try to log into the site:

* warning: array_map() [function.array-map]: Argument #2 should be an array in /home/uminalt/public_html/modules/system/system.module on line 975.

* warning: array_keys() [function.array-keys]: The first argument should be an array in /home/uminalt/public_html/includes/theme.inc on line 1728.

upg 5.x to 6.6 - sql errors re: cache table not existing

Hello everyone,

First let me start by thanking the Drupal community. I love the software and the support is top notch. This is my first support post. I should also mention that I have used the software since 4.6.x and have already gone through a few upgrades with a myriad of weird issues that the forum search has been helpful in solving. :-)

On to my particular issue.

I was upgrading an installation from a 5.x to the latest 6.6. This installation had a custom theme (which I forgot to disable, of course) and no non-default modules that I could recall. Except for the theme, it's as plain-vanilla of an install I can think of.

I copied off the /sites and /files directories, wiped my old directories, and copied up the 6.6 stuff. I ran the update.php and this is what it found during the overview:

user warning: Table 'eversma_drpl1.cache' doesn't exist query: DELETE FROM cache WHERE cid = 'variables' in /home/eversma/public_html/ogdenfalls.com/includes/cache.inc on line 179.

Now, when I accept that error and proceed, I get a whole slew of different errors. This one seems to be the start of it, though.

Now, the really exciting part is that my drupal db doesn't have a cache table. it has cache_block, cache_filter, cache_form, cache_location, cache_menu, and cache_page, but no plain-old-cache table.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal