Downloads include path in filename plus
www.missioninfobank.org
1.5.6c upgraded from 1.5.6a via automated script
PHP Version: 7.0.27 (Zend: 3.0.0)
mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
With 1.5.6a I had to strip the path off of $data['orders_products_filename'] to have the downloads work and also not display path to the user.
With 1.5.6c I made the same change but with or without that change it tries to download server + path/filename, i.e., https://www.missioninfobank.org/mibh...bution_Map.pdf
Re: Downloads include path in filename plus
Oddly I'm intrigued. What was changed, why was it changed, why is so much information has been made available to the customer, what the settings are for downloads, if all of the download files have been provided (since was an auto-installer instead of the recommended more manual install.
Re: Downloads include path in filename plus
I'm concerned that whatever the upgrade script did was in error. It has always been my suggestion to not use these for Zen Cart. Did it make a backup first?
~Melanie
Re: Downloads include path in filename plus
Yes. We went back to 1.5.6a on the production machine but left the database alone.
Re: Downloads include path in filename plus
I also noticed that no matter which template I use the index.php?main_page=account_history_info&order_id=### page doesn't display the filename