Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! Download File is not working (download.php)


sklarbodds

Recommended Posts

Posted

Hi All!

 

I've been searching this forum for about 2 hours now and cannot find a solution for this. I am trying to create a site for a customer where he can sell videos for customers to download.

 

The problem I'm running into is after I place a test order and try to download the item, I get a 'file not found' error:

 

"Internet Explorer cannot download dowload.php from cmvideo.psdodds.com. The requested site is either unavailable or cannot be found" the url generated for the link is: https://cmvideo.psdodds.com/download.php?order=8&id=4

 

My catalog is https://cmvideo.psdodds.com and you're welcome to try it out, no CC auth setup yet so you can put in a dummy CC to test if you'd like.

 

My hunch is it's something to do with a directory problem with the configure.php, but I can't find anything.

 

What I've tried:

1) added a '/catalog/download' directory with the file in it (since mine's on the root)

2) added a '/catalogdownload' directory (per someone else's suggestion

3) Tried a different file (all files have simple file names, no spaces, etc.)

4) Looked over my configure.php (I'll post below).

5) Checked permissions to 777 on downloads directory

 

Any suggestions would be very appreciatted.

 

oscommerce_error.gif

 

 

Here's my configure.php entry.

 

define('HTTP_SERVER', 'https://cmvideo.psdodds.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://cmvideo.psdodds.com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'psdodds.com');

define('HTTPS_COOKIE_DOMAIN', 'psdodds.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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

define('DIR_WS_ICONS', DIR_WS_IMAGES . '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', '/kunden/homepages/45/d150968886/htdocs/psdodds/cmvideo/www_root/');

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

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

 

Thanks for your help!

 

Skylar

Archived

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

×
×
  • Create New...