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.

Migration Help

Hi There,
Just created a new site with the 4.5.0 RC and it looks great! I'm very pleased with the changes made since 4.3.

Comments in 4.5.0

I'm having a devil of a time. I went through the upgrade, and I got this error when I tried to enter a test comment:
----
user error: Column count doesn't match value count at row 1
query: INSERT INTO comments (cid, nid, pid, uid, subject, comment, format, hostname, timestamp, status, score, users, thread, name, mail, homepage) VALUES (1493, 1488, 0, 1, 'test', 'test', '3', 129, 1097028458, 0, '0', 'a:1:{i:0;s:1:\"0\";}', '2/', 'pennywit', '') in /home/editorja/public_html/pennywit/drupal/includes/database.mysql.inc on line 125.

Mailhandler bug fixed

Made changes/upgrades to my mailhandler module and
"Access denied" bug is fixed to be compatible with drupal 4.5R. The discussion started from this post http://drupal.org/node/11239. Please update the cvs accordingly,

-- function mailhandler_menu() {
++ function mailhandler_menu($may_cache) {

global $user;

$items = array();

++ if ($may_cache) {
++ $access = user_access('administer mailhandler');

Which version of Project module is drupal.org using?

I am interested in upgrading from 4.4.2 to 4.5, but cannot really do so unless the project module will work. Drupal.org is using the project module, but there is no 4.5 version listed on the downloads page, so I assume the site is using the CVS version and that it is working satisfactorily...is this correct?

4.5.0 cvs to 4.4.2?

Guess I got too excited about upgrading to 4.5.0. :) I need the image module, but it doesn't seem to be ready for 4.5. Can I reinstall 4.4.2 without messing with the database?

Problems upgrading from 4.4.1 to CVS 2004-09-26

I have a working Drupal installation that uses the 4.4.1 and the xtemplate / pushbutton.

This installation hosts 3 separate domains on one installation, in the same database, but with different prefixes in the conf files.

I tried to upgrade to yesterday (2004-09-26 CVS), and ran into problems.

Here are the steps I did:

  • Created the users_roles and locales_meta tables for each domain
      CREATE TABLE site1_users_roles (
        uid int(10) unsigned NOT NULL default '0',
        rid int(10) unsigned NOT NULL default '0',
        PRIMARY KEY (uid, rid)
      );
      CREATE TABLE site2_locales_meta (
        locale varchar(12) NOT NULL default '',
        name varchar(64) NOT NULL default '',
        enabled int(2) NOT NULL default '0',
        isdefault int(2) NOT NULL default '0',
        plurals int(1) NOT NULL default '0',
        formula varchar(128) NOT NULL default '',
        PRIMARY KEY  (locale)
      );
    

    (same for site2, and site3)

  • Ran the update.php script

At this point, I can browse the site with no problem.

However, when I go into the admin menus and change anything (I tried going into admin/themes and unchecking 'primary links' one time, and tried to remove the path to the logo at another time), and then clock on Save configuration, the site becomes unusable with the following message for any access:

     Fatal error: Maximum execution time of 30 seconds exceeded in /home/myusername/html/includes/menu.inc on line 653

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal