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.

You do not have access to the directory specified for this field

November 15, 2012 12:59am

Subscribe [2]
  • #1 / Nov 15, 2012 12:59am

    tagtech

    1 posts

    Hello, I’ve searched and read every similar topic in the discussion forums but continue to have trouble with this issue.  I am using EE 2.5.3 w/ latest version of MSM.

    I have a channel field group with 2 file fields.  Each points to a different Allowed Directory.  In Content -> Files -> File Upload Preferences, both are configured with absolute path.

    ** I am able to upload to these directories (from EE) with no issue.
    ** I am logged in as a SuperAdmin.


    When attempting to edit a record in my channel, I do the following:
    1) Click “Add File” in one of the File fields
    2) Choose a previously uploaded file
    3) The record shows a thumbnail of the chosen image using http://www.mysite.com/images/uploads/article-images/_thumbs/mychosenimg.jpg
    4) Click “Submit” to apply the record changes
    5) Page is refreshed with “You do not have access to the directory specified for this field”


    After turning debug on, I see the following message at the top of the content publish form:
    A PHP Error was encountered
    Severity: Notice
    Message: Undefined index: filename
    Filename: libraries/File_field.php
    Line Number: 77

    —also—
    I created an extremely simple channel with a single channel field of type File.  This seems to work OK!!!
    Could this be a problem related to having multiple File fields in a single channel group, maybe?


    Thanks!!!

  • #2 / Nov 16, 2012 1:58pm

    Rob Allen

    3105 posts

    I’ve seen something similar on some servers, try manually CHMOD’ing your _thumbs folder to 777

  • #3 / Nov 16, 2012 2:48pm

    Dan Decker

    7338 posts

    Hi tagtech,

    Let’s get a closer look at this. Be on the lookout for an email from EllisLab!

    Cheers,

  • #4 / Nov 18, 2012 10:10pm

    tagtech

    1 posts

    @bluedreamer:  Thanks, but I’ve already given 777 across the board to determine if this was a simple permissions issue

    @Dan Decker:  I just responded to your email.  LMK what you see.  Thanks!

  • #5 / Nov 20, 2012 5:51pm

    Dan Decker

    7338 posts

    Hi tagtech,

    I didn’t see an email, so I resent the request!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases