help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Attachment can't be downloaded
Re: Attachment can't be downloaded
5 years 8 months ago
Exporting from backend works (with http and https).
Exporting from frontend works (with http and https).
Exporting from frontend works (with http and https).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Re: Attachment can't be downloaded
5 years 8 months ago - 5 years 8 months ago
I compared the request and response headers during accessing the file. If you are interested in, take a look in the attachments.
In the response header, there is one entry (except of the status entry) that differs:
Connection: Keep-alive
Please add the following line of code to <Joomlaroot>/components/com_jem/controller.php
Go to line 121 and insert
header("Connection: keep-alive");
before the line containing this: header('Content-Disposition: attachment; filename="'.basename($path).'"');
Hope that works...
On my attatchment-working test page it worked also with this addition. So first of all, this new line of code should not break more than before
In the response header, there is one entry (except of the status entry) that differs:
Connection: Keep-alive
Please add the following line of code to <Joomlaroot>/components/com_jem/controller.php
Go to line 121 and insert
header("Connection: keep-alive");
before the line containing this: header('Content-Disposition: attachment; filename="'.basename($path).'"');
Hope that works...
On my attatchment-working test page it worked also with this addition. So first of all, this new line of code should not break more than before
Last edit: 5 years 8 months ago by Egnarts.
Please Log in or Create an account to join the conversation.
Re: Attachment can't be downloaded
5 years 8 months ago
File <Joomlaroot>/components/com_jem/controller.php updated with Keep Alive but unfortunately the result shows the same error.
Tried also with Android Windows and Linux browsers....
Tried also with Android Windows and Linux browsers....
Please Log in or Create an account to join the conversation.
Re: Attachment can't be downloaded
5 years 8 months ago - 5 years 8 months ago
stefanato,
on your page I have the same problem like in this thread ( www.omco.pd.it/formazione/corsi-e-convegni/event/665-il-trattamento-della-neoplasia-del-colon-retto.html ) and another problem that you wrote in the other topic ( www.omco.pd.it/formazione/corsi-e-convegni/event/658-il-trauma-e-il-corpo.html ). Both on Chrome Desktop.
How do you force ssl? As I saw you are using Apache Webserver, so the problem may be not Nginx.
kicr and stefanato,
1. what did you configure at JoomlaBackend -> System -> Configuration -> Server -> Gzip-Compression?
I don't use gzip-compression. @jojo, do you use?
2. What happens, if you change "Report errors" on JoomlaBackend -> System -> Configuration -> Server -> from Default to Development? Do you get an error message when downloading the file?
3. Login to you pages FTB and please wrote the permissions of the event-folder containing the problematic file and the permission of the file itself.
For me its: Folder: 0755 and File: 0644
on your page I have the same problem like in this thread ( www.omco.pd.it/formazione/corsi-e-convegni/event/665-il-trattamento-della-neoplasia-del-colon-retto.html ) and another problem that you wrote in the other topic ( www.omco.pd.it/formazione/corsi-e-convegni/event/658-il-trauma-e-il-corpo.html ). Both on Chrome Desktop.
How do you force ssl? As I saw you are using Apache Webserver, so the problem may be not Nginx.
kicr and stefanato,
1. what did you configure at JoomlaBackend -> System -> Configuration -> Server -> Gzip-Compression?
I don't use gzip-compression. @jojo, do you use?
2. What happens, if you change "Report errors" on JoomlaBackend -> System -> Configuration -> Server -> from Default to Development? Do you get an error message when downloading the file?
3. Login to you pages FTB and please wrote the permissions of the event-folder containing the problematic file and the permission of the file itself.
For me its: Folder: 0755 and File: 0644
Last edit: 5 years 8 months ago by Egnarts.
Please Log in or Create an account to join the conversation.
Time to create page: 0.513 seconds