File Download shows up without a link to the file

Posts: 4
Joined: 02/19/2008

Hi,

I'm not one to ask when I get stuck, but at this point I feel this might be a bug. I'm a programmer familiar with Drupal and getting acquainted with Ubercart (first time user). My current project is a store that sales product downloads.

So far everything seems to work right on point (after several hours of guessing, reading through the forum and getting lucky - your documentation needs a lot of work). I got the entire process working: user adds items, pays with Paypal and comes back to the "welcome back" page. However, there is no message sent with a link to download. Then the user account shows the file purchased, but it doesn't feature a link like it should, it is just plain text.

Now something else happened. I tried one more time just to be sure before writing this, and the last attempt showed the ordered completed (automated through Workflow-ng) but it no longer shows the file available (even without the link).

Maybe the last development was due to some clicking done in the settings trying to get it to work. I've been on it all day. I'm off to get some rest, PLEASE HELP! I'm losing it here. I like this platform a lot, but not at the cost of my mental health Laughing out loud

Cheers.

BTW: Drupal 5.3, Ubercart 5.x-1.0-beta5

Posts: 332
Joined: 08/07/2007
Administrator

Have you set your download notifications settings (admin/store/settings/notify/edit/file)? Setting up this form is required to sent emails to a customer regarding downloads. As far as the link not showing up, that's something I'm not so sure of.

--

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

Posts: 4
Joined: 02/19/2008

I got E-commerce up and running in about an hour and a half, a fraction of the time I spent trying to debug just one of the many problems I found with Ubercart. I wish you guys luck with your project, but you got to stop calling this thing a production-ready platform. I wouldn't dare recommend Ubercart to aynbody serious about putting together an E-commerce site.

Good luck.

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Plenty of other folks say otherwise, but I'm sorry you ran into difficulties. It's hard to know exactly what the breakdown was without more feedback, which is what we've always been looking for.

It sounds to me like you ran into a bit of settings confusion, as there are several other recent and large sites using file downloads (AOL) effectively (and we'd love to make them easier to use!). Don't recommend it if you don't want to and use what works best for you, but I don't think you can say that the entire system isn't production ready just because you had configuration trouble.

Posts: 4
Joined: 02/19/2008

Ryan,

I'm not trying to be pessimistic, but I've encountered many limitations in my brief introduction to Ubercart. the only reason I tell you about it is because I think it is a very promising platform and I hope you get it right in the long run. I'm also worried about the image this module gives Drupal as an endlessly buggy beta that is being released for production. IMO you need to start delivering stronger releases, even if it means cutting some features.

Some of the main problems I've encountered:
- There seems to be no documentation for the file download type of product. What I was able to find was in the form of forum threads with other people's problems.
Some of my problems with setting up this feature include:

1. Understanding the file system - I eventually found out that one is supposed to set "the folder" from the settings page to then use the path at the product page, however, this is not immediately apparent anywhere, and the wording is confusing. Solution: 30 mins lost trying to figure it out by myself and then another 30 mins lost reading other people's frustration on the forum.

2. Transaction is not set to complete at the end of a purchase. I eventually figured out that I'm supposed to manually activate a Workflow-ng task, but only after another 60 mins of fighting this site for information found in the form of frustrating forum threads, coupled with insistent trial and error.

3. Email notifications not going out. I eventually figured out that I'm supposed to download the Notify module as part of the family of external modules required by Ubercart, even when Ubercart seems to have its own Notify sub-module. However, this was not expressed anywhere in the documentation and Ubercart did not complain about it. I only came to this realization after yet another information-seeking fight with this site.

I had other problems but I think what's mentioned above is plenty. Setting up the same thing with e-commerce was an entirely painless task that was ready to go in a breeze (I'm a first time e-commerce user as well).

Like I said, good luck with the project, I hope it keeps growing, but IMO it needs to become stable and documented a lot more than it needs new features at this point.

Jose.

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Aye, documentation needs are always there, and we can update the inline documentation on the forms and the docs on the site per your feedback. User feedback is always appreciated, but the things you pointed out are issues regarding hard to find instructions not bugs in the code.

File downloads are a small part of Ubercart and a recent one at that. With each user of the system here, it will improve. Getting explicit steps out for implementing features like this are known needs that we're trying to find time for.

Regarding the Notify module, I actually don't know what that is. The notifications module in core is what you need to send out e-mail notifications. If you install the notifications module in core, you can go to the form and find a submenu for file download notifications.

I'll reassert that I don't think you can say an entire project isn't production-ready because the documentation is lacking. Perhaps it's not newbie friendly, but the issues you're bringing up aren't code related at all. As case in point, you'd have to argue that Drupal itself isn't production ready, since most new users get overwhelmed and end up scrambling for help in the forums for things they just can't find in the docs.

Regarding the image of Drupal, read what this developer has to say. We're actually helping. And the beta stage has proven to be far from endless and horribly buggy. We've only been in beta since January 7th and are almost ready to move on to release candidates. The code is stabilized, features have indeed been turned away, and more efforts are being made toward inline and onsite documentation.

Posts: 4
Joined: 02/19/2008

Ryan,

About the bug, I was talking about the lack of a link in the file download - I'm pretty sure it is not config related but a bug. Also, I was talking about the bugs other people found in the many threads I read, like the fixes that happened on Feb 4 that managed to get a spot in Beta5 (about sale completion). I can provide links if you are not familiarized with those threads.

In my last post I was mainly addressing my concern about Ubercart being production ready, since it was the matter you had a larger issue with from my posts. Perhaps you and I differ, but IMO as a software developer with 10+ years of experience, a software package is not ready until it is stable and there is documentation for the users to use the damn thing.

I will say that I probably got the toughest deal because I was interested in one of the newest features (file downloads). I presume I would have kept Ubercart if my needs had been simpler; however, there should have been something to warn me and other potential users about the recency of the feature.

Regards.

Posts: 1290
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

I was able to get Ubercart setup on my first try, and I have less than 2 years of programming experience, and have less than 8 months working with Drupal. Not to be condescending to you at all, I don't mean any disrespect; but I think you are forgetting several things - that it's open source, fairly new, and that it's Beta. Yes, it is production ready - as I can attest with thousands and thousands of orders on our live site. But you shouldn't be surprised when something that's labeled Beta has a few things yet to be improved.

Regarding your initial point, we sell nothing but file downloads, and we haven't had an issue yet. 18,000 customers at last count, and I can't say that any of them have been missing links in their emails. They have all been getting their notifications (unless they get caught in junk or bounced back from an email spelling error). I truly think yours is a config issue, not a bug as you have suggested.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 130
Joined: 08/07/2007

I also mean no disrespect, but your forum post came on kind of harsh and truthfully I think it's a lil rude to criticize something with nothing really constructive. Bottom line is you came on harsh. The reason I'm writing this is for you, and for the authors of Ubercart. Let me better explain.

I'm not a programmer but any means but I do understand the basics. My specialty is understanding good design and what it takes to get a lot of business. I haven't used ecommerce alpha 4 (alpha), but I did use V3 and let me tell you, E-commerce proved to be not only extremely bug ridden, but ZERO help. You got a response for your problem in no time, I had configuration problem after configuration problem and then finally when it worked, the shipping caused problems. Furthermore Ubercart has been developed for a much shorter time, so comparison is unfair.

Furthermore, I'm a complete newbie and the Workflow-ng you pointed out seemed like a no brainer, as well as all the rest of the store admin panel. It really is super easy as again, i have no programming experience.

My main point in this is Ubercart is a FANTASTIC solution that cost me ZERO money and if i'm going to criticize something I didn't pay for or work on (e.g. have no right to criticize) at least do it in a constructive manner.

So thanks ubercart team because you make other people money and we appreciate it.

-Aaron
Ecopaper.com

Posts: 26
Joined: 02/05/2008

After installing beta5 I have also the problem that the download-link is not showing up in users profile. The email was send correctly and download through the link in the email works. But in the files-section within users profile the filename is listed just as text without link function.

About this ubercart-philosophy-thread: ubercart is an outstanding system in my opinion and I was able to make this BETA run in 2 Weeks, except some small bugs. The community is very motivated and answers to my questions will come within 24 hours. So thanks for that and keep on that great work. I'm sure ubercart will be an perfect solution very soon.

best regards
Jürgen

--

.......
brocke.de integral communication
Cologne/Germany

Posts: 5
Joined: 02/21/2008

Agree, it's a great module. It's my first time using ubercart, and I manage to set it up in a day (I am not a Drupal expert). I'm setting up a site that (will) sell downloadable files.
Well, I had same experience with humanoid:
- ubercart can send the download link to customer's email
- but.. it can only used once
- the files-section only listed the filename, not a link

I'm just about to ask whether it's a normal behaviour (no link in files-section). After reading some posts in this thread, I assume it's not?

If it's a bug, could you give us a patch?

Thanks for the great module!
Regards,

--
Nano Surbakti

Posts: 332
Joined: 08/07/2007
Administrator

A little description of the problem goes a long way. Thanks to humanoid & nanotalk, I understand what is going on. Turns out this big discussion was started by a minor bug with the settings of uc_file_download_limit_number (the # downloads limited for each file). By default the download limit, if not specified, is set to NULL which means no limit on downloads. Some where in one of the last betas I updated functionality of the User files tab that checks if the number of downloads exceeds that value. However, I tested that on livetest with its value set to 5, not when it was NULL. The fix has been committed to bazaar. Thanks for the help.

--

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

Posts: 26
Joined: 02/05/2008

THX Shawn!

With your patch from bazaar it works fine again!

best regards
Jürgen

--

.......
brocke.de integral communication
Cologne/Germany

Posts: 5
Joined: 02/21/2008

Just had a chance to apply the patch today. It works!! Very nice.

BIG THANKS, Shawn!

Regards,

--
Nano Surbakti

Posts: 10
Joined: 03/12/2008

We r havin the same problem... we get no download link in the email...

Anyone has a solution to this problem?

Posts: 1290
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

What version of UC are you using? This was fixed recently, make sure you're using the latest code. And make sure you have it setup to send an email notification when an order contains File Downloads (this is part of the store administration). File Download links are sent in a separate email, not in the Order confirmation email.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 10
Joined: 03/12/2008

We are using Beta 7...

We are also afraid to upgrade because of the longevity it has taken just to get roles to start workin...3 days...and its two of us workin to try to overcome the hold ups...

Would there b any more hold ups in upgrading to the newest version?

Posts: 1290
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Nope, everything should work as is. I'm not sure if the problem was in Beta7 or what version exactly. But I can confirm that it works, since we sell almost 99% downloadable products.

Upgrading shouldn't have any issues.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 10
Joined: 03/12/2008

thx torgos... is there anyway that i could upgrade and keep the same settings...or do i have to go reconfiguring stuff again...

can u point me/or direct me on the installation procedures...

or tell me atleast how to run the upgrade?

thx man really appreciate ur input so far...

Posts: 924
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

Dirtyharry wrote:
thx torgos... is there anyway that i could upgrade and keep the same settings...or do i have to go reconfiguring stuff again...

The settings are stored in the DB, and aren't changed when you upgrade. So barring major changes to the code (and I don't know of any between beta 7 and RC 2) all your settings and configurations will still be there. The only exception is if you use the Best Sellers or Special Offers blocks, since these were moved out of core between Beta 7 and RC 1. See http://www.ubercart.org/forum/announcements/3953/new_marketing_contrib_m...

Dirtyharry wrote:
can u point me/or direct me on the installation procedures...

or tell me atleast how to run the upgrade?

http://www.ubercart.org/faq/3074

I've upgraded at least a dozen times, and never had a problem yet...

--

<tr>.

Posts: 10
Joined: 03/12/2008

again thank u for ur advice...it works...

now for the other part...as in common trnd ...u fix one thing then theres something else needin to b fixed...

in the user accounts section under files tab i get this error

warning: Invalid argument supplied for foreach() in /home/*****/public_html/includes/common.inc on line 734.

warning: strtr() [function.strtr]: The second argument is not an array in /home/o****/public_html/includes/common.inc on line 749.

This may not be the correct thread to post...but just wonderin if anyone who has installed Ubercart and set up file downloads has got errors like this and how was it fixed.../?

thx in advance

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

This seems like a separate issue that we'll track through this thread.

Posts: 8
Joined: 05/20/2008

I have installed ubercart in the last week. I am using the 1.0-rc5 version, and all installed well, and your documentation was great compared to e-commerce. I have one problem, and it seems to be an issue I have sen on a few forum entires, but many of them talk about beta, etc... and the dates seem a few months ago, and the note in one about making a one line entry to line 1761 in the cart module does not see to have the same surrounding code in the example... so I hesitate to make it... here is the question. It seems to do with work flow or the passing of data from the cart or paypal, etc... BTW, I am using PayPal standard as well.

I only sell file downloads.

When I do a sale, all goes great EXCEPT after all is said and done the file does not show up as downloadable on the users MyFile tab. Once the status shows as "Payment Received", and once the status shows as "Pending". I can edit the order, can do a quick switch to some other status, and back to Payment received, and then the file becomes availble to the person... but that requires me to touch every order.

Can anyone give me advice on how to change my system so that when the customer pays down to a zero balance, the file I am selling will be downloadable to the user.

Like I said, I have all the latest ubercart modules per the download pages, and downloaded the current workflow and workflow-ng modules around 5/17 when I installed, so I believe I have all the latest and greatest modules.

Is there a patch? even better (since I can't even remember how to install a patch) is there any by hand module edit adjustments that anyone can post and I will be happy to edit the module by hand. Just don't tell the drupal people I am making by hand edits. Smiling

Cheers! Ricco

Posts: 2243
Joined: 08/07/2007
AdministratoreLiTe!

Make a new workflow configuration to update the order status to completed when checkout is complete and the order balance is 0. Set the file downloads to be available on completed orders.

What's happening is the payment is received and the order gets updated before the user account is created for anonymous users. The file downloads fail to be attached to a user because there isn't one yet. That's why you have to go back and reset the order status.

Now I'm making this a FAQ.

Posts: 8
Joined: 05/20/2008

I have my system set to only allow users to purchase. Also... the user I am having doing the test buying is a user, not annonymous. so it is not an anon issue. I will look at your recommendation about adding to the work flow. I am completely useless at work flow, so it will probably take me some time to figure out how to do what you are recommending

Posts: 13
Joined: 05/07/2008

Check this thread. I wrote a quick (13) step-by-step guide on how to set up a workflow to work around this issue. It is pretty straight-forward.