• Resolved bobo8

    (@bobo8)


    When I downloaded a zip file (other types works) form page with file-away shortcode, then inside (at the the begin) of this downloaded file was added:
    time limit has been disabled for security reasons in …\wp-content\plugins\file-away\lib\cls\class.fileaway_downloader.php on line 34.
    When I removed this line 34, then the download of zip files worked. Is any better solution? I can’t change php.ini – webhosting.

    Shortcode:
    [fileaway sub=”xx” type=”table” datelabel=”Datum” filenamelabel=”Název” searchlabel=”Hledat” bulkdownload=”on” mod=”no” textalign=”left” thumbnails=”permanent” thumbstyle=”widesharp” directories=”on”]

    https://www.ads-software.com/plugins/file-away/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author thomstark

    (@thomstark)

    Maybe turn off error reporting and try the download again.

    Thread Starter bobo8

    (@bobo8)

    I have off the WordPress debug – define(‘WP_DEBUG’, false);
    I didn’t find where to turn off error reporting in File Away.
    Which error reporting do you suggest to set off?

    Plugin Author thomstark

    (@thomstark)

    On your server. Just a suggestion. That message in the file is coming from somewhere, but File Away doesn’t create the message.

    Thread Starter bobo8

    (@bobo8)

    Is there any better solution than turn off error reporting?
    As I thought, after the plugin update this error returned. I have no other trouble with my pages than with this plugin.

    But now it doesn’t download even some PDF files. It looks like it starts to download twice, after downloading the page is stuck, I have to reload it.
    I repaired it same way (I removed line 34), now it is possible to download everything, but other, described, troubles remains.

    Thread Starter bobo8

    (@bobo8)

    He, when I removed this line 34, then the download of big (not only zip) files worked.
    But after last update of FA removing of the line 34 didn’t help. Now the download of bigger files doesn’t start or finishes, but then the page freezes – on IE 8 and FF last version, Win XP upgraded; on Opera it works.
    I have made testing page: test
    Then I installed WP-Filebase, there it is possible to download big files.
    Then I tried FA on another wordpress (on same webhosting) – there FA works properly ??
    If no other people have this problem, then don’t solve it, I will use WP-Filebase (but I prefer FA – it has better display…).

    The function set_time_limit() is disabled on most webhostings, thus maybe it would be handy to deal with it.

    Plugin Author thomstark

    (@thomstark)

    The big pdf file downloads fine for me every time, in all browsers, thought I only have IE11, not IE8. If it’s freezing it’s likely a personal computer issue. Do you want to have stats enabled? If you don’t want or need stats, add stats="false" to your shortcode, then you’ll bypass the server download script altogether and your browser will handle it. I can’t duplicate your problem from the test page you provided. I’m thinking it’s a personal computer issue, maybe RAM. You’re on an old OS. I can’t tell you what the problem is, since I can’t duplicate it. But if you want to bypass the server-side downloads, just disable stats in your shortcode.

    Thread Starter bobo8

    (@bobo8)

    He, the problem is not only with my browser, other people tried to download and complained, that it didn’t work. I tried it on 4 computers (Win Xp and 7) on Opera, Firefox and IE 8. This morning I were able to download only on 1 computer!, the rest didn’t succeeded, even the small file, after clicking on a file the error page opened (File not found). It is very curios, that the behaviour alters when I didn’t change anything on my WP.

    Then I have added stats="false" and everything is working! I even returned line 34, no error. Many thanks.
    But I think that there is a problem in your download script. I understand, that it is difficult to find it when you can’t reproduce the error. I have let my test page without stats=”false” setting, if you want to test it.
    Should I change the description in my rating?

    Plugin Author thomstark

    (@thomstark)

    I’ll keep testing on your test page. If you feel the issue has been addressed to your satisfaction, then feel free to adjust your review as you see fit. Thanks for your feedback and assistance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘warning set_time_limit() when downloading a zip file’ is closed to new replies.