Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Missing links under Order Information


Guest

Recommended Posts

Sorry to post this again, but the information in the first post is incorrect now.

 

I am using OSC 2.76c MS2 with no other contribs except Easy Populate.

 

The problem I experience is once a customer selects a file to purchase by download, they go through the payment process and are returned to my site where they get the usual page with the option to select the Update Notification and then below that is the link to the file they just paid for.

 

I though that the link on this page did work fine in all the scenarios I've tried, however, after trying it yet again the download it is now not working on this page either. So now neither the Checkout Success page download links or the Order Information Download Links work.

 

At the bottom of the Order Information page under the order history information is the box for the Download Links, The title of the file shows up (shown below) along with the link expiration date and number of remaining downloads. All very good except for the first bit. The file title should show up as a clickable link. But it does not. It's just some text that does nothing. This is now the same for the Order Success Page too.

A downloadable product Test Item Link expires: Friday, 25. August 2006 3 downloads remaining

 

(Current date is 23-Aug-06)

 

I have the relevant file sat in the download directory, I configured the settings for download in the Admin panel under Configuration/Download as follows:

Enable download true

Download by redirect false

Expiry delay (days) 2

Maximum number of downloads 3

 

I am unable to download this file at all now and if I go to My Account and look under the Order Information pages, the link is not available though the correct information shows up - just no link.

 

I had a look in the catalog/includes/modules/downloads.php file and (despite the fact I don't know what I would be looking for) everything looked ok.

 

 

Is there any of you good people out there who may be able to help me with this little problem.

 

I've been tearing my hair out over other issues which so far all you forum contributors have been able to help me with either directly or via other peoples questions. I am still very new to OSC but would like to thank all those who post responses to questions (not just mine) as without you folks, all us newbies would be stumpped out of existance and end up paying someone to create our shops for us.

 

So once again, thanks in anticipation of your help.

Link to comment
Share on other sites

At the bottom of the Order Information page under the order history information is the box for the Download Links, The title of the file shows up (shown below) along with the link expiration date and number of remaining downloads. All very good except for the first bit. The file title should show up as a clickable link. But it does not. It's just some text that does nothing. This is now the same for the Order Success Page too.

A downloadable product Test Item Link expires: Friday, 25. August 2006 3 downloads remaining

 

Hiya,

 

I've been searching through the Forum and wonder if you fixed this problem - because I'm having exactly the same trouble!

 

X

MsMinxy

Link to comment
Share on other sites

Further to this, I've done some poking around and it seems that the process that should create temporary files from the filenames listed in the product attributes and then copy them into the Pub folder isn't working. As no files are created in the Pub folder when completing the download purchases.

 

Does anyone have ANY ideas? Pretty, pretty please :blink:

 

X

MsMinxy

Link to comment
Share on other sites

As it seems I've been having a conversation with myself - and having searched back through the Forum for Download Links issues - and finding lots of 'help me please' with no answers I thought I'd inform any other unfortunate individual who finds themselves perplexed by the Downloads of a list of the things I rooted out to check. Although, in the end, because I faffed around SO much, I'm not sure which combination of things did the trick, but if anyone has any coments on whether or not any of the below are a bad idea, please feel free to add to this post:

 

1. Ensure that you have created a 'download' product attribute for the product and most importantly filled in the correct name in the download file box - which should JUST be the name of the file and no path (i.e. unreal.zip) - also be careful as these are case sensitive and should match exactly the file that you have put into your catalog/download folder.

 

2. Ensure that the instructions are followed for windows vs unix systems as set out in the download doc in terms of settings (i.e. the allow redirect setting) in the configuration panel in your admin interface.

 

3. As in the instructions, go into the catalog/includes/configure.php file and ensure that the extra '/' is in the path for the pub and download folders (i.e. at the begining and end of 'download' and 'pub'):

 

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

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

 

4. In Catalog/includes/configure.php where the script is commented to 'not leave blank for productive servers' get YOUR relevent details from the catalog/includes/local/configure.php file and copy them into the blank ' ' space i.e. :

 

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

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

 

should become something like:

 

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

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

 

and:

 

define('DB_SERVER', ' '); // eg, localhost - should not be empty for productive servers

 

should become something like:

 

define('DB_SERVER', 'mysql.yourhostingaddress.com'); // eg, localhost - should not be empty for productive servers

 

5. Finally - if you have SSL change the settings to 'true' i.e.:

 

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

 

6. Repeat for admin/includes/configure.php

 

As I say, because of the three day faffing, I can't be sure which actually worked - or if even any of the changes were a good or bad idea - just that it worked and I still have hair on my head. If any kind person would like to comment on such, please do. :blink:

 

X

MsMinxy

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...