PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Upload folder is not writable. Export and file upload features will not be func

  1. i get a Upload folder is not writable. Export and file upload features will not be functional. error and i have the directory from httpdocs to uploads set as 755 and tried 777. i am on a plesk system.

    when i alter the error code to get more details i get the following. any ideas on help?
    a:1:{s:5:"error";s:138:"Unable to create directory /var/www/vhosts/domainname.com/httpdocs/wp-content/uploads/2009/11. Is its parent directory writable by the server?";} Upload folder is not writable. Export and file upload features will not be functional.

    Posted 15 years ago on Wednesday November 25, 2009 | Permalink
  2. It looks like your upload settings are not correct. Take a look at the WP's Settings -> Miscellaneous page and make sure your upload folder is set to wp-content/uploads

    Posted 15 years ago on Thursday November 26, 2009 | Permalink
  3. Appreciate it. I was going nuts. This solved my issue. For some reason the default upload path was overwritten with something else.

    Posted 14 years ago on Friday September 3, 2010 | Permalink
  4. Brad
    Member

    Hi,

    I'm getting the same error message, "Upload folder is not writable. Export and file upload features will not be functional."

    I've added 'wp-content/uploads' under Upload Files in the Settings > Media section.

    My installation versions are:

    PHP Version: 5.2.6
    MySQL Version: 5.0.77
    WordPress Version: 3.0.1
    Gravity Forms Version: 1.4.4

    Support License Key has been activated.

    My /wp-content directory permissions are set to 755.
    My /wp-content/uploads directory permissions are set to 755.

    I didn't see a /gravity_forms directory get created (I read about that in another post), so I created one and set permissions to 755 as well, but I still get the error message.

    Thoughts?

    Thanks in advance for any assistance you can provide.

    Brad

    Posted 14 years ago on Tuesday November 2, 2010 | Permalink
  5. If you have PHP Safe Mode turned ON then this can cause all sorts of problems with plugins being able to write files and create folders. So if Gravity Forms can't create a file or the upload folder and you have permissions set properly it's probably a PHP Safe Mode issue.

    Posted 14 years ago on Tuesday November 2, 2010 | Permalink
  6. Brad
    Member

    Resolved. PHP Safe Mode was on! ARGH!

    Great plugin, btw.

    Thanks, Carl!

    Posted 14 years ago on Wednesday November 3, 2010 | Permalink
  7. Jeff
    Member

    I am running GF v.1.5.beta1 and get the same error. If I deactivate the plugin, the error goes away. I am running:

    PHP Version 5.2.13
    MySQL Version 5.1.48
    WordPress Version 2.9.2
    Gravity Forms Version 1.5.beta1

    From my server admin: "we are running mod_fcgi + php cgi". (I hope you know what that means, I sure don't).

    More from my server admin: "as to safe mode, it isn't something that I've ever explicitly set, but if there is a setting he'd suggest I check and potentially disable, that's cool ... I just don't know what setting it is"

    If I drop down to v.1.4.4, the error remains.

    FWIW, I have multiple other sites on the same VPS with GF installed and don't have this issue with any of them.

    Jeff

    Posted 14 years ago on Friday November 12, 2010 | Permalink
  8. Jeff
    Member

    Does anyone have any thoughts on the matter?

    Posted 14 years ago on Saturday November 13, 2010 | Permalink
  9. Jeff,
    The problem is that your /wp-content/uploads folder is not writable, which means Gravity Forms and WordPress can't upload a file into that folder. One thing you can do is take a look at the WP Settings -> Miscellaneous page and make sure your upload folder is set to "wp-content/uploads". If it is and you still see that message, you will need to talk to your hosting people to allow write access to that folder.

    Posted 14 years ago on Saturday November 13, 2010 | Permalink
  10. Jeff
    Member

    Thanks for your reply, Alex. The folder is in fact writable, 777 in fact.

    As noted, the error goes away when I deactivate Gravity Forms. Other access to the /uploads folder works just fine.

    And, in settings, it is set to save to /uploads.

    Still searching ...

    Jeff

    Posted 14 years ago on Saturday November 13, 2010 | Permalink
  11. Jeff,
    Try changing the settings to /wp-content/uploads and see if that helps.
    If not, I will need to take a closer look. I will need a WP admin and FTP login. If you can send that to alex@rocketgenius.com, I will be able to see what is going wrong.

    Posted 14 years ago on Saturday November 13, 2010 | Permalink
  12. Jeff
    Member

    Thanks Alex, actually, [Settings > Misc] was:

    /home/stonecro/public_html/wp-content/uploads

    I changed it to:

    /wp-content/uploads

    with no effect, but thanks for the idea.

    I would be grateful if you could take a look, I sent ftp and wp admin details via email.

    Jeff

    Posted 14 years ago on Sunday November 14, 2010 | Permalink
  13. I had an extra slash in the beginning. It should be "wp-content/uploads"

    Posted 14 years ago on Sunday November 14, 2010 | Permalink
  14. Jeff
    Member

    This was resolved by Alex, I am embarrassed at the cause, I should have caught by comparing other implementations. Sorry about that Alex!

    From Alex via email:

    "I think I got it straight. Your upload folder on the WP settings page seemed to be causing the problem. It had a full path to the upload folder when a relative path is expected. I changed it to "wp-content/uploads" and the error went away.
    I also created a test form with an upload field and it uploaded the file without a problem."

    Simple, was right in front of me.

    I must say, if you are reading this and thinking about this plugin for purcha, there are only a handful of developers and service providers on the net I can say this about, but Gravity Forms, the whole team, which seems to be growing, is amazing, from support and solutions to fantastic implementations, I can't imagine using Wordpress without Gravity Forms.

    Thanks Alex!

    Jeff

    Posted 14 years ago on Monday November 15, 2010 | Permalink