Guest Posted July 27, 2005 Share Posted July 27, 2005 Right, we're as green as they come when it comes to osCommerce. I've personally trawled for many many hours in this forum trying to resolve the digital download problem. Here's what we did to fix it... 1) Download the 'Download Controller' contribution. I tried version 5, but after installing it removed all payment/shipping modules :( However, version 5.3 (Download_Controlle_v5.3 MS_2.2.zip) worked fine. Installation: If its the first contribution you're installing, simply ftp the files into ur osCOmmerce directory (Admin->Admin, Catalog->Root). Otherwise, append the php files manually (readme.txt). Run the sql queries included (cut&paste into phpMyAdmin's 'run query' box) 2) Edit ur configure.php file (Includes/configure.php) and fill in the missing slashes. i.e.: 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/'); to 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/'); otherwise you get an error saying it can't find (shop)download, as opposed to looking in (shop)/download CHMOD the 'pubs' and 'download' directory to '777' Note: I personally had to disable the 'download by redirect' (Configuration->Download) off, otherwise I got a 404 error Check here for further nfo I'd be lying if I said I figured this out myself, as the info was gleamed from many threads in this forum. However, I thought I'd try and save people some time (and late nights :) ) by consising the info required. This won't by any means resolve everyones issues, but is a starting point for complete beginners. Any further info I we find out, I'll put it up on here. Good luck! Link to comment Share on other sites More sharing options...
Halfpint Posted July 27, 2005 Share Posted July 27, 2005 Right, we're as green as they come when it comes to osCommerce. I've personally trawled for many many hours in this forum trying to resolve the digital download problem. Here's what we did to fix it... 1) Download the 'Download Controller' contribution. I tried version 5, but after installing it removed all payment/shipping modules :( However, version 5.3 (Download_Controlle_v5.3 MS_2.2.zip) worked fine. Installation: If its the first contribution you're installing, simply ftp the files into ur osCOmmerce directory (Admin->Admin, Catalog->Root). Otherwise, append the php files manually (readme.txt). Run the sql queries included (cut&paste into phpMyAdmin's 'run query' box) 2) Edit ur configure.php file (Includes/configure.php) and fill in the missing slashes. i.e.: 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/'); to 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/'); otherwise you get an error saying it can't find (shop)download, as opposed to looking in (shop)/download CHMOD the 'pubs' and 'download' directory to '777' Note: I personally had to disable the 'download by redirect' (Configuration->Download) off, otherwise I got a 404 error Check here for further nfo I'd be lying if I said I figured this out myself, as the info was gleamed from many threads in this forum. However, I thought I'd try and save people some time (and late nights :) ) by consising the info required. This won't by any means resolve everyones issues, but is a starting point for complete beginners. Any further info I we find out, I'll put it up on here. Good luck! <{POST_SNAPBACK}> You might want to add this info in the tips section Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.