Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

catalog download not working


tinamartinez

Recommended Posts

Hello,

 

I need some help with the file download feature. And if anyone can point me to a relevant post I would be grateful.

 

I really don't know where to start troubleshooting this one.

 

I uploaded the files to the download directory (they are pdfs)

 

But when I place a test order, the link is not activated.

 

I tried to search the database but the search terms catalog file and download are way to broad and I am not getting anywhere.

 

Please help!

 

Thanks.

 

Tina

Regards,

Tina

____________________________________________________

Link to comment
Share on other sites

Just as a dumb response, you did set the file name, price, weight, etc. as an attribute to the product? Also its very case sensitive.

Kenneth S

--------------

Customer "Are you a real programmer?"

Me "No, but I did stay at a Holiday Inn Express last night"

Link to comment
Share on other sites

Hi Kenneth,

 

Yes, I cut and pasted the filename to make sure there were no typos. I also checked the permissions on the pub and download folders

 

At the page where the order is complete, the download information is filled out but the link is not active, when I look at the html code there is no reference to the link at all.

 

When I look at the order in My Account, same thing. Could a function be missing or corrupted?

Regards,

Tina

____________________________________________________

Link to comment
Share on other sites

You sound like you need the Downloads Controller contribution - works fine on my site, combined with Master Products and osPlayer lite....www.fallshop.co.uk/shop

Link to comment
Share on other sites

 

OK, so before I start downloading and installing new modules, is there any reason why the one in oscommerce does not work? Is it not supposed to work? I am a little confused. I would really prefer to fix the osc installation than download new modules. However, if I missed something in the documentation regarding this download feature, I would like to know what I missed.

 

Thank you clayts for the link.

Regards,

Tina

____________________________________________________

Link to comment
Share on other sites

what are you using for your payment module?

if you are using check/money order, the download is not available until you go in and release the order.

Link to comment
Share on other sites

OK, so before I start downloading and installing new modules, is there any reason why the one in oscommerce does not work? Is it not supposed to work? I am a little confused. I would really prefer to fix the osc installation than download new modules. However, if I missed something in the documentation regarding this download feature, I would like to know what I missed.

 

Thank you clayts for the link.

 

Hey Tina,

 

I'm having the same problem, have you gotten your problem solved yet?

Web Development, 365... 366 in a leap year.

Link to comment
Share on other sites

Hey Tina,

 

I'm having the same problem, have you gotten your problem solved yet?

 

 

Not yet and I really need help with this... Don't know where to start. Please let me know if you find the solution.

Regards,

Tina

____________________________________________________

Link to comment
Share on other sites

Problem solved. I did a couple of different things... I am a littel reluctant to say because I don't want to cause additional issues for anyone. That being said,

 

I have been working with a cpanel oscommerce installation and I think there are some problems with it (and I will not be installing osc from cpanel ANYMORE)

 

Two things I did:

 

I used information in this osc bug report:

http://www.oscommerce.com/community/bugs,1...search,download

 

And I replaced the configure.php file with one from a fresh install of osc. There is a difference in the download define statements at the end of the file, between the cpanel install and the fresh install.

 

Double check and recheck that the permissions on the download and pub directories are 777.

 

Hope this helps.

 

It works now. I am happy.

 

Tina

Regards,

Tina

____________________________________________________

Link to comment
Share on other sites

what are you using for your payment module?

if you are using check/money order, the download is not available until you go in and release the order.

 

 

Mibble,

 

Just an FYI, I got the download links activated and to test the cart, I turned on check/money order. The download links DO work on a check/money transaction... And I was reminding myself to turn it off cause people could get the product for free this way.

 

Tina

dharmainternet.com

Regards,

Tina

____________________________________________________

Link to comment
Share on other sites

Hello,

 

I need some help with the file download feature. And if anyone can point me to a relevant post I would be grateful.

 

I really don't know where to start troubleshooting this one.

 

I uploaded the files to the download directory (they are pdfs)

 

But when I place a test order, the link is not activated.

 

I tried to search the database but the search terms catalog file and download are way to broad and I am not getting anywhere.

 

Please help!

 

Thanks.

 

Tina

 

 

your download folder needs to be catalogdownload in the same folder that contains catalog. Load your pdf files in catalogdownload not download. Be sure your pdf filenames are specified in Product attributes.

Link to comment
Share on other sites

your download folder needs to be catalogdownload in the same folder that contains catalog.  Load your pdf files in catalogdownload not download.  Be sure your pdf filenames are specified in Product attributes.

 

but could someone still access it by going to /catalogdownloads? Or is that what the 'redirect' thing is about? I haven't installed yet, because I haven't found a confirmation that osC will work for selling downloadable ebooks 9with a minimal checkout procedure), allow affiliates, and have a help desk/way to manage customer support.

Link to comment
Share on other sites

but could someone still access it by going to /catalogdownloads? Or is that what the 'redirect' thing is about? I haven't installed yet, because I haven't found a confirmation that osC will work for selling downloadable ebooks 9with a minimal checkout procedure), allow affiliates, and have a help desk/way to manage customer support.

 

That's the problem I'm having right now. I decided not to do a redirect because I don't want people to get the URL before their payments have been verfied. So now what I want to do is email a link so that they can go in and download the products when I send the email.

 

My problem comes in here, what stops users from going back to that same download folder and downloading other products without paying??

Web Development, 365... 366 in a leap year.

Link to comment
Share on other sites

That's the problem I'm having right now. I decided not to do a redirect because I don't want people to get the URL before their payments have been verfied.  So now what I want to do is email  a link so that they can go in and download the products when I send the email. 

 

My problem comes in here, what stops users from going back to that same download folder and downloading other products without paying??

 

The way the download feature works is when a purchase is made and the payment clears, the customer is taken to the checkout_success.php page where the name of the pdf file purchased is displayed as a live link that the customer clicks on to download (only) the purchased file. The customer is not sent to catalogdownload to get their file; there is no access to your other other files.

On the checkout_success.php page, the customer is given 7 days or 5 tries to download the file that was purchased (this can be changed in the product attributes page of the Admin Console. Hope this helps.

Link to comment
Share on other sites

The way the download feature works is when a purchase is made and the payment clears, the customer is taken to the checkout_success.php page where the name of the pdf file purchased is displayed as a live link that the customer clicks on to download (only) the purchased file.  The customer is not sent to catalogdownload to get their file; there is no access to your other other files.

On the checkout_success.php page, the customer is given 7 days or 5 tries to download the file that was purchased (this can be changed in the product attributes page of the Admin Console.  Hope this helps.

 

Does anyone have a sample of what the download link looks like. I'm under the impression that it looks like: www.domainname.com/downloads/filename.pdf I'm hoping that the link has a bunch of numbers or something following the filename so that users just can't take stabs at the files in your download folder. Am I just being a paranoid nutcase??

Web Development, 365... 366 in a leap year.

Link to comment
Share on other sites

no one can get to your download directory at all, as long as you didnt touch anything when you installed it.  the file permissions are to be 755 and there is an htaccess which gets installed with it.  to check it, go to http://www.domain.com/catalog/download

(substiture www.domain/catalog with your path)

 

I see, great, this stuff just keeps getting better.

Web Development, 365... 366 in a leap year.

Link to comment
Share on other sites

I'm receiving this 500 Internal Server Error when I try to download:

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

I followed the instructions from:http://www.oscommerce.com/community...earch,download but it's still not working properly for me. I'm not sure what this problem could be from. Can someone help me please.

Web Development, 365... 366 in a leap year.

Link to comment
Share on other sites

Mibble,

 

Just an FYI, I got the download links activated and to test the cart, I turned on check/money order. The download links DO work on a check/money transaction...  And I was reminding myself to turn it off cause people could get the product for free this way.

 

Tina

dharmainternet.com

 

Hi Tina, Is there a way to stop the product link from being displayed when customers use Cheque/Money Order for payment? I know I can turn off the download in the admin panel but will that also affect the paypal payment as well?

Also how can I use COD with the Auto Download. I've noticed that the cash option disappears when there is a file to download.

 

Trev

Link to comment
Share on other sites

Hi Tina, Is there a way to stop the product link from being displayed when customers use Cheque/Money Order for payment? I know I can turn off the download in the admin panel but will that also affect the paypal payment as well?

Also how can I use COD with the Auto Download. I've noticed that the cash option disappears when there is a file to download.

 

Trev

 

Hey Trev, yes there is. Go to THIS LINK and download the latest contribution.

Web Development, 365... 366 in a leap year.

Link to comment
Share on other sites

Hey Trev, yes there is.  Go to THIS LINK and download the latest contribution.

 

Well I downloaded the file as you said now I have errors. Did you get ay of those? this is the error I get now,

Fatal error: Call to undefined function: tep_get_free_charger() in /home/trevor54/public_html/catalog/includes/modules/payment/authorizenet.php on line 22,

 

Any ideas?

 

Trev

Link to comment
Share on other sites

search the contribution itself for get_free and you will probably find what you missed during the installation.

 

Thanks for the reply. It's very cryptic though. I've been right through every file but I really don't know what I'm looking for. I found the file with the tep_get_free etc but what to do with it is a mystery. Yes I'm new at this but we all have to start somewhere. Yes I know "Why here?" The error comes up when I'm in the admin panel and click on modules.

Any help would be appreciated.

 

Trev

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...