Forum Replies Created
-
AuthorPosts
-
wzp
Moderatorwzp
ModeratorWhat are the FTP log entries above and below the 150… message? My first guess is a file permission or disk quota issue on the server.
wzp
ModeratorPer the upgrade instructions at http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-installation-and-usage-guide-31 you will be ok, per wpCommerce, if you simply copy (FTP) the new files over the existing ones. HOWEVER, please read the caveat regarding “Method 2.” If you plan to delete the old files first, this warning applies to you.
January 28, 2011 at 2:32 pm in reply to: url of product like http://mon-site.com/pdf.php?id=12 #28448wzp
Moderator********** DANGER WILL ROBINSON — RUNNING WITH SCISSORS AHEAD **********
The best place to look for where to insert your custom code would be in the eStore_post_payment_processing_helper.php file. Look for where it calls the eStore_stamp_pdf_file() function. You would invoke your custom code, and then pass the URL or the temporary file on to the PDF Stamper.
January 28, 2011 at 2:16 pm in reply to: url of product like http://mon-site.com/pdf.php?id=12 #28447wzp
Moderator********** DANGER WILL ROBINSON — RUNNING WITH SCISSORS AHEAD **********
With regards to the matter of using PDF Stamper with the “download now” button…
Currently, there is no information to be passed to the PDF Stamper, under the “download now” button. You would need to do something similar to how the “squeeze form” button works, which does pass user information to the PDF Stamper. To do this, you need to do some custom PHP programming. For a “hint” of how to do this, look in the files ajax_process_download.php, ewp_eStore1.php and eStore_includes2.php for references to the function: free_download_pseudo_payment_data()
You would then modify the wp_eStore1.php file in one or all of the following functions:
eStore_download_now_button()
eStore_download_now_button_fancy()
Your modification would include a call to free_download_pseudo_payment_data() with the appropriate user information.
January 27, 2011 at 2:09 pm in reply to: url of product like http://mon-site.com/pdf.php?id=12 #28444wzp
ModeratorYou could maybe take the original URL, generate the “on the fly” PDF file and store it as a temporary file. You would then generate and serve up an encrypted link to the temporary file.
This would be similar to how PDF Stamper integrates into eStore. As part of the post payment processing, eStore checks to see if a PDF requires stamping. It then invokes the PDF Stamper, which stores the stamped file as a temporary file. What gets delivered to the buyer is an encrypted link to the temporary file. The code that does this is in the file: eStore_post_payment_processing_helper.php
wzp
Moderator
Using the S3 integration also removes your server, and all its possible configuration issues, from the equation.
January 26, 2011 at 10:16 pm in reply to: HELP! Digital Downloads Getting Corrupt or Downloading Empty #28367wzp
ModeratorFor debugging purposes, it is sufficient for now to just copy the manually rendered link into the browser address bar. Once we can get that working, everything else should work.
1. Are you only having problems with PDF files? If it was some other kind of file, does it work?
2. Are you using PDF Stamper on those files?
January 26, 2011 at 10:05 pm in reply to: How to open "Terms and Conditions" page link from shopping cart in same window #28422wzp
ModeratorJanuary 26, 2011 at 10:01 pm in reply to: How to open "Terms and Conditions" page link from shopping cart in same window #28423wzp
Moderator********** DANGER WILL ROBINSON — RUNNING WITH SCISSORS AHEAD **********
In the file eStore_misc_functions.php, look for the following line…
$terms = "<a href="$terms_url" target="_blank"><u>".ESTORE_TERMS_AND_CONDITIONS."</u></a>";Once you find it change it to the following:
$terms = "<a href="$terms_url"><u>".ESTORE_TERMS_AND_CONDITIONS."</u></a>";Don’t forget to keep a backup of the original file in case you make a mistake!
wzp
ModeratorMp3 files should never be zipped…
https://support.tipsandtricks-hq.com/forums/topic/4kb-download-problem
If you are using the S3 integration option, the download method is ignored, because S3 is taking over. If you are not using S3 then the issues discussed in the referenced post become especially important.
wzp
Moderator“…but just redirects to the MP3 instead of automatically downloading.” Is because the browser is set to automatically play the MP3 files instead of downloading them.
January 25, 2011 at 10:53 pm in reply to: Receiving download but the link doesn't work – 404 not found #28387wzp
ModeratorWhat kind of file is the encrypted link for? Is the encrypted link to something that requires processing by the PDF Stamper, or is it for a regular file?
If you manually generate an encrypted link, using the Admin Functions, do you still get an error?
Also, what version of eStore are you using?
wzp
ModeratorI think that after you get the upgrade issue resolved, that we can revisit this topic.
January 25, 2011 at 7:52 pm in reply to: HELP! Digital Downloads Getting Corrupt or Downloading Empty #28365wzp
ModeratorI noticed from your other post, that you are in need of upgrading your software as well. There have been many changes to the software over the last year or so. If you could please complete the manual upgrade request form, referred to in your other post, I’m sure that this problem will resolve itself after you install the latest version.
-
AuthorPosts