Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download link not showing up


scottsw

Recommended Posts

Posted

Does anyone know why my Download link would not be showing up when selling downloadable products such as mp3 files?

 

I have them set up properly and everything appears to be OK untill after you make the purchase. The link for the download does not show up. It just has the message "Download here" with no link. I have read through MANY posts on thse forums where a lot of people where having the same problem. But everything I have tried does not fix it. Here is several things I have done:

 

1. Enabled the download tab in configuration/download section in admin.

2. Set up the product atributes for my product. Set the amount of days available, number of downloads, etc...

3. Changed the permission of the download folder and pub folder to 777

4. Uploaded my file to the download folder.

5. Rechecked the link to make sure it matched the link in the product atributes.

6. Added the / slash before and after the pub and download within the configure.php file in includes folder.

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

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

7. made sure the weight of the product was set to 0.00.

 

I don't know what else to try. The link still doesnt' show up. Any suggestions please??? :'(

Posted

One thing to ad, After I edit the item properties where you set the date, image of product, model number, price, etc, and after I click on the preview button it takes me to the screen to view my changes but up at the top it has in pink "warning there is no file uploaded." Could this be part of my problem why I am not able to see the download link. Please help....

Posted
Did you set the order status to "Delivered"?

 

Tom

Yes, I did do that. First I set it to pending then went back and logged back in with the account that i bought my mp3, went to the my account page and clicked on the order, but the link was still not there.

Then I went back to admin, set the order to delivered and did the same thing, but the link is still not there. Now let me ask you this, Is the download link supposed to go on the page with product atributes where it has filename (at the bottom)? Just wanted to make sure?

Posted

status needs to be set to updated, however what are you using for payment to return a valid signal?

also, you stated a product attribute, do you have the file name listed in the attribute? what is the permissions of the pub directory?

Posted
status needs to be set to updated, however what are you using for payment to return a valid signal?

also, you stated a product attribute, do you have the file name listed in the attribute?  what is the permissions of the pub directory?

 

I am using paypal for payment. But what exactly do you mean by "return a valid signal"? I also added the credit card payment module just to test it with my credit card so I wouldn't have to keep paying paypal just to test it. But the link still didn't show up. The permission of the pub directory is set to 777.

thanks...

Posted

The download link will show up in the customers order page. Or if the paymnet processor you use has set the status to delivered after charging the credit card (not just authorizing payment).

Is the download link supposed to go on the page with product atributes where it has filename (at the bottom)? Just wanted to make sure?
Posted
The download link will show up in the customers order page. Or if the paymnet processor you use has set the status to delivered after charging the credit card (not just authorizing payment).

 

Actually what I meant was am I supposed to put the link of the mp3 file under filename when I am setting the file up in the product atributes page. I did check the customers order page but the link is not there even after I set the order to delivered in admin. Is there something I am missing here with the payment processor part perhaps. I still don't understand what Mibble was talking about with returning a valid signal unless he just meant updating the status to delivered.

Posted

I am also (attempting) to add the download controller v5.3 right now. Hopefully that will cause it to show up. I don't know.

Posted

I see said the blind man... In the attributes section just put the file name of the mp3 that you have ftp'd into the download folder. No need for a full URL/link.

 

Download controller will be a great addition as well

 

Tom

Posted
I see said the blind man... In the attributes section just put the file name of the mp3 that you have ftp'd into the download folder. No need for a full URL/link.

 

Download controller will be a great addition as well

 

Tom

Ok so it would be like: /osCommerce/catalog/download/myfile.mp3? or should it just be myfile.mp3?

Also, I just finished adding the download controller but have errors in the modules page and orders page. Ill start a seperate topic for that though in the contollers section.

Posted

just the file name. read thru the downloadcs controller, it requires 'updated' which is also if someone attempts a download and loses the connection, and have exceded the download count, you go to their order and set status to 'updated' and it resets the download count to 2 days.

Posted
just the file name.  read thru the downloadcs controller, it requires 'updated' which is also if someone attempts a download and loses the connection, and have exceded the download count, you go to their order and set status to 'updated' and it resets the download count to 2 days.

Thanks! That sounds like a great controller that I need. If only i could get it to work too :'(

I installed everything but now I am getting this error under the customer/orders in admin. Can't figure this one out.

 

1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 0, 20' at line 1

 

select o.orders_id, o.customers_name, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from orders o left join orders_total ot on (o.orders_id = ot.orders_id), orders_status s where o.orders_status = s.orders_status_id and s.language_id = '1' and ot.class = 'ot_total' order by limit 0, 20

Posted

go back thru the contribution so you can verify you have it installed correctly

Posted
go back thru the contribution so you can verify you have it installed correctly

 

:D IT'S THERE!!!! IT'S THERE!!!! IT'S THERE!!!! IT'S THERE!!!! :lol:

Thanks so much! I have been sitting in front of this stupid computer for at leaste 92 hours trying to figure this out. The download link (and image) is now there. I think it must have had something to do with my typing the full url instead of just the filename. Anyway it works. And I went back through and rechecked the istallation instructions for the download contributor and found several more mistakes. But they are all fixed with the exception of one :huh:

It's the same problem with the "1064 - You have an error in your SQL syntax." that I mentioned above. I figured out that if I replaced the original orders.php file back to its folder under /catalogs/admin/orders.php that the error message went away. So, I am assuming it has something to do with the new orders.php file that came with the download controller files. Of course I need the new one to work to take advantage of the features that come with the controller. Do you have any idea what part of the script would be causing this. Maybe because it is outdated or something. If you need me to Ill post the whole orders.php file for you to see. Or, do you think it may have something to do with my sql database? Thats my only other thought.

 

Anyway, thanks again. The hardest part seems to be over with now. :thumbsup:

Archived

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

×
×
  • Create New...