Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download Products


Guest

Recommended Posts

Hi everyone... my first post here!

 

I can't seem to get the product download option working. I make a payment but it does not provide me with the link? :'(

 

I have been readin past posts relating to this issue and have done all that is needed but still no luck...

 

I have done the following:

 

- Created download folder

- setup all download options

- changed product attributes ( download days 3, max download 3 - value price I have left blank)

- Uploaded the file to the download folder

 

But after a buy the product it does not give me a download link????

 

Any suggestions :huh:

 

Thanks for your time

Link to comment
Share on other sites

Hi everyone... my first post here!

 

I can't seem to get the product download option working. I make a payment but it does not provide me with the link?  :'(

 

I have been readin past posts relating to this issue and have done all that is needed but still no luck...

 

I have done the following:

 

- Created download folder

- setup all download options

- changed product attributes ( download days 3, max download 3 - value price I have left blank)

- Uploaded the file to the download folder

 

But after a buy the product it does not give me a download link????

 

Any suggestions  :huh:

 

Thanks for your time

 

 

in the admin area, under configuration, download, do you have enable download set to True? :blink:

Miz

---------------------

Contributions

New Fields with Easy Populate

Remove Category Images

Link to comment
Share on other sites

in the admin area, under configuration, download, do you have enable download set to True? :blink:

 

 

Yes, I have done everything, still I get something like this.

 

===================================================

Order #2 (Delivered)

Order Date: Wednesday 01 December, 2004 Order Total: $0.00

 

Products

1 x How to Origami

- Color: Download: Windows - English $0.00

 

 

 

Billing Information

 

Billing Address

***MY-NAME***

***MY-ADDRESS***

 

Payment Method

Credit Card

Sub-Total: $0.00

Total: $0.00

 

 

 

Order History

 

12/01/2004 Pending

12/01/2004 Delivered

 

 

Download links

 

How to Origami Link expires: Wednesday 08 December, 2004

5 downloads remaining

 

=====================================================

 

At the end, it says, "Download links", but it's plain text, and not a link. I checked my filename also. :blink:

Link to comment
Share on other sites

I'm having the same problem.  Any help?

I also am having the exact same problem, I am running windows w/ no redirect. All that I get is plain text, no link. Dir is catalog/downloads. Anybody figure this out yet?

Thanks,Lew

Link to comment
Share on other sites

My download directory is located in my oscommerce directory...

 

 

I was receiving the same error. That is no link to the download until I downloaded the file using Unix file naming convention. Use underscores to fill blank spaces in file names.

 

Example: "file_name.pdf" instead of "file name.pdf"

Link to comment
Share on other sites

I was receiving the same error.  That is no link to the download until I downloaded the file using Unix file naming convention.  Use underscores to fill blank spaces in file names. 

 

Example: "file_name.pdf" instead of "file name.pdf"

Paul,

I am using a single word file name (unreal.zip) It is the oscom sample. I am also on a windows OS. I am not using a redirect (you can't in windows). Is your os unix/linux?

Can you please tell me your file path, maybe I am missing something there.

Thanks, Lew

Link to comment
Share on other sites

Paul,

I am using a single word file name (unreal.zip) It is the oscom sample.  I am also on a windows OS.  I am not using a redirect (you can't in windows).  Is your os unix/linux?

Can you please tell me your file path, maybe I am missing something there.

Thanks, Lew

 

 

Yes, I am on a linux host.

 

Directory to download file is : catalog/download

 

I also put directory: catalogdownload in my root because I was getting an error message telling me to place it there. While it cured the error message I do not know what function it serves because the directory is empty.

 

Are you getting a similar error?

Link to comment
Share on other sites

Yes, I am on a linux host.

 

Directory to download file is : catalog/download

 

I also put directory: catalogdownload in my root because I was getting an error message telling me to place it there.  While it cured the error message I do not know what function it serves because the directory is empty.

 

Are you getting a similar error?

Nah, no error messages. The link that shows up, isn't a link, it's just the text. Did you use a re-direct in the admin panel when you set it up? The store I am setting is on a development server (my own machine) which is windows, although my host is linux. I wonder if the problem is a windows issue??? Lew

Link to comment
Share on other sites

Nah, no error messages. The link that shows up, isn't a link, it's just the text. Did you use a re-direct  in the  admin panel when you set it up? The store I am setting is on a development server (my own machine) which is windows, although my host is linux.  I wonder if the problem is a windows issue???  Lew

 

 

That is the same problem I experienced. The text without the link. I downloaded the file again and renamed it. Then it worked.

 

I am using Redirect.

 

Which version of Download are you using? The one that is standard or a contribution.

Link to comment
Share on other sites

That is the same problem I experienced.  The text without the link.  I downloaded the file again and renamed it.  Then it worked.

 

I am using Redirect. 

 

Which version of Download are you using?  The one that is standard or a contribution.

Standard. I will try renaming the file and see what happens, thanks. Lew

Link to comment
Share on other sites

  • 1 month later...
Any luck?  lot of people seem to have this problem.. me too :(

 

 

I thing this my be the problem. Add the / before the download and pub in catalog/includes/configure.php (see below).

My works great now :)

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/pub/');

Link to comment
Share on other sites

  • 2 weeks later...
I thing this my be the problem. Add the / before the download and pub in catalog/includes/configure.php (see below).

My works great now  :)

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/pub/');

 

Ive just edited the CONFIGURE.PHP but now I am getting the following error:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/ukflava/public_html/radioactivel/includes/configure.php:63) in /home/ukflava/public_html/radioactive/includes/functions/sessions.php on line 67

 

CONFIGURE.PHP===========================

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://radioactive.net');

define('HTTPS_SERVER', 'https://radioactive.net');

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://radioactive');

define('HTTPS_COOKIE_DOMAIN', 'https://radioactive.net');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/radioactive/');

define('DIR_WS_HTTPS_CATALOG', '/radioactive/');

define('DIR_WS_IMAGES', '/radioactive/images/');

define('DIR_WS_ICONS', '/radioactive/icons/');

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

define('DIR_FS_MP3', 'data/audio/');

 

 

// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'dfdfdfde_osc1');

define('DB_SERVER_PASSWORD', 'efjVJ9dffffdPafL');

define('DB_DATABASE', 'dfdfdfde_osc1');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql');

 

// STS: ADD: Define Simple Template System files

define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');

define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

// STS: EOADD

?>

===============================

 

Can anyone spot anything wrong?

Link to comment
Share on other sites

Ive just edited the CONFIGURE.PHP but now I am getting the following error:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/ukflava/public_html/radioactivel/includes/configure.php:63) in /home/ukflava/public_html/radioactive/includes/functions/sessions.php on line 67

 

CONFIGURE.PHP===========================

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://radioactive.net');

define('HTTPS_SERVER', 'https://radioactive.net');

  define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://radioactive');

define('HTTPS_COOKIE_DOMAIN', 'https://radioactive.net');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/radioactive/');

define('DIR_WS_HTTPS_CATALOG', '/radioactive/');

define('DIR_WS_IMAGES', '/radioactive/images/');

define('DIR_WS_ICONS', '/radioactive/icons/');

  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_DOWNLOAD_PUBLIC', 'pub/');

  define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/download/');

  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

  define('DIR_FS_MP3', 'data/audio/');

// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'dfdfdfde_osc1');

define('DB_SERVER_PASSWORD', 'efjVJ9dffffdPafL');

define('DB_DATABASE', 'dfdfdfde_osc1');

  define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql');

 

// STS: ADD: Define Simple Template System files

  define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

  define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

  define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

  define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');

  define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');

  define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

  define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

  define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

  // STS: EOADD

?>

===============================

 

Can anyone spot anything wrong?

 

yeah, you didn't put the / before the "pub" folder, but did with the "download" folder. Try that.

Link to comment
Share on other sites

Hey - Thanks for that!

It is fixed  :thumbsup:

 

lucky bastard...haha....tried to do the same config's as mine, but STILL ONLY GETTING THE download text, and NOT the download links. Any suggestions as to how you got yours working and what I might could do to achieve the same success.?

 

LOL at the guess I made being the correct fix.

 

S. Boogie

Link to comment
Share on other sites

lucky bastard...haha....tried to do the same config's as mine, but STILL ONLY GETTING THE download text, and NOT the download links.  Any suggestions as to how you got yours working and what I might could do to achieve the same success.?

 

LOL at the guess I made being the correct fix.

 

S. Boogie

 

Where is your download folder located?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...