Announcement

Collapse
No announcement yet.

OnValidate validating Image...(?)

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

  • #16
    If I use this

    $filename = $this->Ini->root . $this->Ini->path_imag_temp . '/' . $this->NM_ajax_info['param']['fieldname_ul_name'];

    I get an error message when trying to save record

    "Undefined index: fieldname_ul_name"

    I also tried {fieldname} but got the same error. Anyway the record (image) is saved. But the resize script doesn't work.

    Any ideas?

    Comment


    • #17
      Undefined index means you are trying to access an index of an array that doesn't exists. Taking in consideration script works, is not working because you are not pointing to the file. I don't use images stored in database, I'm not sure if fieldname will store the oath to temp file. Vardump the field to know exactly wich value stores
      /Giuseppe

      Professional Scriptcase Services
      Some Customers opinions

      Comment

      Working...
      X