Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 AWS S3 Storage download issue
Author « Topic »  

Terry Paulhus
Ecommerce Template Expert

Canada
559 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

42789 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 Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Terry Paulhus
Ecommerce Template Expert

Canada
559 Posts

Posted - 12/18/2024 :  05:12:48  
Thanks Vince, I’ll update right away.

Terry (Redsei)

Terry Paulhus
Ecommerce Template Expert

Canada
559 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)

QUESTION
Is 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

42789 Posts

Posted - 12/19/2024 :  02:16:37  
Hi Terry
quote:
Is there an area or html code that I can change to spruce up this error to be more user friendly?
Well, it probably should be a bit neater so I've spruced it up a little and added a class so you can style more if you like. This is now in the v7.8 version of vsadmin/dodownload.php. But this is really a "shouldn't be here" kind of text as if everything is working as it should the customer should never see this message.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000