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.

Module upgrade question

Hi,
on my current drupal 4.7.5 site, I have several modules that are ine -dev status.

Some of these modules are in stable release for the 5.0 version.

When I update my site to 5.0, (and my modules to stable 5.0 version), should I first upgrade modules to latest 4.7.5-dev versions ? or can i jump directly to stable 5.0 modules version, even if my current dev version isn't the very latest ?

Cordially,
Brakkar

after migrating to the new server ?q=admin/modules didnt work

i migrating to new server, ?q=admin/modules started not to working.

after this;
*updated from 4.7.4 to 4.7.5
*run update.php

but making these also didnt work

Many Errors when Upgrading 4.7.3 to 5.0

Everything was going well until update.php finished... It listed many many Failed Queries. Following are the first few sections... I can access my DB with PHPMyAdmin and when I attempted to run the failed queries manually through the PHPMyAdmin interface, I received errors like:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{blocks} DROP path' at line 1

I feel weak and afraid. Help.

+++++++++++++

Update #110

* DROP TABLE {search_index}
* CREATE TABLE {search_index} ( word varchar(50) NOT NULL default '', sid int unsigned NOT NULL default '0', type varchar(16) default NULL, fromsid int unsigned NOT NULL default '0', fromtype varchar(16) default NULL, score int unsigned default NULL, KEY sid (sid), KEY fromsid (fromsid), KEY word (word) )
* Failed: CREATE TABLE {search_total} ( word varchar(50) NOT NULL default '', count int unsigned default NULL, PRIMARY KEY word (word) )
* Failed: ALTER TABLE {blocks} DROP path
* Failed: ALTER TABLE {blocks} ADD visibility tinyint NOT NULL
* Failed: ALTER TABLE {blocks} ADD pages text NOT NULL
* DELETE FROM {variable} WHERE name = 'node_cron_last'
* UPDATE {blocks} SET status = 1, custom = 2 WHERE status = 0 AND custom = 1

Update #111

CCK no longer needed?

From reading the release notes, it looks like CCK is no longer needed to make custom node types. So does anyone know how I can update from 4.7.5 w/CCK to 5.0 core only?

Blocks return errors

Using block's "Page specific visibility settings-Show if the following PHP code returns TRUE" feature, I'm getting new errors after updating from 4.7. The original code was:

$n = node_load(arg(1));
if ($n->type == 'content_mag_author') { return TRUE; }

which now returns the following error(s):

Upgraded to 5.0 but used wrong table names

Argh...boy do I feel dumb.

Has anyone else done this but me?

I just successfully upgraded to CiviCRM 1.6 and then carefully (I thought) stepped through the process of upgrading Drupal 4.7 to 5.0. Somewhere along the way, I guess when I did the update.php, I didn't give the correct database name/table prefix and now my old tables are sitting there unchanged and I have a bunch of new tables from the 5.0 update.

Is there any way to remedy this besides restoring from backup and starting again?

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal