Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download problem (httpdocsdownload folder not found)


movingfusion

Recommended Posts

Posted

I have been looking all around the web to get this fixed, without succes so far.

 

After I have added a product download (using every step in the tutorials available) and when I try to 'purchase' this, all goes well, but in the end there is no working download link! Instead, all the time the error message in the topic title appears.. The thing is, I do use the folder "download" under httpdocs, but not a folder called 'httpdocsdownload'.

 

So what am I doing wrong?

 

Thanks a lot for any help.

Posted
I have been looking all around the web to get this fixed, without succes so far.

 

After I have added a product download (using every step in the tutorials available) and when I try to 'purchase' this, all goes well, but in the end there is no working download link! Instead, all the time the error message in the topic title appears.. The thing is, I do use the folder "download" under httpdocs, but not a folder called 'httpdocsdownload'.

 

So what am I doing wrong?

 

Thanks a lot for any help.

 

 

Nobody?

Please find below the error message which appears at the top of my site. The directory indeed does not exist, but then it shouldn't be asked for in the first place! Because via FTP I can see that the right folder location should be: httpdocs/download. SO why does it nag about 'httpdocsdownload' ?

Warning: The downloadable products directory does not exist: /var/www/vhosts/domain/httpdocsdownload/. Downloadable products will not work until this directory is valid.

 

Please help me out..

Posted

OK, anyone tearing their hair out on this one, I have found the solution. First use this tutorial: http://www.oscommerce.com/forums/index.php?showtopic=236224

 

then, add this code to configure.php (within 'Includes')

 

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

define('DIR_FS_CATALOG', '/var/www/vhosts/yourdomain/httpdocs/');

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

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

 

then you're set. PEACE!

  • 6 months later...
Posted

OK, anyone tearing their hair out on this one, I have found the solution. First use this tutorial: http://www.oscommerce.com/forums/index.php?showtopic=236224

 

then, add this code to configure.php (within 'Includes')

 

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

define('DIR_FS_CATALOG', '/var/www/vhosts/yourdomain/httpdocs/');

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

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

 

then you're set. PEACE!

 

This sounds like exactly the solution I need, but my configure.php file is set as read-only. I can't edit it! HELP!!

Posted

This sounds like exactly the solution I need, but my configure.php file is set as read-only. I can't edit it! HELP!!

 

OK, I figured out how to edit my config file, and now it's working. Thank you so much!

Archived

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

×
×
  • Create New...