Announcement

#16 2014-12-10 20:59:13

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Issues with Batch Downloader plug

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

 

#17 2015-01-06 19:54:33

Apollo0815
Member
2014-12-09
3

Re: Issues with Batch Downloader plug

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

 

#18 2015-01-06 20:22:40

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Issues with Batch Downloader plug

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

 

#19 2015-01-12 11:01:22

Apollo0815
Member
2014-12-09
3

Re: Issues with Batch Downloader plug

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

 

#20 2015-01-12 11:09:54

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Issues with Batch Downloader plug

Still it's a bug, one should not have to add symlinks

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact