Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Download in forum not working?  (Read 5381 times)

0 Members and 1 Guest are viewing this topic.

olli80

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Download in forum not working?
« on: November 18, 2011, 11:20:53 am »

Hi there,

everytime i click on a download link in this forum it just give me a index.php for downloading.

I´m registered and loged in!

Is it a problem with the forum or me?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Download in forum not working?
« Reply #1 on: November 18, 2011, 12:52:47 pm »

I also noticed that behavior with the latest Firefox release. The content of the file is correct, but the file name is always index.php. It doesn't happen with e.g. Chrome, at least for me. I don't know if it's a general issue with Firefox, SMF2 or just the combination of (my) Firefox and our board.

Maybe someone else can report their experiences, so we can post a bug report if necessary.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Download in forum not working?
« Reply #2 on: November 23, 2011, 10:11:23 pm »

It's a SMF issue.  Has this been resolved now?  If not there's some info regarding the problem here, http://www.simplemachines.org/community/index.php?topic=451766.0  it also says what file to edit to resolve it.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Download in forum not working?
« Reply #3 on: November 24, 2011, 11:29:25 am »

Still happens for me, e.g. when I try to download a zip file from the plugin contributions board.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Re: Download in forum not working?
« Reply #4 on: November 25, 2011, 09:53:21 am »

Still happens for me, e.g. when I try to download a zip file from the plugin contributions board.

Andre, I don't have server access, so I'm waiting for an official patch that can be installed through the package manager to solve this issue.   There is one patch available ATM, but waiting for feedback on it to make sure it covers all types of attachment. ;)
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Download in forum not working?
« Reply #5 on: November 25, 2011, 10:32:06 am »

I assume you're talking about that patch: http://dev.simplemachines.org/mantis/view.php?id=4825

Unlike described in the instructions you have to apply that patch to the file Sources/Display.php (at least that's the only place I found the code part). I'll apply the patch soon and will test as thorough as possible.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Download in forum not working?
« Reply #6 on: November 25, 2011, 10:35:20 am »

Test file attached.

Update: Doesn't work with file names with spaces (as expected, as they removed the required quotes). I'll now try to fix that issue for our board. If we have a working fix, we can provide it to the SMF team. Do you have an account on their boards, lurkalot?
« Last Edit: November 25, 2011, 10:41:07 am by Αndré »
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Download in forum not working?
« Reply #7 on: November 25, 2011, 10:39:47 am »

Thanks Andre, hopefully sorted then. 

Cheers.  ;)
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Download in forum not working?
« Reply #8 on: November 25, 2011, 10:40:45 am »

I just updated my previous post.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Download in forum not working?
« Reply #9 on: November 25, 2011, 10:44:11 am »

I think this has been mentioned before in another thread, I'll see if I can find it.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Download in forum not working?
« Reply #10 on: November 25, 2011, 10:48:39 am »

This is the tread where the patch with install via package manager is posted.  I'm sure it mentions the quotes problem too. http://www.simplemachines.org/community/index.php?topic=454734.0
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Download in forum not working?
« Reply #11 on: November 25, 2011, 10:52:39 am »

I haven't read that thread yet, but think I fixed it on my own. Needs some more testing, but removing the whole Firefox case (and using the default method) seems to work as expected for file names with and without spaces. Will test non-latin characters now.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Download in forum not working?
« Reply #12 on: November 25, 2011, 10:59:30 am »

Test file with spaces and non-latin characters attached.

Update: the UTF-8 characters get encoded. Not very beautiful, but as the majority of our files contain just alphanumeric latin characters a workaround I can live with, until a real fix is provided by the SMF team.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Download in forum not working?
« Reply #13 on: November 25, 2011, 11:05:38 am »

That's fantastic Andre, as long as it works that's the main thing.  I'll keep following the progress over at SMF. ;)

Thanks again.  ;)
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Download in forum not working?
« Reply #14 on: November 25, 2011, 11:08:56 am »

We're now using the Opera header, as it works as expected as far as I can judge.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.