Announcement

Collapse
No announcement yet.

error logging with sc_log if field changed it BLOB

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • error logging with sc_log if field changed it BLOB

    I'm using the standard/default SC logging. When I update a photo field with a photo (db field type is Long BLOB), th error below occurs when the log record is being inserted. This is the field value from the insert statement SC is generated: . $this->Db->qstr($texto)

    Has anyone seen this before? Can I configure not to log this field?
    Ed


    Error Close
    Error inserting:
    Incorrect string value: '\xFF\xD8\xFF\xE1\x10\x82...' for column 'description' at row 1

    Script: C:\Program Files (x86)\NetMake\v8\wwwroot\scriptcase\app\CICProctor \form_proctor_mange\form_proctor_mange_apl.php (1554)

  • #2
    I think this is a bug, because the log can only store text. I'm not sure if you can overcome this except by turning of the log, but I know there's a lot to configure, so I'll check.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks, yes I turned off logging for that table for now.
      Ed

      Comment

      Working...
      X