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.

SafeCracker File Field Issue

October 05, 2011 3:28pm

Subscribe [2]
  • #1 / Oct 05, 2011 3:28pm

    Jeremy E

    5 posts

    I have been going over this and over this. I have tried a number of posted examples but I cannot get my SafeCracker File Field input to show. I did a security update not long ago. It worked before that.  Shortly after I got emails from people saying they could not upload.

    I am sure it is something simple but the safecracker_file field is not well documented. I tried a few examples that I found searching here but they do not work either. safecracker file field is enabled. EE 2.2.2. All fields show except file

    Here’s what I have.


    {exp:safecracker include_jquery="no" safecracker_head="no" channel="recordings" return="recordings/" }
      <div class=“field 1”>Title:  <input name=“title” type=“text” /></div>
      <h4 class=“42”>Add a Web Link</h4>
      <div class=“field 2”>
      Web Link:   <input type=“text” name=“rec_link”/>
      </div>
      <h4 class=“42”>Or Add a File</h4>
      <div class=“fileField”>
        {custom_fields}
        {if safecracker_file}
          {display_field}
        {/if}
            {/custom_fields}
            </div>
        <input type=“submit” value=“Submit” />
    {/exp:safecracker}

  • #2 / Oct 06, 2011 10:52am

    Mark Bowen

    12637 posts

    Hi Jeremy,

    When you say you performed a security update do you mean an update to your ExpressionEngine version or a server update?

    With the Safecracker File field does it exhibit this behaviour for everyone or just certain members?

    Have you checked the File Upload permissions Content > Files > File Upload Preferences > Edit (Your Upload Destination) to see if the member groups that you wish to have access to upload are selected there?

    Also do you receive any errors, Javascript or otherwise in your browser which might help to narrow this one down?

    Thanks,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases