Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

download path problem


Guest

Recommended Posts

Posted

Hi,

 

Whenever I enable the download set to true I get this error at the top of the store page:

Warning: The downloadable products directory does not exist: /home/httpd/vhosts/affairstoremember.org/httpdocs/catalogdownload/. Downloadable products will not work until this directory is valid.

 

The configure file says:

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

like all the stores.

 

If I set the configure to:

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

the error goes away but the download doesn't work.

Posted

what do you mean the download doesn't work? do you get another error message? check the permissions on the download dir...

Do you ship UPS?

Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL

 

Download the contribution here:

UPS Tracking

Posted

The permissions are 777 for pub and 755 for download folder.

 

Warning: The downloadable products directory does not exist: /home/httpd/vhosts/affairstoremember.org/httpdocs/catalogdownload/. Downloadable products will not work until this directory is valid.

 

You see there is no slash after catalog/ so this is the problem but the configure files install it this way.

Posted

what I meant was after you add the needed / in the config. you say the download still doesn't work. do you get a different error msg. than the one above?

Do you ship UPS?

Give your customers order tracking without leaving your site. Track multi-package shipments. XML, cURL

 

Download the contribution here:

UPS Tracking

Posted

Oh,,, after adding the /download/ like this in the configure file the download works.

 

One product I tested downloaded but could not be opened because it said it was corrupted.

 

Another product I tested would not even download because of an IE error.

 

Both of these are pdf files.

 

I did put in a bug report because that forward slash is not suppose to be there.

Archived

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

×
×
  • Create New...