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 issue: Field 'router_path' doesn't have a default value ... in menu_link_save()

Scenario:

I have a Drupal 7.0 site running in Aegir. I was in the process of updating a number of modules (CTools, Views, Views Infinite Scroll Calendar and Date) and adding the Panel Module when something went wrong and I started getting the error at the bottom. The Panels items don't show up in the structure menu making Panels unusable.

Initially I had the wrong permissions on the files but did the correct chown and chmod commands to get them right. I have tried installing and uninstalling Panels and trying different versions and the nothing will add the menu items, and as far as I can tell nothing CTools related will be added to the drupal menus anymore.

Interestingly: this is happening on the live site but not the stage site, since they are running in the same Aegir platform most of the code is shared the only differences (that I can tell) between the two sites are:

- the content
- the stage site has the developer and Kaltura modules installed
- few .back files in the themes directory.
- the stage site had the Panels 7.x3.0-alpha2 Panels installed already when I added the Alpha3 release.

The stage site received the same updates as I upgraded the platform in Aegir without issues.

Full Error Message:

Profile Module

I am new to drupal I have modified fields of default from with profile module in drupal 6.. now I want to migrate profile fields and database to D7...

MU instalation - sharing tables

Hi. I would like to know if my tables (variables) will be upgraded 2x when Im gona upgrade drupal and my sites.

I have 1 codebase - 1 drupal installation and few sites in drupal/sites/ directory. All sites has it's own subdomains and domains and all have their own databases. But I have some tables i share: USERS, ROLE, AUTHMAP, SESSIONS.

So when I upgrade drupal it will upgrade one database, ok. Now i run update.php on second site when i share some tables in databse - the question is, will USERS, ROLE, AUTHMAP, SESSIONS be upgraded again ?

EXAMPLE:

1 base (drupal.sql)

$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'drupal',
'username' => 'root',
'password' => 'pass',
'host' => '127.0.0.1',
'port' => '',
'driver' => 'mysql',
'db_prefix' => '',
),
),
);

2 baza (drupal2.sql)

$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'drupal2',
'username' => 'root',
'password' => 'pass',
'host' => '127.0.0.1',
'port' => '',
'driver' => 'mysql',
'db_prefix' => array(
'default' => '',
'users' => 'drupal.',
'sessions' => 'drupal.',
'role' => 'drupal.',
'authmap' => 'drupal.',
),
),
),
);

3 base (drupal3.sql)

$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'drupal3',

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146

This happens when I tryed to upgrade from 6.22 to 7.2

I cannot use update.php because it's white and blank and when I write my websites address this error message will be there.

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DBNAME.blocked_ips' doesn't exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array ( [:ip] => XXX.XX.XX.XXX ) in drupal_is_denied() (line 1657 of /home/username/public_html/drupal/includes/bootstrap.inc).

publishing option is not showing in the content edit mode

publishing option no longer appears on the content editing screen

PHP Notices and warnings after upgrade from 7.0 to 7.2

Hello,

Since I updated Drupal to 7.2 I have those Warning/Notice on my homepage:

Notice : Undefined offset: 435 dans file_field_prepare_view() (ligne 201 dans /homez.40/anjouspoh/www/modules/file/file.field.inc).
Warning : Invalid argument supplied for foreach() dans file_field_prepare_view() (ligne 201 dans /homez.40/anjouspoh/www/modules/file/file.field.inc).
Notice : Undefined offset: 435 dans file_field_prepare_view() (ligne 207 dans /homez.40/anjouspoh/www/modules/file/file.field.inc).
Warning : array_values() [function.array-values]: The argument should be an array dans file_field_prepare_view() (ligne 207 dans /homez.40/anjouspoh/www/modules/file/file.field.inc).

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal