Hello,
It is my first time using your forum so I will try to explain my problem.
On our hosting, we ask to active gzip module to improve our website's speed but when we try to attach something as a agent, we can't... We also try to attach as a user and we can. What should we do to attach with gzip active or should we desactivate gzip?

Thanks for your helping.

@Acomsis

Never heard of this before. Any detailed errors via Apache/PHP error logs or Browser Console logs?

Cheers.

    Hello KevinTheJedi

    How can get those errors logs? When I try to attach, it seems that the file is charging but it disappear quickly so it didn't give my any error.

    I did the same as user. I opened a new ticket, I could to attach something and send it. I opened it as a agent, I could see it but I couldn't attach something back.

    mod_gzip is deprecated and was replace with mod_deflate. It essentially zips the web page before sending it to the client (webbrowser). I would be surprised if that caused an issue but it could be. Maybe it doesn't like ziping a zip file? But I would think that if it works for users then it should work for agents. Hmm. Can you consult your Apache / PHP error logs and see if there are any errors being thrown?

    @Acomsis

    Did you check the Agents' Attachment Size Limits/Settings?
    - Admin Panel > Settings > System > Agent Maximum File Size
    - Admin Panel > Settings > Tickets > Ticket Attachment Settings > Config

    Cheers.

    @KevinTheJedi There is the configuration about you asked:

    @ntozier I will ask to the company host about deflate module. Right now I can't do any consult, I asked to desactivate gzip module because we needed to attach file... I will try to do some new test soon, maybe this afternoon

    I use mod_deflate as @ntozier said with this configuration and now I can attach files at tickets as agent too:

    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/shtml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    </IfModule>

    I will do some tests more

    Write a Reply...