NextGEN Gallery
Default path for galleries not found (6 posts)

  1. Jim Goodrich
    Posted 2 years ago #

    NextGEN Gallery version 1.9.10 at http://alancarterstudio.com

    Changed the default directory for galleries on hosting server from wp-content/gallery/ to wp-content/portfolio/.

    Also changed the Gallery path on the Options page from wp-content/gallery/ to wp-content/portfolio/. Both the directory structure on the Hosting server and the Gallery path on the Options match. whenever trying to upload, receive the error messages:

    "Warning: opendir (XXXX/wp-content/gallery/larger-pieces) [function.opendir]: failed to open dir: No such file or directory in /XXXX/wp-content/plugins/nextgen-gallery/admin/functions.php on line 237"


    "Unable to write to directory /XXXX/wp-content/gallery/larger-pieces. Is this directory writable by the server?"

    CHMOD on the hosting server's folder is 777.

    Any ideas?


  2. DoubleSixx
    Posted 2 years ago #

    Did you re-name via cpanel ?

    I think I tried ages ago to make directories via FTP and nggallery ignored.

    Try re-naming back to gallery. Then use nggallery to create the porfolio gallery. Then use cpanel to copy the directories over to the porfolio directory.

    Finally re-name gallery directory to something else, then make sure the gallery path is correct in the options.

    Good luck.

  3. Jim Goodrich
    Posted 2 years ago #

    I followed your steps as described and I am still receiving the same error messages. Not sure what to try next.

  4. DoubleSixx
    Posted 2 years ago #

    When you rename to gallery are you still able to upload pictures ?

    You made sure to make the new directory using nggallery ?

    Gallery->Add Gallery/ Images

    The error on line 237 of functions.php looks at the directory name. If the directory wasn't created with nggallery I believe the directory will be ignored.

    Good luck.

  5. JimGoodrich
    Posted 2 years ago #

    Thank you for all your help, but all I was able to do successfully was add an unnecessary directory level and have NextGen Gallery recognize it, so I went a different way. Front end and back end path don't match any longer, I'll simply instruct the website owner about the difference.

    Thank you for your help once again DoubleSixx, I really appreciate the help.

  6. DoubleSixx
    Posted 2 years ago #

    Glad you were able to find a resolution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic