wrong path for create new gallery
-
When creating a new gallery, NextGen tries to put the new directory in DocumentRoot (and not under wp-content/gallery like the prior galleries). It throws the error
Could not write to file. Please check filesystem permissions. Filename: /home/www/<site>/galtest
This is the correct path (minus the gallery subdirectory); the attempted path SHOULD be
/home/www/<site>/wp-content/gallery/galtest
After chmod 777 I was able to create the gallery, but it’s in the root now, not even under a main gallery directory. Naturally I can’t leave the perms 777 on DocumentRoot, and I certainly don’t want galleries scattered about–or apart from the existing gallery directories.
Somewhere there’s got to be code to tweak where galleries get placed, but I can’t find it in the plugin edit code. Is it a database flag?
DISCLOSURE: I did recover the site from backups after a server crash, but this is from a backup which I have no reason to doubt is clean. The other plugins work as expected, and I’ve updated everything to latest available.
Any ideas? Thanks for reading
NextGen gallery 2.1.60
Wordpress 4.6.1
Whitehouse Pro themeUbuntu 14.04.3 LTS
apt-get reports latest version on both php and mysql
- The topic ‘wrong path for create new gallery’ is closed to new replies.