Forums / Setting Up Categories, Products, Attributes / Downloaded file error message

Downloaded file error message

Locked

Started by portraitartist on 9 Jul 2006, 10:44 PM · Views: 11,478

Results 1 to 20 of 62
This thread is locked. New replies are disabled.
9 Jul 2006, 10:44 PM
#1
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

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,

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

10 Jul 2006, 12:49 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jul 2006, 1:56 AM
#3
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

Re: Downloaded file error message

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.

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

10 Jul 2006, 2:00 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jul 2006, 2:04 AM
#5
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

Re: Downloaded file error message

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"

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

10 Jul 2006, 2:19 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jul 2006, 2:24 AM
#7
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

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.

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

10 Jul 2006, 2:28 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jul 2006, 2:52 AM
#9
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

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?

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

10 Jul 2006, 3:22 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Jul 2006, 10:11 PM
#12
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

Re: Downloaded file error message

Hi,

I put all the download files in the download directory and deleted all the forlders.
Now the download button do not show up in the checkout.
Also missing in the cutomer's account, so my customers can not download the files previously purchashed.
I put out the Maintanence page for now and I will switch back to normal mode, if you think that would help. Please let me know.

Please help me figure out what happened with the "Download" buttons?

My next question is connected to this problem, but may be more suitable for another forum.

Should I upgrade now, or I better wait for the 1.4.0 release and upgrade to that?

I was thinking to upgrade the whole program to 1.3.2, (currently I have 1.3.0) but I am afraid I will mess up what I have even more.
I installed the cart through Cpanel (1.2.6), only needed to put the admin login and password. I also upgraded to the current version through cpanel.
The new version of cpanel do not support ZenCart, so I am on my own.
I spent more than a year to learn ZenCart and the features are perfect for my business. (Embroidery Design Downloads)
I did not change any original files that was not necessary. I made all the changes with the override system.

Please help me find the problem with the Download buttons and help me decide which version to update ZenCart.

Thank you,

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

12 Jul 2006, 2:44 AM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloaded file error message

Doing the upgrade is important ...

Fixing the downloads can be done ...

Look in the database at the products_attributes_download table ... you should only see the filename not a directory/filename

Look in the orders_products_download table ... again, you should only see the filename and not a directory/filename

If you see both, then these need to be cleaned up ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Jul 2006, 3:32 AM
#14
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

Re: Downloaded file error message

It is easy for you to say look in the database.
I never looked, so I don't know how to.

I downloaded a backup of the ZenCart database from my website and opened it with Excel.
It looks like a script rather than a database.
Would you tell me where can I find information how to look in the database.
Your help is greatly appreciated.

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

12 Jul 2006, 4:04 AM
#15
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

Re: Downloaded file error message

Hi again,
I checked the database files with phpMyadmin.
The "product_attributes_download" filenames are OK. (Without the folder name)
In the "orders_product_download" table some of the file names have the folder front of it. Would you tell me how I can change that.

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

12 Jul 2006, 4:34 AM
#17
portraitartist avatar

portraitartist

New Zenner

Join Date:
Mar 2006
Posts:
86
Plugin Contributions:
0

Re: Downloaded file error message

Dear Ajeh,

The "Download" buttons are back again.
Thank you for the guidance.
I learned a lot about my website and ZenCart.

I hope to see the updates for the download file structure.
Once I update to the new version (1.4.0) I probable will need a new payment module for ECI paymant gateway for credit cards payments. I have this on my other websites that I also want to convert to ZenCart.

Thanks again,

Our New Zen cart: https://www.EmbroideryPortraits.com/Gifts/
https://www.vodmochka.com/Embroidery_Designs
All critics and suggestions are welcome!

13 Jul 2006, 4:01 AM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloaded file error message

Thanks for the update and glad you got your downloads working happily again ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Aug 2006, 10:39 PM
#19
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Downloaded file error message

Hi, I've sucessfully completed the downloadable section, its working fine except a strange error while opening the file "WINZip, Cannot open file: it does not appear to be a valid archive. If you downloaded this file, try downloading the file again." despite of file size is same and accorate.
I am using Zen-cart Ver 1.27 under Windows 2K IIS 5.
https://www.imranseries.com

7 Aug 2006, 11:45 PM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloaded file error message

You either have bad files uploaded that you are downloading ... or you have incomplete downloads occuring ...

Do you receive the downloads by the correct name?

Are they the correct size?

Is this a unix or windows server?

How large are the downloads?

Do the filenames for the downloads contain spaces, special characters or extra periods beyond the filename.ext

Are the all loaded to /download directory?

Is pub set to 777

If unix is Redirect turned ON

If windows is Redirect turned OFF

Do small downloads of less than 100k work?

Do you see the green dot next to the filename on the Attributes Controller?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!