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??
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.
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.
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.
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.
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;
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!
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.