Thanks for the post OnO.
I did have a quick look at things and you can, for what it’s worth, start a download and then start a new instance of a web browser and surf the same web site. You just can’t surf using the same browser that is downloading a file. (You can start a new tab in FF and it will work the same as explained).
My way of thinking is that the plugin runs but the plugin code doesn’t complete until the download has finished which is when the web browser is relinquished and surfing can continue.
BBloke
Thank you, OnO. That makes sense. It is hosted on 1and1 so I have limited information. It is Apache and this is what I could see from the manager interface regarding PHP:
Configure Command ’../configure’ ’--with-pear=/usr/lib/php’ ’--prefix=/usr’ ’--with-mysql=/usr/’ ’--with-zlib’ ’--enable-debug=no’ ’--enable-safe-mode=no’ ’--enable-discard-path=no’ ’--with-gd’ ’--with-png-dir’ ’--enable-track-vars’ ’--with-db’ ’--with-gdbm’ ’--enable-force-cgi-redirect’ ’--with-ttf’ ’--enable-ftp’ ’--with-mcrypt’ ’--enable-dbase’ ’--enable-memory-limit’ ’--enable-calendar’ ’--enable-wddx’ ’--with-jpeg-dir’ ’--enable-bcmath’ ’--enable-gd-imgstrttf’ ’--enable-shmop’ ’--enable-mhash’ ’--with-mhash’ ’--with-openssl’ ’--enable-xslt’ ’--with-xslt-sablot’ ’--with-dom’ ’--with-dom-xslt’ ’--with-dom-exslt’ ’--with-imap’ ’--with-curl’ ’--with-iconv’ ’--with-freetype-dir’ ’--with-bz2’ ’--with-gettext’ ’--enable-exif’ ’--with-idn’ ’--enable-mbstring=all’ ’--with-kerberos’ ’--with-imap-ssl’ ’--with-sqlite’ ’--with-zip’
Server API CGI
I have access for a little longer to an apache server over which I have complete control if you’d like me to test your code. While working on this issue, would it be possible to also count the downloads only if they have completed? Thanks for plugin. It is somethine we would very much like to use - John
Any Way to make the file not load in the browser window.. I want a dialog box to say Open or Save File, instead of opening the file?
Did I miss anything in the setup?
Thanks in advance
Nevermind I figured it out. Just changed the
header(’Content-Disposition: to attachment instead of inline.
Thanks...
Hi, I tried to use the plugin, but... when I installed my page was giving error 500 to every bot ... and not only. In browser it was everything ok.
When I looked into logs i saw
syntax error, unexpected '<'
. There are only three ’<’ in plugin code, but for me it seems ok. Can you have look at this? It doesn’t work for me
Regards,
Mike
//Why use windows since there is a door?//
-
MODX Staff
- 10,725 Posts
Are you sure this is not another plugin with the error. I think there was a syntax error in the distributed version of 0.9.6.1p2 the first few days it was up. Check the Syntax Highlighter plugin to see if this is causing the invisible 500 error.
Logs named the plugin as cause of errors. When i removed plugin my site worked again just fine.
Regards,
Mike
//Why use windows since there is a door?//
Hello
Is it possible to use FileDownload/FileDowloadPlugin with Friendly Url Paths turned on? My implementation works perfectly with friendly urls on and friendly url paths off.
Thanks in advance
Kristoffer