• Resolved ghi07

    (@ghi07)


    FileAway version 2.8.2
    My site title is something like this: Church Men’s Choir
    The Download ZIP function would not work, so I removed the apostrophe from my site title and problem solved. However I now have a problem with the apostrophe police unless I make my title Church Choir of Men.
    Cheers, Greg.

    https://wordpress.org/plugins/file-away/

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

    (@thomstark)

    That’s funny. I’ll tell you how to fix when I get home in a few minutes, and I’ll include it in the next release as well.

    Plugin Author thomstark

    (@thomstark)

    This will be included in the next release, but if you want to fix it yourself in the meantime:

    In FTP navigate to wp-content/plugins/file-away/lib/cls/

    and open up “class.fileaway_management.php” for editing

    At around line #394 (in the section marked //bulk download action)

    change this:
    $sitename = get_bloginfo('name');

    to this:
    $sitename = mb_convert_encoding(get_bloginfo('name'), "UTF-8", "HTML-ENTITIES");

    Thread Starter ghi07

    (@ghi07)

    Thanks for the rapid reply. Please don’t treat this as your top priority. I’m sure you have more urgent problems after such a major upgrade. Thanks for your great work.
    Cheers, Greg.

    Plugin Author thomstark

    (@thomstark)

    Hi, again. My solution above causes problems if the site name has certain non-English characters, so the solution that will be included in the next release is a new setting on the Basic Configuration tab that lets you set your bulk download file prefix to whatever works for you.

    Thread Starter ghi07

    (@ghi07)

    Yes, that sounds like a better solution all round.

    We in the St Michael’s Church Men’s Choir thank you for caring about our apostrophes. You’re a saint in our eyes.

    Cheers, Greg.

    Plugin Author thomstark

    (@thomstark)

    File Away cares for all God’s apostrophes.

    Plugin Author thomstark

    (@thomstark)

    AND, I just discovered, using the new Prefix setting, you can actually keep your apostrophes. It’s only when WordPress grabs the blog name that it converts the apostrophe to that hex value. But I just tested “Men’s Church Choir” and it downloads fine. So look forward to version 3.0. Bunch of new features, boy oh boy.

    Plugin Author thomstark

    (@thomstark)

    3.0 now up.

    Thread Starter ghi07

    (@ghi07)

    Upgraded, tested and confirmed it works as advertised.

    Thanks again for your plugin and amazing support.

    Cheers, Greg.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘ZIP file download problem when site title has apostrophe’ is closed to new replies.