14 of 14
14
Linklocker Free (encrypt download links)
Posted: 29 March 2010 09:05 AM   [ Ignore ]   [ # 235 ]  
Research Assistant
RankRankRank
Total Posts:  503
Joined  09-06-2006

I am having a problem similar to other here on the forum but can’t seem to locate the solution.

If I try and download a pdf file without the linklocker it downloads file

But when I use the Linklocker it downloads what appears to be a file with the proper file name but when I open it it is corrupt

The original file is 3mb and the corrupt file is 4kb.

 Signature 

EastwoodDesign.ca

Profile
 
 
Posted: 29 March 2010 10:38 AM   [ Ignore ]   [ # 236 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  282
Joined  02-27-2008

Change the file extension of the downloaded file from .pdf to .txt and open it. This file likely contains an error message. Please post that message.

Thanks,
Brad

Profile
 
 
Posted: 30 March 2010 09:17 AM   [ Ignore ]   [ # 237 ]  
Research Assistant
RankRankRank
Total Posts:  526
Joined  03-29-2007

I had the link locker module working correctly before but now when I click on the link I only get a blank page. My vps provider updated php recently. Could this be the problem? I already tried reinstalling the module and some other things listed in this post. I installed module on other server and was able to get it to work successfully. I copied the working code but I still only get the blank page. Is there anything that I should/should not put in the .htaccess file?

I turned on template debugging and the correct link gets outputted. However it is saying ‘no clossing tag’. However I am only getting a blank page. any ideas??

Profile
 
 
Posted: 04 April 2010 09:28 AM   [ Ignore ]   [ # 238 ]  
Grad Student
Avatar
Rank
Total Posts:  89
Joined  10-29-2009

Hi,

Suddenly its working…. for few days, and suddenly stops working?!
I’m getting blank page, no error no nothing?

Everything is OK, because it worked properly but then stoped?!

Why, what to do, please, site is alive and people cant downloading :(
Thanks in advance

EDIT:
Now I’m redirected to: www.domain.com/1/

Profile
 
 
Posted: 06 April 2010 09:41 AM   [ Ignore ]   [ # 239 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  282
Joined  02-27-2008

ee_sa & Florian,
I try my best to provide support for the “free” and “pro” versions of the modules, however my time is quite limited. Without looking at your installation, I have no way to tell you what the problem may be. If you would like for me to take a look at your installation, please PM me with a login URL, EE admin account login, FTP login and URL, and the name of a template that is having these problems.

Florian:
  Thanks for the PM - please see my PM response.

Profile
 
 
Posted: 07 April 2010 10:32 AM   [ Ignore ]   [ # 240 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  282
Joined  02-27-2008

Please note that the free version of this module requires that “allow_url_fopen” be turned on in the php.ini file. I will update the script soon to present an error message if it is not enabled. This is one possible reason that you might receive a blank page when clicking on a link.

Profile
 
 
Posted: 12 April 2010 08:44 PM   [ Ignore ]   [ # 241 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  282
Joined  02-27-2008

Kenan (ee_sa),

I’ve logged into your site and I am able to download the files using the LinkLocker encrypted links. I looked at your templates and see that on inc/down_subscriptions, the links are set to expire after 2 minutes. For inc/down_issues, they are set to expire after 10 minutes. What could be happening is that the links that are being generated are timing out. If that page is cached in your browser, you will be presented with “expired” links after 2 or 10 minutes. In the address bar of the browser I see that I am not being forwarded to the proper template “user/dl_error”, but the page is blank - as you have described.

Refreshing the page (F5 or CTRL->R) causes new links to be generated and therefore the links will work. I verified this. I will address the failure to forward to the proper err_page in an upcoming update.

Please let me know if I may provide further assistance.

Thanks

Profile
 
 
Posted: 16 April 2010 02:41 PM   [ Ignore ]   [ # 242 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  282
Joined  02-27-2008

UPDATE : 4/16/2010
LinkLocker has been updated to version 1.5.
Module name is now referred to as LinkLocker Free.
Bug fix for problem serving .pdf files.
Bug fix that was causing IP Lock to always be on.
Fixed documentation to properly show how to use debug modes.
Added error messages for iplock, expired, and allow_url_fopen not on.
To upgrade please uninstall previous version and install new version.
I hope you find this module useful.
Download:
Please visit the brad-street.com website to download the latest version of LinkLocker Free.

Profile
 
 
Posted: 18 April 2010 07:46 AM   [ Ignore ]   [ # 243 ]  
Professor
Avatar
RankRankRankRankRankRankRank
Total Posts:  13771
Joined  04-15-2006

Hi Brad,

Thanks for the download, looking great. Did notice one thing though that the module doesn’t work and comes up with an error upon trying to create any links.

Seems that $PREFS wasn’t in the global list on line 81 in mod.linklocker.php. Adding that in so it now looks like this :

Line 79 81
    
function Linklocker()
    
{
        
global $DB$TMPL$IN$FNS$PREFS

makes it all work again.

Thanks again for a great download.

Best wishes,

Mark

 Signature 

Shopping Cart Plugin | Full List Of Add-Ons | About Me
——————————————————————————————
2.x Bug Tracker | Upgrade Errors

Profile
 
 
Posted: 18 April 2010 02:00 PM   [ Ignore ]   [ # 244 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  282
Joined  02-27-2008

Hey Mark,

Good catch - guess that’s what happens when you get in a hurry. I’ve updated the download file.

Thanks,
Brad

Profile
 
 
Posted: 18 April 2010 02:39 PM   [ Ignore ]   [ # 245 ]  
Professor
Avatar
RankRankRankRankRankRankRank
Total Posts:  13771
Joined  04-15-2006

No problem at all.

Thanks again for a fantastic module.

Best wishes,

Mark

 Signature 

Shopping Cart Plugin | Full List Of Add-Ons | About Me
——————————————————————————————
2.x Bug Tracker | Upgrade Errors

Profile
 
 
Posted: 05 June 2010 06:42 PM   [ Ignore ]   [ # 246 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  282
Joined  02-27-2008

At last, my store is up and running. There is still lots to do on the site, not to mention I’m actively developing an update for LinkLocker Pro for EE 1x, a NEW (3.0) version for EE 1.x, and LinkLocker Pro for EE2. At least now you no longer have to send a PM to purchase. Furthermore, the orders are being fulfilled with the upcoming LinkLocker 3.0, though the only thing you’ll notice from an end user perspective is that the generated links are MUCH shorter. If you would like to buy LinkLocker Pro or download LinkLocker Free, please visit my website at http://www.brad-street.com Thank.s!

Profile
 
 
Posted: 30 June 2010 02:32 PM   [ Ignore ]   [ # 247 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  838
Joined  02-25-2008

Hi Brad,

How do I apply Linklocker to this:

<class="videoLink" href="http://www.stockmarketcpr.com/_flash/player.swf?file={video}">{title}</a

Thanks!

 Signature 

Rouviere Media — I Build Expression Engine Sites. sans-borders.

Profile
 
 
Posted: 30 June 2010 07:31 PM   [ Ignore ]   [ # 248 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  282
Joined  02-27-2008

Hey Forrest,

I can’t get the code to display properly in these forums. I would think putting the stuff within quotes as href= into the url= parameter of the linklocker tag should do the trick. Even better would be to create a field in your weblog and save the entire URL, including the video file name, instead of just the filename. This would avoid any possible issues with having a variable within the linklocker tag.

Thanks!

Profile
 
 
   
14 of 14
14