ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Undefined index: safecracker_upload_dir

June 21, 2011 6:59am

Subscribe [2]
  • #1 / Jun 21, 2011 6:59am

    vfalconi

    4 posts

    I set a Matrix fieldtype to SafeCracker File and I was met with the following PHP errors:

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: safecracker_upload_dir

    Filename: safecracker_file/ft.safecracker_file.php

    Line Number: 351

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at [server-path-redacted]/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 765

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at [server-path-redacted]/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 391

    EE 2.1.5 Beta.

    Any ideas?

  • #2 / Jun 21, 2011 9:30am

    Sue Crocker

    26054 posts

    Hi, Vince.

    Brandon is working on a newer version of Matrix so it will work with EE 2.2.0 when it is released tomorrow. You may want to contact him directly.

  • #3 / Jun 21, 2011 4:00pm

    vfalconi

    4 posts

    Sue,

    1) the errors aren’t occuring in anything Brandon has written.
    2) when i made a test field, to see if it was specific to SafeCracker occurring in Matrix, i got the following error when i went to publish an entry:

    Fatal error: Cannot access private property EE_Loader::$_ci_view_path in /[server-path-redacted]/expressionengine/third_party/safecracker_file/ft.safecracker_file.php on line 557

    -vince

  • #4 / Jun 22, 2011 2:36pm

    Sue Crocker

    26054 posts

    Hi, Vince. The problem is in the interaction between the two.

    EE 2.2.0 was just released, and Brandon posted that 2.2.2 is out for Matrix. You’ll need to upgrade both.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases