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.

Can upload a file, but not replace?

November 18, 2010 10:20am

Subscribe [3]
  • #1 / Nov 18, 2010 10:20am

    burton.kent

    15 posts

    When I upload a file using the “Upload File” link under Preview / Quick Save / Update buttons, it works fine.  Uploading a replacement file ends with an error: “An error was encountered while attempting to replace the file. Please make sure your file directory is writable.” and the temp file is there named temp_file_filename.ext

    The directory is set to 755, owner myuser, group myuser.  Unix `groups` returns myuser apache.  The file is owned by apache, group apache.

    I don’t see why these permissions wouldn’t work.  Changing permissions to 777 also doesn’t work.

    What should I look into?

    B

  • #2 / Nov 18, 2010 3:58pm

    Ingmar

    29245 posts

    I still think it’s a permission issue. 777 should work (make sure the directory and parent directories are writable, too), otherwise it’s probably an issue with your PHP setup that you’d need to take up with your host.

  • #3 / Nov 19, 2010 11:04am

    burton.kent

    15 posts

    It’s a bug.  I was uploading Somefile.test.pdf.

    Uploaded temp file is named temp_file_Somefile._test.pdf

    Trying to upload it again causes the error. Removing the period allows the file to upload.

  • #4 / Nov 19, 2010 11:41am

    Ingmar

    29245 posts

    Are you logged in as a Superadmin? Also, what version and build of EE are you using?

  • #5 / Nov 19, 2010 11:44am

    burton.kent

    15 posts

    Yes I’m logged in as superadmin.  EE 1.6.9.

  • #6 / Nov 19, 2010 5:56pm

    Sue Crocker

    26054 posts

    Hi, burton.kent. I can replicate this problem with EE1.7.0. I’ve posted a Bug Report in your behalf. Thanks for letting us know about the issue.

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

ExpressionEngine News!

#eecms, #events, #releases