KYHighlander Posted November 24, 2006 Posted November 24, 2006 Hi guys, You all have been very helpful in getting my project up and running and I thank you. I need one more problem solved and I can open for business. Everything is working just the way I want it except I cannot figure out how to get my digital products available to download. I checked the knowledge base but no joy. If one of you wizards could help me through this I would truly appreciate it. Bob
OceanRanch Posted November 24, 2006 Posted November 24, 2006 Try the following thread for a few good tips. http://www.oscommerce.com/forums/index.php?sho...=135941&hl= HTH Tom
KYHighlander Posted November 24, 2006 Author Posted November 24, 2006 If this wasn't the proper forum for this question, please direct me to the proper forum.
KYHighlander Posted November 24, 2006 Author Posted November 24, 2006 Try the following thread for a few good tips. http://www.oscommerce.com/forums/index.php?sho...=135941&hl= HTH Tom Thanks so much Tom, I'll check it out. there is so much here to find what you need is really a problem. Bob
HelleM Posted November 24, 2006 Posted November 24, 2006 Hi I use "Pending_downloads_v2.10" - that does it for me Helle :-)
KYHighlander Posted November 24, 2006 Author Posted November 24, 2006 HiI use "Pending_downloads_v2.10" - that does it for me Helle :-) thanks! Is that in contributions? I'll give it a try.
KYHighlander Posted November 25, 2006 Author Posted November 25, 2006 Try the following thread for a few good tips. http://www.oscommerce.com/forums/index.php?sho...=135941&hl= HTH Tom Tom, Tried all this stuff and still not working. In the filename box under products attributes do I put the full path to the file or just the test.zip filename? I have just put the filename. LOL am pulling out my hair. LOL
KYHighlander Posted November 25, 2006 Author Posted November 25, 2006 Tom, Tried all this stuff and still not working. In the filename box under products attributes do I put the full path to the file or just the test.zip filename? I have just put the filename. LOL am pulling out my hair. LOL also I want the store to be self contained, I don't want to have to baby sit it and set orders to delivered.
OceanRanch Posted November 26, 2006 Posted November 26, 2006 tests.zip with 0 weight no full path. Make sure you have the downloads folder created that is specified in your configure.php. The download controller contribution is almost a must have to allow for handling of special status settings. You may needed to coordinate with your payment modules on the order status settings. Tom
KYHighlander Posted November 26, 2006 Author Posted November 26, 2006 tests.zip with 0 weight no full path. Make sure you have the downloads folder created that is specified in your configure.php. The download controller contribution is almost a must have to allow for handling of special status settings. You may needed to coordinate with your payment modules on the order status settings. Tom It shows in the purchase history so shouldn't it have an option to download it from there? Also when the email notice goes out the url to the order is listed with catalog twice instead of once. I am suspecting that this may have something to do with it but it is not doubled up in any of the configure.php defines. Also my server is running Microsoft server so I am not using redirect. Before I set up my site with the company I went with I asked them how difficult it would be to do what I am trying to do. Thier reply was that it was easy, but if I needed help they would assist me. So far they point me here and to the online tutorials at thier web site. LOL so much joy. I'll take a look at that contribution you were talking about, is it in the contributions? Thanks for your help Bob
KYHighlander Posted November 27, 2006 Author Posted November 27, 2006 Arrrgggg!!! LOL I am almost ashamed to admit this, but I will incase it might help someone else. I went over everything trying to get this download thing working. I went over almost every line of code associated with downloads trying to find the problem. I bombarded my webhost for assistance. I pestered you folks here. Then I solved the problem. I had uploaded the file to be downloaded using Frontpage, Frontpage said that it uploaded it successfully. Each time I logged into Frontpage the file was right there where it was supposed to be. So naturally I thought it was there. Today I downloaded an FTP client just to make things easier and just by chance went to look in that download folder. The file wasn't there. I uploaded the file using the FTP client and it works like a charm now. So to anyone who is beating thier heads against the wall trying to get downloads working. Just put your skepticism on hold for a moment, download an FTP client and check to see that the file is actually in the folder it is supposed to be in. Just because Frontpage says it is in there don't make it so. I'd just like to thank Helle and Tom for the help they gave me and appologize for being a dumbass! LOL Bob
badkitty Posted November 28, 2006 Posted November 28, 2006 hi guys, i too am going a little nuts with download. Can someone help me out. where do i place the download files? i feel really stupid. I have enable download options from what i have read. when i go through the checkout and pay, all this works fine, i get sent back to the download page but no link. So where should i place the download? do i just create a download file on my server " to put my files into and direct or add a html redirect or adress of file? . i am a little confused. so where do i direct the file to in the admin product atributes? i hope that this makes sense. thanks badkitty
KYHighlander Posted November 28, 2006 Author Posted November 28, 2006 hi guys,i too am going a little nuts with download. Can someone help me out. where do i place the download files? i feel really stupid. I have enable download options from what i have read. when i go through the checkout and pay, all this works fine, i get sent back to the download page but no link. So where should i place the download? do i just create a download file on my server " to put my files into and direct or add a html redirect or adress of file? . i am a little confused. so where do i direct the file to in the admin product atributes? i hope that this makes sense. thanks badkitty Ok there is a folder under the catalog folder called download, that is where the downloads are supposed to go. I made a folder under that called something else and edited the configure.php as such: define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/different name/'); this will prevent theif or so I have read. then just use an FTP client to put the files in that folder. easy as pie.
badkitty Posted November 28, 2006 Posted November 28, 2006 Ok there is a folder under the catalog folder called download, that is where the downloads are supposed to go. I made a folder under that called something else and edited the configure.php as such: define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/different name/'); this will prevent theif or so I have read. then just use an FTP client to put the files in that folder. easy as pie. Thanks heaps. I shall give it a try :)
badkitty Posted November 28, 2006 Posted November 28, 2006 Thanks heaps.I shall give it a try :) Hi Again, I seem to have no option to add a new file under configuration / download directory. Is there a contribution that enables me to add extra files in the download directory? or do i add it somewhere in the php? seems simple enough if the option was there. help. thanks again.obviously i am missing something..
KYHighlander Posted November 28, 2006 Author Posted November 28, 2006 Hi Again,I seem to have no option to add a new file under configuration / download directory. Is there a contribution that enables me to add extra files in the download directory? or do i add it somewhere in the php? seems simple enough if the option was there. help. thanks again.obviously i am missing something.. in the catalog/includes/configure.php file there is the line: define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/); that is the folder you upload your files into. use an FTP client and just upload the files into that folder. I suggested you add a folder under that one only to make it harder for thieves to steal your products. FTP into your site and drop the files into catalog/download/ then you should be able to see them
badkitty Posted November 29, 2006 Posted November 29, 2006 in the catalog/includes/configure.php file there is the line: define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/); that is the folder you upload your files into. use an FTP client and just upload the files into that folder. I suggested you add a folder under that one only to make it harder for thieves to steal your products. FTP into your site and drop the files into catalog/download/ then you should be able to see them Hi There again :) I have done as you said, silly me did not see the download folder. However i uploaded all files to the directory and checked the config. This worked fine..But now that i have the link working, it does not actually download the product .zip file. Have you tried to download your files? It seems to want to download the download.php file??? instead of the actual file. At first i thought that the config php script may have been confusing the download file name as the download.php so i changed the download file name, the link still appears" so i gather that it registeres the correct folder, but it does not want to grab the zip file. it only seems to grab the download.php. I also created another folder under the download folder as suggested, i gather it works ok as the link would not show otherwise. now what? i have checked the file name in the product attributes, and that all seems fine. do you have any other suggestions for me? soooo frustrating, i thought yey! it worked, but it is no good if it does not grab a file. is there something in the download.php file that needs changing? any thoughts? bad kitty
badkitty Posted November 29, 2006 Posted November 29, 2006 Hi There again :)I have done as you said, silly me did not see the download folder. However i uploaded all files to the directory and checked the config. This worked fine..But now that i have the link working, it does not actually download the product .zip file. Have you tried to download your files? It seems to want to download the download.php file??? instead of the actual file. At first i thought that the config php script may have been confusing the download file name as the download.php so i changed the download file name, the link still appears" so i gather that it registeres the correct folder, but it does not want to grab the zip file. it only seems to grab the download.php. I also created another folder under the download folder as suggested, i gather it works ok as the link would not show otherwise. now what? i have checked the file name in the product attributes, and that all seems fine. do you have any other suggestions for me? soooo frustrating, i thought yey! it worked, but it is no good if it does not grab a file. is there something in the download.php file that needs changing? any thoughts? bad kitty Hi i am back again, I figured it out! yeh ! Thanks heaps for all your help. I needed to define my files under the filenames.php. ONCE ALL OF THE ABOVE WAS PUT IN PLACE. I tested one download file and it worked great. Now i just gather that i repeat the define line with each new file name. Thankyou for all your help in getting me there. this is something you now may want to check for yourself. yeh! bad kitty
KYHighlander Posted November 29, 2006 Author Posted November 29, 2006 Hi i am back again,I figured it out! yeh ! Thanks heaps for all your help. I needed to define my files under the filenames.php. ONCE ALL OF THE ABOVE WAS PUT IN PLACE. I tested one download file and it worked great. Now i just gather that i repeat the define line with each new file name. Thankyou for all your help in getting me there. this is something you now may want to check for yourself. yeh! bad kitty I'm glad I could help, makes me feel like I earned some of the help I have already recieved from the others here. Since I had it fresh in my mind it was a simple matter. what is your url I'd like to see your site.
badkitty Posted December 2, 2006 Posted December 2, 2006 I'm glad I could help, makes me feel like I earned some of the help I have already recieved from the others here. Since I had it fresh in my mind it was a simple matter. what is your url I'd like to see your site. Hi i am back again, the process worked greate with naming one product name .zip in the filename.php eg: define('FILENAME_DOWNLOAD', 'download/files/logo12.zip'); now what. when i add another line of code with a new file name it will not recognise a new file it only wants to download the logo12.zip. If i take out the direct reference to the file name this does not work either, if i add the file names next to eachother seperated by commas, it comes up with an error. so my question is, how do i get all my files to download. I have placed them all in the download file, i have placed them in the file attributes directory, but still no luck. surely the download set up allows many products to be downloaded, not just one? i assumed that was what the product attribute section did, allowed for the file names to be recognised by the config.php, and filename.php and the rest justt worked. Am i missing something to allow for all the files to be recognised? i feel so stupid, it sound like the filename.php needs an array of somekind to recognise multiple functions / file names? i am guessing.. Help again, please Thanks heaps. Badkitty My url is www.doart.com.au/shop2 obviously the shop is not ready yet, still uploading and figuring out these major issues before i can promote it. but take a look anyhow.:)
KYHighlander Posted December 2, 2006 Author Posted December 2, 2006 Hi i am back again,the process worked greate with naming one product name .zip in the filename.php eg: define('FILENAME_DOWNLOAD', 'download/files/logo12.zip'); now what. when i add another line of code with a new file name it will not recognise a new file it only wants to download the logo12.zip. If i take out the direct reference to the file name this does not work either, if i add the file names next to eachother seperated by commas, it comes up with an error. so my question is, how do i get all my files to download. I have placed them all in the download file, i have placed them in the file attributes directory, but still no luck. surely the download set up allows many products to be downloaded, not just one? i assumed that was what the product attribute section did, allowed for the file names to be recognised by the config.php, and filename.php and the rest justt worked. Am i missing something to allow for all the files to be recognised? i feel so stupid, it sound like the filename.php needs an array of somekind to recognise multiple functions / file names? i am guessing.. Help again, please Thanks heaps. Badkitty My url is www.doart.com.au/shop2 obviously the shop is not ready yet, still uploading and figuring out these major issues before i can promote it. but take a look anyhow.:) Don't name the file in that file. you name the file in the admin utility under product attributes. The only thing you are doing in that file is naming your download folder. In the admin utility go to catalog/product attributes and define a new product option as Download, then choose it in the line that goes accross the bottom of the page. I just got out of bed to let the dog out so I hope that makes sense.
badkitty Posted December 2, 2006 Posted December 2, 2006 Don't name the file in that file. you name the file in the admin utility under product attributes. The only thing you are doing in that file is naming your download folder. In the admin utility go to catalog/product attributes and define a new product option as Download, then choose it in the line that goes accross the bottom of the page. I just got out of bed to let the dog out so I hope that makes sense. Thanks, but i have tried all this a few times, and now again. it still does not seem to work. config.php has the download file name and the same in the filename php, as suggested. have placed the download in the product attributes as done for all files. still not working ahhhhh! when i test the link after doing this, the link takes me to a page saying You don't have permission to access /shop2/download/files/ on this server. should i contact my service provider? sounds a bit strange to me.especially if i give the filename.php code a file name, it will then work. i will keep testing, any other suggestions? thanks heaps.
KYHighlander Posted December 2, 2006 Author Posted December 2, 2006 Thanks, but i have tried all this a few times, and now again.it still does not seem to work. config.php has the download file name and the same in the filename php, as suggested. have placed the download in the product attributes as done for all files. still not working ahhhhh! when i test the link after doing this, the link takes me to a page saying You don't have permission to access /shop2/download/files/ on this server. should i contact my service provider? sounds a bit strange to me.especially if i give the filename.php code a file name, it will then work. i will keep testing, any other suggestions? thanks heaps. sounds like you need to set permissions on your folders why are you putting anything in filenames.php? the configure.php is all you need to edit for the downloads folder then add the files in the admin utility. When you add the filename in the admin utility are you putting just the filename and no pathing? you shouldn't be adding any pathing in that section.
badkitty Posted December 2, 2006 Posted December 2, 2006 sounds like you need to set permissions on your folders why are you putting anything in filenames.php? the configure.php is all you need to edit for the downloads folder then add the files in the admin utility. When you add the filename in the admin utility are you putting just the filename and no pathing? you shouldn't be adding any pathing in that section. Hi Again, you may be right with the permissions. I am only putting the file name in the admin utility, no pathing. i have been reading on this topic throughot the forums, and according to others the filename php needed to change. before i made the changes, the links were downloading - download.php instead of the zip files. as soon as i changed the filename.php to the download / files folder + zip file the link worked fine, but only on one download. so maybe the problem sits within a permission problem, but if this was the case, it should not work on any file? I am a little stumped here, as i have followed all advise, yet cannot seem to get all the downloads to work. Do i need to contact my host provider to set the permissions, or can i do it at my end? Thankyou heaps for your patience. badkitty
Recommended Posts
Archived
This topic is now archived and is closed to further replies.