I downloaded 2.0b11, unpacked it to a new directory as a test installation, copied over settings.php and changed it to use a copy of my b10 database, copied over a few custom modules, copied over my b10 users "files" directory, and attempted to run update.php using the update_free_access = TRUE option. It appeared to work, updating around 57 things until towards the end it reported the following errors:
warning: reset() expects parameter 1 to be array, null given in /DocumentRoot/eportfolio-b11/update.php on line 313.
warning: array_pop() expects parameter 1 to be array, null given in /DocumentRoot/eportfolio-b11/update.php on line 313.The update process was aborted prematurely while running update # in .module. All errors have been logged.
After running it a second time, there were still 12 things needing an update, but it failed for the same error. Attempting a third update resulted in zero updates needed but failed again for the same error.
Next, I tried setting $update_free_access = FALSE and attempting to run update.php while logged in as the site administrator. This produced the following errors:
warning: mb_substr() expects parameter 1 to be string, array given in /DocumentRoot/eportfolio-b11/includes/unicode.inc on line 478.
warning: mb_substr() expects parameter 1 to be string, array given in /DocumentRoot/eportfolio-b11/includes/unicode.inc on line 478.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /DocumentRoot/eportfolio-b11/includes/database.mysqli.inc on line 329.The block Creative Commons Node License was assigned to the invalid region content and has been disabled.
The block Creative Commons Node License was assigned to the invalid region content and has been disabled.
The block Creative Commons Node License was assigned to the invalid region content and has been disabled.
In the end, all four attempts at updating resulted in an "inconsistent" database schema with 2 extra tables, 1 module with missing tables, 1 module with mis-matching tables and a home page that lists URLs for user-sites as "https://myserver.edu/eportfolio-b11/node/5" that no longer load user-sites. Is there an important step somewhere that I missed? thanks for any suggestions.
Comments
Hi, there's an open issue
Hi,
there's an open issue reported on the OpenScholar project page at http://drupal.org/node/1203828, regarding the same subject. Take a look into it and see if it helps you. I experienced some problems also, although different from the ones you're reporting... still waiting for some feedback on that too.
Rolando Isidoro