My Zeninstall works if I leave external_album_folder set to NULL, but I'd really like my photos outside the software directory. I left "album_folder" set to the default "/albums/" and changed external_album_folder to point to a directory writable by the apache user. When I have this set and I upload photos they seem to upload ok, but never show up in the album or gallery, they only show up in the cache. I'm not getting any errors in error_log, it just seems to drop the new albums and images into bit bucket
Specifically the settings I have are:
$conf['album_folder'] = '/albums/';
$conf['external_album_folder'] = '/var/www/data/zenphoto';
And zenphoto is writable.
Thanks,
-pdm
Comments
$conf['external_album_folder'] = '/var/www/data/zenphoto';
is invalid (it needs to be $conf['external_album_folder'] = '/var/www/data/zenphoto/';) , well it works but it is not what you would expect. It creates zenphototest zenphototesting zenphotofoo folders. Added on a trailing / and it works now. Without the trailing slash the images never showed up on the web page though, so one part of the code must be assuming that is a directory path, and another part, not checking for trailing slash is using it as a prefix.
You may want to add a check for that, I think the without slash behavior is unexpected.
Thanks,
Done and checked in to SVN.