Downloaded file error message
Hi,
I set up downloadable products (Embroidery designs) in ZenCart.
Everything looks OK.
The green boxes show the downlodable files in Attributes controller.
When the customer downloads the file, it is a text INDEX file with the following error message:
"<br />
<b>Warning</b>: symlink(): No such file or directory in <b>/home/vod/public_html/Embroidery_Designs/includes/modules/pages/download/header_php.php</b> on line <b>115</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/vod/public_html/Embroidery_Designs/includes/modules/pages/download/header_php.php:115) in <b>/home/vod/public_html/Embroidery_Designs/includes/functions/functions_general.php</b> on line <b>52</b><br />
"
I have these files in place.
Anyone can tell me what went wrong?
Thank you for the help,
Re: Downloaded file error message
What version php?
What version of Zen Cart?
Is this a clean install or an upgrade?
If an upgrade, what version did you upgrade from?
Has this ever worked?
/pub should be 777
Download files should be loaded in /download
The filenames should contain no spaces nor special characters ...
Files should be Zipped ...
Is this a unix or windows server?
Do you have Redirect turned on in the Attribute Settings?
How large is the download?
What happens if you try a small download around 100k?
Re: Downloaded file error message
Quote:
Originally Posted by Ajeh
What version php? - 4.3.11
What version of Zen Cart? - 1.3.0
Is this a clean install or an upgrade? - Upgrade from 1.2.6 - according to server_info.php
If an upgrade, what version did you upgrade from? 1.2.6 - I am not sure!
Has this ever worked? - yes, without zipped files(*.DST, *EXP, - embroidery files)
/pub should be 777 - yes
Download files should be loaded in /download - the design files are in: download/FreeDesigns/file.DST
The filenames should contain no spaces nor special characters ...
Files should be Zipped ... - worked before without zipped it, don't works now even with zipped file.
Is this a unix or windows server? linux 2.4.3
Do you have Redirect turned on in the Attribute Settings? - Yes
How large is the download? 12kb plain, 7KB zipped
What happens if you try a small download around 100k?
I made test downloads after the original installation and worked fine.
I did not checked after the upgrade until now.
I have no idea what happened.
You can try the free product download if you think that helps.
Here is the shortcut:
http://www.vodmochka.com/Embroidery_Designs/
Thanks for checking into it.
Re: Downloaded file error message
Could you perhaps answer these questions as I haven't a clue what is going on without some input here from you ...
Downloads work great for me ...
Did anything change on your hosting site?
New version? Upgrades of any kind?
Re: Downloaded file error message
Quote:
Originally Posted by Ajeh
Could you perhaps answer these questions as I haven't a clue what is going on without some input here from you ...
Downloads work great for me ...
Did anything change on your hosting site?
New version? Upgrades of any kind?
Yes, there is a totally new cpanel an the admin site.
Host is "Stormwire"
Re: Downloaded file error message
Downloads were never designed for subdirectories:
download/FreeDesigns/file.DST
They were designed to be:
download/file.DST
What happens if you turn off the Redirect in the Attribute Settings?
Note: it is not a good idea to use upper/lower case mix in URLs on the web ... no one will ever remember:
http://www.vodmochka.com/Embroidery_Designs
They may remember:
http://www.vodmochka.com/embroidery_designs
Granted I have trouble spelling emroidery ... :cry:
Re: Downloaded file error message
I changed the download folder from 755 to 777 and the shopping cart don't show the "Download" button anymore.
I changed it back to 755 still no "Download" button.
There is no "Download" button in the customer accounts either.
I have no idea what I messed up.
Re: Downloaded file error message
There are a lot of bugfixes since v1.3 ...
You may wish to upgrade to v1.3.0.2 ... note used the Full v1.3.0.2 as the changed version is only to go from v1.3.0.1
There are some display issues right now in your v1.3 where the downloads link do not show on the downloads that are not available because of orders_status or expired ...
Update the Order to orders_status >= 2 or <= 4 and they should show ... or if expired ... reset them on the Order ...
Re: Downloaded file error message
I changed the redirect setting. The "Download" button come back, but still the index file shows.
I will put the design files directly in the download folder.
I will let you know what happens.
One question:
Is there a way to manage hundreds of downloads in the "download" folder, or all have to be in the same folder.
I have 6 files for every item. That is 168 files with 28 items I have now in the cart. I want to put up hundreds of items in a short period of time. It will be a nightmare to manage so many files without putting them in forlders.
Do you have any suggestions?
Re: Downloaded file error message
At this time, Zen Cart uses the /download directory ...
We will be looking into changing this in a future release ...