Terry Paulhus
Ecommerce Template Expert
Canada
573 Posts |
Posted - 12/13/2024 : 16:17:58
A while back I had my product (digital) downloads linked to AMS S3 Bucket. I have the link placed in each download field. Now for some reason it's not working. Ordering an item it comes up with this error on the page. quote: Warning: Undefined array key "PATH_TRANSLATED" in /home/xxxxxxx/public_html/xxxxxx/vsadmin/dodownload.php on line 105
I looked at line 105 and it is " $seBody .= "Path to this script : " . $_SERVER["PATH_TRANSLATED"] . $emlNl;" I may have played with something causing this... I'm known to do that. Can someone help me out with what the cause might be or point me in the right direction? Terry Terry (Redsei)
|
Vince
Administrator
42836 Posts |
Posted - 12/18/2024 : 04:02:24
Hi Terry This is a debug line that will send you the physical location of the current directory as an aid to debugging why your download can't be found. It seems that the "PATH_TRNASLATED" setting should be replaced and I've done that now so if you get a new copy of the updater and copy the /vsadmin/dodownload.php script to your site and try again then at least you should get some meaningful debug that should help set the path to your download files. Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
Terry Paulhus
Ecommerce Template Expert
Canada
573 Posts |
Posted - 12/18/2024 : 05:12:48
Thanks Vince, I’ll update right away.
Terry (Redsei)
|
Terry Paulhus
Ecommerce Template Expert
Canada
573 Posts |
Posted - 12/18/2024 : 11:58:30
Thanks again Vince for that update. The error looks a lot better... (attached) Now I have someone on the AWS S3 problem (I will share with everyone once complete) QUESTIONIs there an area or html code that I can change to spruce up this error to be more user friendly? Terry Terry (Redsei)
|
Vince
Administrator
42836 Posts |
Posted - 12/19/2024 : 02:16:37
|
Terry Paulhus
Ecommerce Template Expert
Canada
573 Posts |
Posted - 12/26/2024 : 08:53:02
Hey Vince, my Amazon S3 guy has correctly done all of the permissions for my product. However, the link is still not working on my store.
1. I currently have dodownloads running, as I have some FREE product that is small (PDFS) that can be downloaded off my server. 2. I swapped out the "a" in the downloads field in the product section and put in the link to the amazon stored file
So I still get the message "If you are trying to download the products you have just purchased, then I am afraid you have received this page in error. Firstly please accept our sincerest apologies. Please email us...."
Is there something missing? Do I turn off digital downloads?
Terry (Redsei)
|
Vince
Administrator
42836 Posts |
Posted - 12/28/2024 : 12:06:11
|
Terry Paulhus
Ecommerce Template Expert
Canada
573 Posts |
Posted - 12/28/2024 : 12:15:07
Thanks Vince, I’ve made sure that everything was done. So it must be on the AWS side of my developer. I’ll keep you posted.
Terry (Redsei)
|
Terry Paulhus
Ecommerce Template Expert
Canada
573 Posts |
Posted - 01/05/2025 : 18:51:43
Hey Vince, when you have time I need some help.
I have gone through two S3 guys with no luck. One guy was sketchy though....
The permissions and policies are right and on their end they say everything is good. Still getting the error
Question: With the buying of product, for this test I have been using the payment method of email. It was getting expensive going through paypal everytime for the testing.
Does the EMAIL method release the product when the transaction is done? Could that be causing the issue. In the INCLUDES I have $digidownloads=TRUE; and $digidownloadmethod="filesystem"; with the $digidownloadpattern set up for the odd file on the hosting site. Could that be messing things up?
Help! I've lost so much hair already.....
Terry (Redsei)
|
Vince
Administrator
42836 Posts |
Posted - 01/06/2025 : 05:28:11
|
Terry Paulhus
Ecommerce Template Expert
Canada
573 Posts |
Posted - 01/06/2025 : 07:58:22
I did, updated and to me the info doesn't help...
I did have the S3 guy have a look but he was lost a bit as well.
Is there a tracking code or something that you can attach to see what the problem is... if it's from the store or Amazon?
Terry (Redsei)
|
Terry Paulhus
Ecommerce Template Expert
Canada
573 Posts |
Posted - 01/12/2025 : 08:34:21
So kuddos to Phil and Vince for helping me out with this. Why AMAZON S3?
I have over 10,000+ products and a storage solution on a hosting site was a no-go (too expensive). Amazon is basically pennies to store. What I didn't know?
I had $digidownloadmethod and $digidownloadpattern in the includes "on". I needed to comment those out. I had to make the decision to either use the hosting solution or the outside solution. Thanks again guys. Now back to regrowing my hair! Terry (Redsei)
|
|
|