I upgraded from 2.2 to 2.4 this morning and I can’t use the module at all now 😊.
The upgraded docs (main screen of the module) said that it upgraded to 2.4, but the module list still showed it as 2.2.
I ended up uninstalling the module (which you caution against due to losing information - but at this point there was very little info to show). I re-installed, and the module showed the correct number in the modules list.
I was also getting an error on the template on the front end of the site when using the restricted_groups parameter - so I removed that for now.
Now none of my download links work. The link looks correct when I hover over it (i.e. it shows the ACT=53, and then all the encoded stuff), but when I attempt to download it, all I get is “public/html” and nothing downloads. In the module control panel, the “Actual Links” column shows “/home/mysite/public_html” as the generated link.
I rolled back to 2.2 for now, and the links seem to be working - but I’m avoiding the restricted_groups parameter, too.
Hey Brad, having trouble using mode=”page” param. I keep getting the error, “Could not find a matching hash in database.” when I click on the link. I’m trying to hide the url to my download page. I’ve got
<a href="http://{exp:linklocker">Download</a>
edit: don’t know why, but the forum won’t let me post the actual code - it’s missing the last curly brace and double quote at the end. also won’t display my url…
Brad - a questions for you (I remember I posted it earlier somewhere but didn’t find any replies)..
I am using linklocker on a test server and I am using it to encrypt URLs of remote files that are hosted on amazon s3 to save badnwidth costs.
But I found that by using linklocker, my server’s bandwidth is used and since files are approx 1GB each, it results into consuming 30-40GB of bandwidth in just few hours by handful of test users.
Does linklocker has this ‘serious’ limitation?
I haven’t done any testing with Amazon S3, but what you’re saying would make sense. Technically, even though the file may be stored on a remote server, the link that they click on is encrypted by LinkLocker. The link is decrypted by the module, and to keep the location secret, the file is read from its storage location and streamed to the user. I’m not exactly sure how you could send a file to the user from another location without showing the source, other than the way the module currently provides.
Hi!
I’d like to know if there is a way to dynamically name the file that Linklocker outputs to the user. I upload files using Mark Huots File extension. When files are uploaded they are renamed to make it even harder to guess where they can be downloaded. What I would like to do is to rename them again when a user clicks a download link so that they get a more human readable name.
Regards,
Matts
Hi Matts,
The LinkLocker module simply serves the file that you point it to. Whatever name the file has, it will keep. If you are using the module, there isn’t really a reason to rename the file to something obscure as its location is not shown to the user and the link is encrypted. If you wanted to prevent people from guessing the location, simply naming the parent folder that contains the files to something obscure should do the trick.
Thanks, Brad
Hey Brad, I upgraded EE to 1.6.7 about a week ago and just realized that since that time, the LinkLocker module “Member Statistics” and “Link Statistics” have stopped working. I was going to uninstall and reinstall LinkLocker, but the documentation says that this could break existing links. Any ideas on how to fix?
Thanks -Susan
Hey Brad, no errors on either screen. The “Members Statistics” have just stopped updating as of my last EE upgrade. So, when members download, it’s not tracked (or at least it’s not showing up on the screen). So what I see on the screen is only member download data prior to the EE upgrade. The “Link Statistics” page actually looks like the counts are increasing - so that part might be fine. Do you think it would be safe for me to uninstall/install again? I’ve got version 2.4.2.
Hey Susan, I’m not at home, so can’t look at the code right at this moment. Will check into it this evening. The problem with uninstall/reinstall is that you will lose your stats, of course. Also, when it re-installs, it will create a new actionID for the process_link function, meaning that URLs generated by the previous install will cease to work. Anyways, as I said, I’ll look into this further when I return home this evening. Just out of curiosity, what version of EE were you running previously? Thanks, Brad
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.