Hi,
I would like to use FileDownload with filedownloadplugin, but here the problems which I encounter: if the call in my TV is: /home/www/1263ae0777d4b1e0614a6d52b51e5e45/web/modx/assets, and I like to download a photo in assets/images, the downloading does not start and I fall back to the root path: / (assets)
But if I set the FileDownloadFolder TV to: assets, I’m facing the following error when I try to download the photo:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: set_time_limit() has been disabled for security reasons
Error type/ Nr.: Warning - 2
File: /home/www/1263ae0777d4b1e0614a6d52b51e5e45/web/modx/manager/includes/document.parser.class.inc.php(724) : eval()’d code
Line: 154
Parser timing
MySQL: 0.0358 s (60 Requests)
PHP: 0.1328 s
Total: 0.1686 s
I tested that with and without Friendly url’s, the problem is the same and this is appening only when I click for download, I mean that for the rest is going well, it is possible to browse the folders etc..., euhhh no I dont see the delete link even if I’m logged in as "Formation" web group user, but not so important at the moment !
here is my snippet call:
[!FileDownload? &getFolder=`assets` &browseDirectories=`1` &dateFormat=`d-m-Y` &downloadGroups=`Formation` &useDbCount=`0` &tplList=`FileDownloadTpl` &imgLocat=`assets/snippets/filedownload/images` &imgTypes=`fdimages` &browseDirectories=`1` &includeFileSize=`1`!]
If I take off the &getFolder parameter it change nothing, I suppose because the path is allready in the TV’s parameter
I’m using modx 0.9.6-RC1, FileDownload 2.5 and FileDownloadPlugin 1.2
Someone has got an Idea about that ?
And sorry for my terrible English, hope you can anderstand my message