Dobrý den,update jádra Drupal 7 (na aktuální 7.20) a všech modulů proběhl v pořádku (žádné chybové hlášky, vše OK)přesto nyní nelze vložit jistý obsahový typ a zobrazuje se chyba viz screenshot.
Netušíte, jak tento problém řešit a odstranit?
PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'field_image_width' at row 1: INSERT INTO {field_data_field_image} (entity_type, entity_id, revision_id, bundle, delta, language, field_image_fid, field_image_alt, field_image_title, field_image_width, field_image_height) 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] => node [:db_insert_placeholder_1] => 980 [:db_insert_placeholder_2] => 1000 [:db_insert_placeholder_3] => himuesgallery [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => cs [:db_insert_placeholder_6] => 937 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => [:db_insert_placeholder_9] => [:db_insert_placeholder_10] => ) ve funkcifield_sql_storage_field_storage_write() (řádek: 448 v souboru/var/jail/home/web2/home/modules/field/modules/field_sql_storage/field_sql_storage.module)
Bohužel, vyprázdnění cache nepomohlo.
Nelze uložit ani "dekorační ikonu" jako image field.
- Warning: filesize(): stat failed for public://drupal7_pdoexception.png ve funkci file_save() (řádek: 570 v souboru/var/jail/home/web2/home/includes/file.inc).
General error chyba zůstává stejná.
- PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'field_image_width' at row 1: INSERT INTO {field_data_field_image} (entity_type, entity_id, revision_id, bundle, delta, language, field_image_fid, field_image_alt, field_image_title, field_image_width, field_image_height) 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] => node [:db_insert_placeholder_1] => 982 [:db_insert_placeholder_2] => 1002 [:db_insert_placeholder_3] => himuesgallery [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => cs [:db_insert_placeholder_6] => 941 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => [:db_insert_placeholder_9] => [:db_insert_placeholder_10] => ) ve funkcifield_sql_storage_field_storage_write() (řádek: 448 v souboru/var/jail/home/web2/home/modules/field/modules/field_sql_storage/field_sql_storage.module)
Zkus vypnout modul Message Example. Nebo pokračuj na http://drupal.org/node/1807532
ale mě pomohlo opravení přístupů k právům a souborům.
P.S. Vařím z vody, ale někdy i hlupák poradí :-)))
Dlužím odpoved, jak se to vyresilo:
Slovo "reseni" neni to vhodné, ale je v přenastavení "image" (dekor. obrázek) pro ukládání jako private (!!)... nevím proč, ale prostě to zafungovalo.
Zkuste vyprázdnit cache.