WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Unable to write to directory . Is this directory writable by the server?

[Plugin: NextGEN Gallery] Unable to write to directory . Is this directory writable by the server?

  • I want to allow other users to upload images into galleries. I have used Role editor to give the appropriate access.

    I have used chmod to give/check file access permissions. Even when set to 777 other users still get this message:

    Unable to write to directory . Is this directory writable by the server?

    I have read this may a file ownership issue. Any suggestions as to how I can let other non admin users upload to galleries.

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • By reinstalling 1.8.4 I can get the functionality back, so looks like a bug introduced by 1.9.0 or 1.9.1

    I found the problem in function upload_images
    located in wp-content/plugins/nextgen-gallery/admin/functions.php

    Problem is in $gallery->abspath property. The value is missed suddenly time of time…

    I solved the problem by adding the code
    $gallery->abspath = WINABSPATH . $gallery->path;
    before first occurance
    $dest_file = $gallery->abspath . '/' . $filename;
    in the function’s code.

    May be helpful for you too! ))

    Fix worked great for me skyalex – Thanks for the help as I was going nowhere

    Thanks for this fix.

    I’ve also found that in updates since 1.8.4 that using the flash upload does not work for non-admin posters, though they have permission. It says “HTTP: Error”.

    Any fix for this?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NextGEN Gallery] Unable to write to directory . Is this directory writable by the server?’ is closed to new replies.