Forum Replies Created
-
AuthorPosts
-
September 18, 2011 at 11:35 am in reply to: Revenue Sharing on Subscription (for site access not on product access) #36723September 13, 2011 at 11:57 am in reply to: Unable to connect to socket: Connection timed out/refused (110)/(111) #36536WollieMember
Hi wzp,
Is Amazon S3 the only way one can prevent the source URI from being seen and potentially distributed?
And secondly, would it not be possible to use a combination fo the mask.php method and APR so that source code is not visible? If so .. Any suggestions on How?
Thanks for your help!
September 12, 2011 at 6:52 pm in reply to: Unable to connect to socket: Connection timed out/refused (110)/(111) #36534WollieMemberHi,
Ok, I seem to have gotten the APR short codes to work… though not fully tested yet.
However I was wondering if you can explain in a nutshell how I would use these short codes to access content held outside of the publis_html folder, please!! I can’t seem to find anything that explains this adequately.
Thanks again for your fantastic help!
September 12, 2011 at 5:38 pm in reply to: Unable to connect to socket: Connection timed out/refused (110)/(111) #36533WollieMemberThank you,
I will have a look at that link and get back to you.
Very much appreciated!!
September 12, 2011 at 4:01 pm in reply to: Unable to connect to socket: Connection timed out/refused (110)/(111) #36530WollieMemberThe Help text on the Digital Content Details section says : “If you are offering Pay Per View content then check this box and uncheck the “Downloadable” checkbox above. For pay per view content, the true URL of the page where the content is embedded (e.g. a steaming video) does not get revealed.”
September 12, 2011 at 4:00 pm in reply to: Unable to connect to socket: Connection timed out/refused (110)/(111) #36529WollieMemberHi wzp,
Thanks for your post…
I am trying to create a Pay Per View product site (not downloadable but viewable)… if the downloadable is checked then the user is able to download the html or php page wherein I have embedded a video. I want them to just be able to watch it..
I seem to be able to get the desired result if I uncheck both downable and pay per view check boxes but then theurl is not masked …
In fact on further testing it seems if I just try access the mask.php directly as a url I get the same connection refused error IF I check the PPV check box in the Product Digital Content Details section.
Hope that makes sense.
Please advise.
September 12, 2011 at 1:03 pm in reply to: Unable to connect to socket: Connection timed out/refused (110)/(111) #36527WollieMemberSo as it transpires… Thanks to a very talented developer friend of mine:
It seems that for some reason the following code in download.php is being evaluated incorrectly!!!
if ($retrieved_product->downloadable == ‘no’) {
// File is not downloadable through the eStore download manager…
if($retrieved_product->ppv_content == 1) {
// File is PPV content…
$_SESSION = true;
$_SESSION = $file_path;
header(‘Location: ‘.WP_ESTORE_URL.’/mask.php’);
} else {
// File is downloadable, using the browser, from a non-obfuscated source…
header(‘Location: ‘.$file_path);
}
}
So I solved the problem by unchecking the pay per view check box in the Add/Edit Products – Digital Content Details section.
I assume that this could be a bug… or perhaps needs a little helpful explanation in the comments/notes.
Hope this helps.
September 12, 2011 at 11:13 am in reply to: Unable to connect to socket: Connection timed out/refused (110)/(111) #36526WollieMemberFurther information from the service provider:
“What I mean by locally is simple rather then calling a URL (Loopback connection) for example getting the location http://yourdomain.com/this_is_a_script/performing_a_loopback.php
Simply open this file on the server.
open(IN,”/home/sites/yourdomain.com/public_html/this_is_a_file/not_performing_a_loopback.php”);
and then running the code from the opened file.
This does come up every now and then but most programmers will run files from a file on the server rather than making a web request over http.”
Please can someone advise me on what exactly I would need to do to fix this as I am not a expert php programmer nor an eStore expert … hence purchasing this product in the first place :o).
Your help would be greatly appreciated!!!
Thanks!
W
September 12, 2011 at 9:58 am in reply to: error: unable to connect to socket: Connection refused (111) #36132WollieMemberHi,
I have also just installed eStore for Pay per view product sales and similarly everything seems to work fine up to the point where the customer clicks on the encrypted link when they get the same connection refused (111) error.
I have been in contact with my service provider and this is their response:
“The script is trying to perform a loopback connection. A connection to the server from its self. This is blocked at our Firewall to protect the server from attacking its self internally. You should contact the script author who should be able to provide you details on how to resolve this by loading the file and running the script locally without requiring a loopback connection.”
Please can someone advise me whether this is infact correct and how I can go about fixing this!
Look forward to hearing from you. Thanks.
w
-
AuthorPosts