I just confirmed that putting the file on a different server makes no difference. I am still getting blank pages…
Nate,
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. I will be happy to take a look as soon as time permits.
Thanks, Brad
Hi,
Linklocker Pro is throwing up a memory error on the 2nd link that I download, so all links work on first click, but if I click another link i get a memory error.
Fatal error: Allowed memory size of 103809024 bytes exhausted (tried to allocate 59221467 bytes) in /path/to/my/domain.co.uk/html/system/modules/linklocker/mod.linklocker.php on line 590
I’m using version 2.5.1
Am I doing something to warrant this memory error?
J.
Brad, I had a Linklocker tag inside a complex conditional, so it was apparently generating a link every time a page was loading, even if we weren’t really using Linklocker on that template (this is due to the way EE parses complex ‘if’ statements). The result is a Linklocker exp_linklocker_gen table with 115,000+ entries, the majority of which are useless (the actual link is just the domain name, with no real path to a file). The exp_linklocker_user2gen table has about 5,000 entries, and the exp_linklocker_link has 309 entries.
I fixed the template, putting the Linklocker tag inside a simple ‘if’ statement, so it shouldn’t create a link if we don’t need it to from here on out.
What is the best way for me to clean out the three exp_linklocker tables? There are many good links in the exp_linklocker_gen table, but they are the vast minority at this point. I’m not sure how this table relates to the other two tables, so I don’t want to mess with deleting rows right in the DB. You have the single reset buttons on the right side under “Member Statistics”, but obviously I’m not going to clean up anything that way. Any suggestions?
Hey Ryan,
First, I’ll explain how the tables are related, since there is no super easy way to clean up the table.
The linklocker_links table contains all of the information regarding a unique path or URL / group / and label that is an actual link to a file for which an encrypted link is generated.
The linklocker_gen table holds all of the information for each link that is generated based on an entry in the linklocker_link table. There could be many entries in this table for one entry in the linklocker_link table.
The linklocker_user2gen table simply maps user ids to gen_ids (ids from the linklocker_gen table) in order to avoid recreating links for members who have already had links generated for them.
With all that said, I would think the simplest way to remove the unneeded entries from the tables would be to find the link_id (id from linklocker_link table) where the url is the site root. Then, using that id, select the gen_ids (ids from linklocker_gen table) that are based on that link_id. Lastly, remove all entries from the tables based on that information. For example, the SQL with subselects might be like: DELETE FROM exp_linklocker_gen, exp_linklocker_user2gen WHERE gen_id = (SELECT gen_id FROM exp_linlocker_gen WHERE link_id = (SELECT link_id from exp_linklocker_link WHERE link_url = “http://www.mysite.com/”) )
The version of LinkLocker Pro for EE2 has check boxes to allow multiple deletes to better assist with such an issue, among other improvements. Once I’m done beta testing, I intend to port many of the enhancements back to LinkLocker Pro for EE 1.6.
Hi Brad - found the info on your site a bit difficult to follow (sent you a contact form however!) but it looks like this is what we need - will you have an EE2.0 version available soon?
Here’s what I posted on your contact form just in case it doesn’t reach you (no confirmation page was given).
Hi Brad - I’m an EE2.0 user (see www.hotyogadoctor.com) and also in the middle of integrating Infusionsoft (mostly there). We’re needing a secure file-delivery application since Infusionsoft are crap at this and limit file sizes to 10Mb (go figure!).
LinkLocker looks like just the job - is it available to purchase for EE2.0?
And will it work or is it configurable to work with a custom cart, not just simple commerce (which we don’t use)
Thanks
Robert
Robert,
We’ve already spoke regarding this matter, but I’m posting details here for those who may be following the thread. My website was never completed, so I’ve been working relentlessly the last week or two to bring it up to speed - updates should be posted in the next few weeks, along with a STORE!
I’m currently beta testing LinkLocker Pro for EE2, as well as a new version for EE1. Both will hopefully be more user friendly, boast enhanced speed, shorter URLs, and new features. I will post as soon as the modules are available.
Since LinkLocker Pro works within EE templates, it should integrate into any cart system where users are shown links of files they can download. I am also developing a solution that would allow you to add LinkLocker functionality outside of EE templates as well as on sites that may not be running ExpressionEngine.
Stay tuned!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.