Welcome, Guest
Username: Password: Remember me

TOPIC: Attachment can't be downloaded

Attachment can't be downloaded 2 months 12 hours ago #25890

  • kicr
  • kicr's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 2
Thank you guys for your ongoing investigation!

I've cloned my site to my dev area and created a new event and upload two files via backend upload. One pdf file and one zip file (which contains the pdf file).

There is a crucial difference between the original page and the test page. On the original page I force the use of https via server configuration (not Joomla Configuration!). On the test page the download works as long as I access it via http. If I switch to https there, the download won't work there either.

Do you have any idea why this is so?

Test Site: goo.gl/kY9ZkE

Please Log in or Create an account to join the conversation.

Last edit: by kicr. Reason: Added link

Attachment can't be downloaded 2 months 12 hours ago #25891

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 255
  • Karma: -3
  • Thank you received: 107
On your test page, it works for me.
(Chrome Desktop)
Edit: forgot it, didn't read your answer fully...

It seems the problem is the ssl configuration.

So the only thing you changed is the ssl configuration?
Can you give us more information about your "ssl force" and "joomla configuration"?
Take a look at the responsive version of JEM: The Responsive JEM

Please Log in or Create an account to join the conversation.

Last edit: by Egnarts.

Attachment can't be downloaded 2 months 12 hours ago #25892

  • kicr
  • kicr's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 2
I'm using an option in my server control panel to redirect http requests to https (redirect_server.png)

I don't use the option in the joomla configuration (redirect_joomla.png)
Attachments:

Please Log in or Create an account to join the conversation.

Attachment can't be downloaded 2 months 12 hours ago #25893

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 255
  • Karma: -3
  • Thank you received: 107
Thank you for your pictures.
As it look, you configure the force-ssl on the server via the web-interface of your webhosting provider?

So a first problem description may be:
If you are on the https page and you click on the download link, something is requesting the pdf via http. Following that, either now the session token is wrong, or the browser blocks the download cause of unsecure connection. I think the problem with the token is more likely.
Take a look at the responsive version of JEM: The Responsive JEM

Please Log in or Create an account to join the conversation.

Last edit: by Egnarts.

Attachment can't be downloaded 2 months 12 hours ago #25894

  • kicr
  • kicr's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 2
Yes, I force the using of ssl via the server configuration from my webhosting provider.

You can access my test site with or without ssl. When your accessing it with ssl / https, you'll have the same error when downloading the attachment. So the forcing should not be the problem, the encryption seems to be the problem.

Please Log in or Create an account to join the conversation.

Attachment can't be downloaded 2 months 12 hours ago #25895

  • Egnarts
  • Egnarts's Avatar
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 255
  • Karma: -3
  • Thank you received: 107
Lets try something crazy.
Register some users to an event. Then go via https to your page and export the registered users of that event to a csv file. If I am right, it should not work.
Take a look at the responsive version of JEM: The Responsive JEM

Please Log in or Create an account to join the conversation.

Time to create page: 0.215 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......