Can't you tell us where were these two folders ?
and what do you have as advanced config in local/config/config.inc.php ?
Offline
Sure.
in my case:
/var/cache/www/piwigo/download_archives
/var/lib/piwigo/web/_data/download_archives
Where the second one is now a symlink to the first one, which works fine.
Maybe the reason was some updating issue, I don't know.
As far as I know, I did nothing special to my config.
Addition: This once was an install as Ubuntu package. As there is no piwigo package anymore, I just updated it.
Last edited by Apollo0815 (2015-01-06 19:56:21)
Offline
The same one function is used to get ZIP path in the plugin
and it always correspond to
PHPWG_ROOT_PATH . $conf['data_location'] . 'download_archives/'
your problem has nothing to do with the plugin I guess
Offline
I was not telling you I have a problem with the plugin, I was telling the original poster how he might solve his :)
By the way, in download.php where the exception is thrown: Why not just tell the user (or at least the admin which file he is unable to locate?
I modified that for me to debug the stuff and find out what happens:
throw new Exception('Unable to locate file.'.$BatchDownloader->getArchivePath($_GET['zip']));
And by the way: Your root constant is just '../../' which might differ if there are links involved :)
Last edited by Apollo0815 (2015-01-12 11:15:32)
Offline
Still it's a bug, one should not have to add symlinks
Offline