Closed (fixed)
Project:
Weight
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2013 at 21:11 UTC
Updated:
5 Mar 2013 at 16:35 UTC
I used plupload to upload a few photos to my first gallery. The descriptions all had ".jpg" at the end, so I deleted them. When I hit Save, I got the first attached screenshot, reading thusly:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=99&op=do StatusText: Service unavailable (with message) ResponseText:
I get the same thing if I only change a single photo, if I do a different kind of change like a rotation, or anything.
The error page it links to is completely unhelpful; see the second attached screenshot.
The error log on the server knows nothing of any of this.
What's going on?
| Comment | File | Size | Author |
|---|---|---|---|
| Error page linked to from there | 118.73 KB | lanny heidbreder | |
| Initial error that comes up | 34.26 KB | lanny heidbreder |
Comments
Comment #1
lanny heidbreder commentedThis happens on the latest dev version as well.
Comment #2
lanny heidbreder commentedI couldn't even edit the titles of the Gallery Item nodes if I went to individual ones. But I did finally look at Drupal's log, where every time I had tried to change a Gallery Item node, I got this error:
> PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'weight' at row 1: INSERT INTO {weight_weights} (entity_id, entity_type, weight) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 493 [:db_insert_placeholder_1] => node [:db_insert_placeholder_2] => ) in _weight_set_weight() (line 434 of /var/www/vhosts/whiteriver/httpdocs/sites/all/modules/weight/weight.module).
So, it was a conflict with the Weight module. I went to both of Node Gallery's content types and resaved their settings. This convinced them that Weight was indeed turned off on both of them, and now everything works swimmingly.
Moving this to Weight's queue. Perhaps this happens with any module that adds content types without the user visiting the Content Type settings screen?
Comment #3
davisbenThis looks like the same error from #1922808: Incorrect integer value: '' for column 'weight' at row 1. Could you try the latest 7.x-2.x?
Comment #4
lanny heidbreder commentedWell, the first time I fixed this problem I didn't need to, but when I took the new content type live it happened again and the old fix didn't work. Upgrading to 7.x-2.x-dev did work. Thanks!
Comment #5
lanny heidbreder commented