I attempted upgraded from RC10 to RC11. Upon running update.php all updates passed except #6214. Please see below results from update.php results page.

filebrowser module
Update #6211

* CREATE TABLE {node_dir_listing} ( `nid` INT unsigned NOT NULL, `folder_path` VARCHAR(255) NOT NULL, `properties` LONGTEXT NOT NULL, PRIMARY KEY (nid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */

Update #6212

* No queries

Update #6213

* CREATE TABLE {node_dir_listing_content} ( `nid` INT unsigned NOT NULL, `fid` INT unsigned NOT NULL auto_increment, `root` VARCHAR(255) NOT NULL, `path` VARCHAR(255) NOT NULL, PRIMARY KEY (fid), UNIQUE KEY nid_fid (nid, fid), UNIQUE KEY fid (fid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */

Update #6214

* Failed: ALTER TABLE {node_dir_listing_content} ADD `root` VARCHAR(255) DEFAULT NULL
* ALTER TABLE {node_dir_listing_content} CHANGE `root` `root` VARCHAR(255) NOT NULL

Comments

briandj62’s picture

I have updated my Drupal website today with drush and I get the same error:

You have pending database updates. Please run `drush updatedb` or visit update.php in your browser.          [warning]
The following updates are pending:

 filebrowser module               
 6211 - description not available 
 6212 - description not available 
 6213 - description not available 
 6214 - description not available 

Do you wish to run all pending updates? (y/n): y
CREATE TABLE {node_dir_listing} (                                                                            [success]
...
 

CREATE TABLE {node_dir_listing_content} (                                                                    [success]
`nid` INT unsigned NOT NULL, 
`fid` INT unsigned NOT NULL auto_increment, 
`root` VARCHAR(255) NOT NULL, 
`path` VARCHAR(255) NOT NULL, 
PRIMARY KEY (fid), 
UNIQUE KEY nid_fid (nid, fid), 
UNIQUE KEY fid (fid)
) /*!40100 DEFAULT CHARACTER SET UTF8 */
ALTER TABLE {node_dir_listing_content} ADD `root` VARCHAR(255) DEFAULT NULL                                  [error]
ALTER TABLE {node_dir_listing_content} CHANGE `root` `root` VARCHAR(255) NOT NULL                            [success]
PHP Fatal error:  Unsupported operand types in /var/www/html/drupal/sites/all/modules/content_profile/content_profile.module on line 80

Fatal error: Unsupported operand types in /var/www/html/drupal/sites/all/modules/content_profile/content_profile.module on line 80
Drush command could not be completed.                                                                        [error]

Since then, I get a lot of these warnings when trying to list a directory listing:

# warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal character encoding specified in /var/www/html/drupal/sites/all/modules/filebrowser/filebrowser.common.inc on line 287.

I have tried to rebuild the drupal database both with drush and from using update.php and I have also restarted the MySQL and Apache servers, but the warnings remain.

antix’s picture

I had the same issue. I found that editing/saving the directory listing made the errors no longer appear on the page.

Yoran’s picture

Status: Active » Fixed

Normally fixed even if this will not be usefull for next rc

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.