We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LinkLocker Module - Does this work

Development and Programming

Mark Jackson's avatar
Mark Jackson
60 posts
16 years ago
Mark Jackson's avatar Mark Jackson

Okay so tonight’s mystery is LinkLocker, and if you’re reading Mark Bowen, yes, I have it installed in the correct FTP project area…

I have a file that I want to download using LinkLocker (1.4.2)

I’ve checked the link works okay naked (without LinkLocker) so that prooves the htaccess is okay.

I’ve tried the link with LinkLocker outside of an EE weblog, and inside of a weblog, and neither of them seem to work. When I click the link, I get a blank browser page - a long URL, and no download.

I’ve tried hard coding the full URL, but still a blank page.

Sample URL is

http://mydomain/?ACT=47&url=1&linklocker=M6PzKTguJbIpsBn2OqafNhq22jZ9A0UWysOy31BDMEpWvDwew4gcPw0w36OuNoCFgQ7YSH=vpcY=WWJD9a31I9b4so9Q2u1CT070cmZB4C6v5WM5929jd1i5EpKXszSV9nLTUozjw529EqME02seNcM1hr3iIsZL4Ze00xb4YWM4846Dd39tkrdd5u4uLmMv95BTVTeTUkpA7=BUE3952879SKa79AZ4lCF0NJc6EYcCMOR9Mrs67QkedA=e21T=W1P290lD49Wm2U9S5j5C5V74cbl0uCq8ugaSj0jHN720RZOmW06zL9c92fNDt033oQi32mz4KPISikqz1FSUQP4ix39U7ROE3Xuy5m66Y40v0jjb2nNUausDU7MOcnRRc760xHdl3063hFsrd4O1C3v6ulL1m91m4Y1JRZr5vlZEhAdLT5ni1E1W54E3mz3Cg1dpz7EWzG81d6J3jhmLoJc5I9EmvAo9R5HePpC3QvZ136X2ZdC8lL5S20eLi9YK48MWhKR0w2Ts7uq6nKYwygO2Zyf88PM51u4e3Yd4xhGW49FdsjCw1mA3W5I1AZ7zNbn5QuUWz3f26jOjG7s37z9CNdjuWk600BZW6HVj1g28EF3p9045NUZYZ8g25Fu2hjZwg50rKZJYptwi311CMY5bb05rfHN6yTrz8e16t39WnwT3vDYO88IXhVSNJ5LLv011u4bJ67am4l3fVlIq0yh744cn092zZn7eE3A672hAuQM5pVyTqCF4EUPOJmzQw0IYyopz3nY1Qnd1Y39VvfOp5030Vxw5ZSNeXv0wq6c133oi5XLWB0Z8iwp615YLpq8X5q1FJ85cn0z94Obk62FmhxJ7V39CEy626zI9B11GC8FS9YA01uJS2cb25KvHTzjnk2I7Yu9E34ZKariGN3ae94Q9IjfBTE949059QlxZ9DP1aCL953c2F6wC79YaM5Fn1Ag1dW=X7VW=Xgu9980J49FLD793P0VC283jc9S59CsCsx93JX492EfY99nUGCWJG7cS0GUCXf52

Very long as you can see - but then the download URL is pretty lengthy.

With mode=”page” I get the following message:

Warning: file_get_contents(http://www.mydomain/Forpartneronly.doc) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/users/html/mydomain/ee_cms/modules/linklocker/mod.linklocker.php on line 251

Any ideas on what’s going on?

(EE 1.6.8)

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen
Okay so tonight’s mystery is LinkLocker, and if you’re reading Mark Bowen, yes, I have it installed in the correct FTP project area…

I do hope that’s not a dig at me is it? 😉 😊 😉

The error says that you have a 401 going on which means that for some reason the resource isn’t being found by LinkLocker. You don’t have any password protected site directory(ies) going on at all do you? Perhaps whilst you’re working on the site you have put on protection to stop anyone else seeing anything?

Best wishes,

Mark

       
Mark Jackson's avatar
Mark Jackson
60 posts
16 years ago
Mark Jackson's avatar Mark Jackson

Gosh, no Mark. More a dig at my own ineptitude at times.

Thanks for the prompts, I shall start digging around to see if the resource is in a protected area.

Regards

Mark

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.