I just had to disable this module in the database because the modules page was dead because of the PDO exception.
PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'description' at row 1: INSERT INTO {enabled_modules_system} (filename, name, description, package, version, core, project, datestamp, dependencies, dependents, php) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10); Array
(
[:db_insert_placeholder_0] => sites/all/themes/omega/starterkit_xhtml/omega_starterkit_xhtml.info
[:db_insert_placeholder_1] => Omega XHTML Starter Kit
[:db_insert_placeholder_2] => XHTML Starterkit for <a href="http://himer.us/omega960"><strong>Omega</strong></a>. Make a copy of this subtheme to get started building your own <strong>Omega</strong> theme. For help see our <a href="http://himer.us/omega960"><strong>documentation</strong></a> and <a href="http://himerus.com"><strong>video</strong></a> tutorials. If you have a problem and need additional support please use the <a href="http://drupal.org/project/issues/omega"><strong>issue queue</strong></a>. Don't forget also to download and enable the <a href="http://himer.us/delta-module"><strong>Delta</strong></a> module for contextual layouts.
[:db_insert_placeholder_3] =>
[:db_insert_placeholder_4] => 7.x-2.1
[:db_insert_placeholder_5] => 7.x
[:db_insert_placeholder_6] => omega
[:db_insert_placeholder_7] => 1299009669
[:db_insert_placeholder_8] => N;
[:db_insert_placeholder_9] => N;
[:db_insert_placeholder_10] => 5.2.4
)| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 1182362-11.patch | 565 bytes | juliangb |
| #8 | em--1182362-7.patch | 1.04 KB | juliangb |
| #6 | em--1182362-6.patch | 1.04 KB | juliangb |
| #5 | em--1182362-5.patch | 1.03 KB | juliangb |
| #4 | em--1182362-4.patch | 1.05 KB | juliangb |
Comments
Comment #1
juliangb commentedI'll expand that field, thanks for reporting.
But it'd also be worth pointing the theme maintainer that http://drupal.org/node/171205#description calls the description field a "A short description of the theme"! That description seems to be >600 chars.
Comment #2
juliangb commentedNeeds testing.
Comment #3
juliangb commentedRevised patch without trailing whitespace.
Comment #4
juliangb commentedChanges for D7 in db_change_field.
Comment #5
juliangb commentedFix error with blobs/default values.
Comment #6
juliangb commentedCommitted for Drupal 7.
Patch for Drupal 6.
Comment #7
juliangb commentedRemoved whitespace.
Comment #8
juliangb commented(Patch)
Comment #9
juliangb commentedCommitted to D6.
Comment #10
eric_a commentedThe D7 function should not return an array...
Comment #11
juliangb commentedAh yes, that's changed for D7 (http://drupal.org/node/224333#update_sql).
Didn't cause an error when I tested, but we should correct it anyway.
Patch attached.
Comment #12
eric_a commentedRTBC for #11. (I really don't know what exactly is going on with the different (new and changed) D6 update functions for D7 and D6 in #5 and #6. But those have been committed already anyway.)
Comment #13
juliangb commentedThanks for reviewing. I've committed #11.
The previously committed patches simply increase the length of the database field to fit a longer description field.
Comment #14
esmerel commentedIn case anyone else runs into this:
I ran into this problem (didn't check the queue before installing), and had to disable the module manually in the database. I also had to manually truncate cache/cache_bootstrap (I assume bootstrap was the one I really had to do), and one of the two enabled me to get back to the modules page. I wasn't able to even though the module had been disabled.
Comment #15
juliangb commentedDid you try upgrading to the -dev release?
Considering the problems this causes, I'll push another point release when I get a chance (was hoping to have a few more changes but haven't had time yet).