URL(s)

https://drupal.org/node/1145840/edit

Problem

Error page when trying to save the Subprofiles project page.

Steps To Reproduce

  • Log in as nedjo (Subprofiles project owner).
  • Visit https://drupal.org/node/1145840/edit.
  • Scroll to bottom page and click "Save".
  • Result: page with the following error message: "Error: The website encountered an unexpected error. Please try again later."

Comments

jthorson’s picture

Associated Errors:

Location: https://drupal.org/files/styles/thumbnail/public/images/subpro.png?itok=Bn9Ldxam
Error (3x): Unable to generate the derived image located at public://styles/thumbnail/public/images/subpro.png.

and

Invalid datetime format: 1366 Incorrect integer value: '' for column 'field_project_images_width' at row 1: INSERT INTO {field_data_field_project_images} (entity_type, entity_id, revision_id, bundle, delta, language, field_project_images_fid, field_project_images_alt, field_project_images_title, field_project_images_width, field_project_images_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] => 1145840 [:db_insert_placeholder_2] => 6809123 [:db_insert_placeholder_3] => project_module [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => und [:db_insert_placeholder_6] => 4124310 [:db_insert_placeholder_7] => Subprofiles configuration--select a subprofile and then select which of its features to enable [:db_insert_placeholder_8] => [:db_insert_placeholder_9] => [:db_insert_placeholder_10] => ) in field_sql_storage_field_storage_write() (line 451 of /var/www/drupal.org/htdocs/modules/field/modules/field_sql_storage/field_sql_storage.module).

Looks like there is an issue with the image generation ... in the meantime I suspect removing the subpro.png image link will allow you to properly save the node (not a 'fix', per se, but a potential workaround).

jthorson’s picture

Status: Active » Needs review

It appears that the subpro.png file being referenced does not actually exist on the server ... not sure how this happened, but I suspect uploading a new version would fix the image generation and still allow you to keep the project image.

nedjo’s picture

Status: Needs review » Fixed

@jthorson: thanks! I've deleted the image and successfully saved. I'll generate and upload a new image.

Status: Fixed » Closed (fixed)

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