The download link to the release is wrong. The project module shows me http://www.macmediacenter.de/?q=files/project/eyerecord-1.1.2.zip. When i click on it, i get an error page. The right link is http://www.macmediacenter.de/files/project/eyerecord-1.1.2.zip

I don't use clean urls

Comments

Steve Viscido’s picture

Priority: Critical » Normal

I am having this exact same problem. The "release" download is insisting on putting that ?q= into the url, when it is not supposed to be there. One can properly download the file from the attachments section, but in the "latest releases" section, it's incorrect.

Steve

Steve Viscido’s picture

Any clues on how to fix this problem? I am no mySQL nor PHP expert. I've looked at the code but can't find anything obviously wrong.

Steve

nedjo’s picture

Version: 4.6.x-1.x-dev » x.y.z
Status: Active » Fixed
StatusFileSize
new2.11 KB

The problem is that download links are enclosed in l() calls, which adds the ?q= if clean urls are not enabled.

Attached patch substitutes hard-coded links, and should solve issue.

Steve Viscido’s picture

Great, thanks! That was fast!

I appreciate it.

Steve

Steve Viscido’s picture

Oh hey, this problem still exists in another place: the "Projects" page (the one that lists them all) in the "download" link. Same ?=files/ problem. I will see if I can find where to fix it based on your great patch and post if I find it. :)

Steve

Steve Viscido’s picture

Status: Fixed » Needs review
StatusFileSize
new574 bytes

Fixed this one myself.... it's a one-liner. Thanks again for your help.

Here's the patch:

nedjo’s picture

Status: Needs review » Fixed

Both patches applied.

Anonymous’s picture

Status: Fixed » Closed (fixed)