We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22279
    • 10 Posts
    Quote from: gracedman at Feb 29, 2008, 04:09 PM
    1) The site cannot be navigated while a download is in progress. No page, not the smallest, simplest text page loads while a download is in process.

    2) Users cannot concurrently download more than one file at a time. I frequently use DownThemAll! with Firefox. It tries to start multiple downloads but only one progresses. Since the others must wait to begin, they eventually time out and fail.
    Thanks for using my plugin. I’m sorry but I think your problem has nothing to do with the plugin itself, but rather PHP/WebServer configuration that allows only 1 or 2 concurrent PHP executions per one client. And those are taken by the plugin, disallowing execution of other page rendering scripts.

    Please let me know what is your webserver (apache, iis, lighttpd?) and php connection type (sapi, cgi, fastcgi?) I’ll have a look what can be done to allow more simultaneous connections.
      • 2912
      • 315 Posts
      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
        • 11190
        • 109 Posts
        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
          http://www.spiritualoutreach.com
          Making Christianity intelligible to secular society
          • 22609
          • 9 Posts
          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
            • 22609
            • 9 Posts
            Nevermind I figured it out. Just changed the
            header(’Content-Disposition: to attachment instead of inline.

            Thanks...
              • 25979
              • 178 Posts
              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 sad

              Regards,

              Mike
                //Why use windows since there is a door?//
                • 22303 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.
                  • 25979
                  • 178 Posts
                  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?//
                    • 16348
                    • 64 Posts
                    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
                      • 36592
                      • 970 Posts
                      Quote from: Kristoffer at May 18, 2008, 03:10 PM

                      My implementation works perfectly with friendly urls on and friendly url paths off.
                      Does your template have this line in the HEAD section ?
                      <base href="[(site_url)]"></base>