unknown
5/18/25

[#8935] MDB2 Error: unknown error
Summary MDB2 Error: unknown error
Queue Ansel
Queue Version FRAMEWORK_3
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester octobre4 (at) wanadoo (dot) fr
Created 03/26/2010 (5532 days ago)
Due 03/26/2010 (5532 days ago)
Updated 03/26/2010 (5532 days ago)
Assigned 03/26/2010 (5532 days ago)
Resolved 03/26/2010 (5532 days ago)
Milestone
Patch No

History
03/26/2010 12:54:41 PM Michael Rubinsky Comment #6
State ⇒ Resolved
Reply to this comment
eh, I should probably have my coffee before I start answering bug reports.

This was caused by the fix for bug 8925, not a duplicate of it.

Fixed for 1.1.1, thanks!
03/26/2010 12:53:29 PM CVS Commit Comment #5 Reply to this comment
Changes have been made in CVS for this ticket:

Fix value of image_faces (again) while creating a new image.
Bug: 8935
Submitted by: octobre4 (at) wanadoo (dot) fr
http://cvs.horde.org/diff.php/ansel/lib/Ansel.php?rt=horde&r1=1.517.2.76&r2=1.517.2.77&ty=u
03/26/2010 12:48:27 PM Michael Rubinsky Comment #4
State ⇒ Duplicate
Reply to this comment
Duplicate of Bug #8925
03/26/2010 12:43:23 PM octobre4 (at) wanadoo (dot) fr Comment #3 Reply to this comment
I have resolved the problem

   replace "$this->facesCount," with "0" in ansel.php line 2424

  and add a ? in prepare('INSERT INTO ansel_images (image_id, 
gallery_id, image_filename, image_type, image_caption, 
image_uploaded_date, image_sort, image_faces, image_original_date, 
image_latitude, image_longitude, image_location, image_geotag_date) 
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)') line 2410. I count   
13 values for 12 ?.

The value was '' for facesCount and the field in the table is on "not null"

[Show Quoted Text - 12 lines]
03/26/2010 12:21:27 PM Michael Rubinsky Assigned to Michael Rubinsky
 
03/26/2010 12:21:14 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Reply to this comment
I can't upload any image.

# There was a problem saving the photo: MDB2 Error: unknown error
# ErrorYou did not select any photos to upload.

I can see the image uploaded in the upload page, i can turn it, 
etc... but when i click on "upload" i have this message
What does the webserver error log and the horde log show?

Are you *sure* you are using the latest FW_3 code? What "upload" page 
are you able to rotate the image on?
03/26/2010 10:45:10 AM octobre4 (at) wanadoo (dot) fr Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ MDB2 Error: unknown error
Due ⇒ 03/26/2010
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I can't upload any image.

# There was a problem saving the photo: MDB2 Error: unknown error
# ErrorYou did not select any photos to upload.

I can see the image uploaded in the upload page, i can turn it, etc... 
but when i click on "upload" i have this message

Saved Queries