Forums / Setting Up Categories, Products, Attributes / How to set up downloadable products?

How to set up downloadable products?

Locked

Views: 70,822

Results 121 to 140 of 222
This thread is locked. New replies are disabled.
29 Oct 2008, 11:57 AM
#121
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

How to set up downloadable products?

Ajeh:

Have you checked with your hosting provider to see if they have changed something or need to change something on the server to allow for symbolic links or downloads etc.

It seems odd that it worked the other day and doesn't today ...

I sent the question to my hosting provider. Hopefully will have the answer tonight.

Thanks alot for trying to help me.

Also I tried WHAnderson's suggestion and it wasnt working either.

Should I just delete the whole zencart on my site and restart from beginning? Since it was working this weekend maybe I'm the one that changed something without knowing it :S
I dont mind redoing it all if I have to cause it really stopped working after I tried to move the download folder.

Nathy

29 Oct 2008, 3:37 PM
#122
ajeh avatar

ajeh

Oba-san

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

Re: How to set up downloadable products?

Why not try a test install in another directory with another database and load the demo products and see if that works without any changes ...

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!

30 Oct 2008, 1:24 AM
#123
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Ajeh:

Why not try a test install in another directory with another database and load the demo products and see if that works without any changes ...

Ok I installed zencart in another directory and installed the demo and then tested a download without changing anything and I got the same "page can not be found". Sigh..

The link for the demo is http://www.nathy.net/catalog/

I'm still waiting on my hosting provider for the answer to the question I send them this morning. I will see what they say and then I will let you know.

Must admit I'm really getting discouraged here :(

Nathy

30 Oct 2008, 10:54 AM
#124
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Hello Ajeh,

I went into my new test zencart admin and changed Download by Redirect to false and Download by streaming to true. Now I went back to the demo store and tried to download an order and it worked. :)

But I'm still waiting on my hosting provider to answer me as to why redirect is not working. So hope they can fix that.

Nathy

30 Oct 2008, 11:05 AM
#125
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Hello Ajeh,

I went into my old zencart admin and changed Download by Redirect to false and Download by streaming to true. Now I went back to my store and tried to download an order and it didnt worked once again. So I guess I really did mess things up in that one.

Now what would be the next step to be able to fix that? Delete this zencart and use the test zencart instead?

Thanks for your help.

Nathy

30 Oct 2008, 1:59 PM
#126
ajeh avatar

ajeh

Oba-san

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

Re: How to set up downloadable products?

What add-ons are you using on your shop?

Could you post, from the server, without your username and password the files:
/includes/configure.php
/admin/includes/configure.php

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!

31 Oct 2008, 11:54 AM
#127
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Ajeh:

What add-ons are you using on your shop?

Could you post, from the server, without your username and password the files:
/includes/configure.php
/admin/includes/configure.php

Hello Ajeh,

Sorry for delay but with Halloween I've been kinda busy at home :)

What are add-ons? I only used what is in zencart, well as far as I know anyway.

This is includes/configure.php:

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.nathy.net'); define('HTTPS_SERVER', 'https://www.nathy.net'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/users/web/b788/pow.natsto/htdocs/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'natsto.powwebmysql.com'); define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'nathystore'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/users/web/b788/pow.natsto/htdocs/shop/cache'); // EOF

This is /admin/includes/configure.php:

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // Main webserver: eg-http://www.your_domain.com - // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings * * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following: */ define('HTTP_SERVER', 'http://www.nathy.net'); define('HTTPS_SERVER', 'https://www.nathy.net'); define('HTTP_CATALOG_SERVER', 'http://www.nathy.net'); define('HTTPS_CATALOG_SERVER', 'https://www.nathy.net'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/shop/samcat/'); define('DIR_WS_CATALOG', '/shop/'); define('DIR_WS_HTTPS_ADMIN', '/shop/samcat/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home/users/web/b788/pow.natsto/htdocs/shop/samcat/'); define('DIR_FS_CATALOG', '/home/users/web/b788/pow.natsto/htdocs/shop/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'natsto.powwebmysql.com'); define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'nathystore'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/users/web/b788/pow.natsto/htdocs/shop/cache'); // EOF

Hope this helps you. Thanks!
Nathy

31 Oct 2008, 6:38 PM
#128
ajeh avatar

ajeh

Oba-san

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

Re: How to set up downloadable products?

On the site that works ... what happens if you make a new product and add a zip that doesn't work on your broken site?

Does that work on the site that is currently working?

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!

1 Nov 2008, 11:33 AM
#129
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Ajeh:

On the site that works ... what happens if you make a new product and add a zip that doesn't work on your broken site?

Does that work on the site that is currently working?

Hello Ajeh,

Yes it does work. I added Halloween Labels as a free item under Test10% with same option name Download - Dropdown and same option value Zip File I used in the other site and voila.

Think I will just flush the first store all together and work on the second. What you think?

Thanks alot for all your help.

Nathy

1 Nov 2008, 11:52 AM
#130
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

My hosting provider asked me to set my download to Redirect and give them everything so they can check it out. So my test store is back to Redirect for now. I will leave it like that until they answer me.

I will keep you inform Ajeh and thanks again.

1 Nov 2008, 3:18 PM
#131
ajeh avatar

ajeh

Oba-san

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

Re: How to set up downloadable products?

Either that or try checking to see if there is a code issue by using something like Beyond Compare from scootersoftware.com to compare the code in the two shops to see where there might be differences ...

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 Nov 2008, 12:44 AM
#132
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

NathyBelle:

My hosting provider asked me to set my download to Redirect and give them everything so they can check it out. So my test store is back to Redirect for now. I will leave it like that until they answer me.

I will keep you inform Ajeh and thanks again.

Ok here's what my hosting provider told me :
The link gets re-directed to http://www.nathy.net/catalog/pub/.rcxjndqcsoxkiwzhf/nathy_halloweenlabels.zip when the steps you gave are followed from http://www.nathy.net/catalog/pub . You have to configure the digital download correctly. For more help, please contact ZenCart support.

Yeah like I can guess the exact path or can I? :wacko:

Think I'm just gonna stick with download by streaming since its working.

Thanks for all your help Ajeh. I will just restart my store from scratch.

Nathy

7 Nov 2008, 5:35 PM
#133
ajeh avatar

ajeh

Oba-san

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

Re: How to set up downloadable products?

Tell your hosting site to make sure you have the ability to use symbolic links from the .htaccess file in the /pub directory:

#prevent directory browsing -- for security
IndexIgnore */*

  Options +FollowSymLinks -Indexes

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!

8 Nov 2008, 8:07 PM
#134
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Thanks Ajeh,

I told them exactly that. Thanks for all your help!!! :)

Nathy

9 Nov 2008, 1:32 PM
#135
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Well seems my download aint working right for some people.

One of my friend did a test download and here's what she told me :

Nathy,
I have tried a couple of times to download these three files but they only
download part of the files and then closes on me. sigh I don't know what
is going on. It happens on all three files!

I tested these 3 same files and I didnt have any problems at all so I am not sure if its my download again or if its her internet.

Would someome mind trying to download the same files and see if it works for you? Everything is free for now in my store. The 3 files are the ones under Templates : Flower Templates, Rond Tag Templates and Flower Seamless Patterns.

Link is http://www.nathy.net/shop/

I am seriously thinking about changing hosting provider, cant say they are very helpful :cry:

Thank you so much.
Nathy

9 Nov 2008, 9:35 PM
#136
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Ajeh:

Tell your hosting site to make sure you have the ability to use symbolic links from the .htaccess file in the /pub directory:

#prevent directory browsing -- for security
IndexIgnore /

Options +FollowSymLinks -Indexes


Hello Ajeh,

Well they did just that and the code is now into .htaccess in the pub directory but yet download by redirect wont work.

Now when I got into my control panel for my web site in the .htaccess editor there is a place for URL Redirect.  It is actually empty but I am wondering if that would work.

> URL Redirect 
> 
> Add new URL Redirect
>  
> Redirect this URL: <http://www.nathy.net/shop/download/>
>  
> To this URL:  <http://www.nathy.net/shop/pub/>


I really dont know what to do anymore. Seems download by streaming working fine for me but as I posted earlier, it wasnt working for my friend who tested the download for me.

About to give up :(

Nathy
10 Nov 2008, 3:56 AM
#137
ajeh avatar

ajeh

Oba-san

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

Re: How to set up downloadable products?

Don't make changes in the Control Panel ...

If you cannot use the .htaccess to manage this, then either your hosting provider needs to configure something properly for you to utilize symbolic links or you are limited by their settings ...

I am glad that you have a solution that can work for you ...

How large are your download files?

What happens if you setup a Test Product with a tiny zip file when the Redirect is turned ON?

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 Nov 2008, 12:47 PM
#138
nathybelle avatar

nathybelle

New Zenner

Join Date:
Oct 2008
Posts:
17
Plugin Contributions:
0

Re: How to set up downloadable products?

Well yes download by streaming works for me on my computer but as I said in another post its not working for my friend who tried it. Would you mind testing to download something on my site please? Link is http://www.nathy.net/shop and everything is free.

My files sizes are from 10 kb to 30 mb, its scrap stuff so some files are big. And yes I did add a small zip file to test the redirect and I still get the cant be found page so its clear redirect is not working.

Right now I'm looking at the list of certified hosts you have to find me another hosting provider. I have to renew my site by january anyway.

Nathy

10 Nov 2008, 3:04 PM
#139
ajeh avatar

ajeh

Oba-san

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

Re: How to set up downloadable products?

I created an account and did a checkout with a Download that was 2+meg and had no problem ...

Are there any particular products_id that are having issues?

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 Nov 2008, 6:41 PM
#140
whanderson avatar

whanderson

New Zenner

Join Date:
Mar 2007
Posts:
30
Plugin Contributions:
0

Re: How to set up downloadable products?

I just did, at 1:35 pm EST, a test download and had no problems with the downloads.

However, the file sizes are over 1 meg. That may cause some problems for people who are using Dial-Up and some low-end broadband connections. They might need to install a Download Manager to allow them to continue the downloads if they get cut-off.

NathyBelle:

Well seems my download aint working right for some people.

One of my friend did a test download and here's what she told me :

I tested these 3 same files and I didnt have any problems at all so I am not sure if its my download again or if its her internet.

Would someome mind trying to download the same files and see if it works for you? Everything is free for now in my store. The 3 files are the ones under Templates : Flower Templates, Rond Tag Templates and Flower Seamless Patterns.

Link is http://www.nathy.net/shop/

I am seriously thinking about changing hosting provider, cant say they are very helpful :cry:

Thank you so much.
Nathy

Life is a Team effort with God leading.