dtynan
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Before Download] Form with multiple file downloads breaks themeI assume you meant that it gives a 500 error when SUBMITTING the form, not when saving the post, correct? It doesn’t make any sense that it would give a 500 when saving the post unless you have problems with your site unrelated to the EBD plugin (since the shortcode is not run when you save a post .. it’s just text on the page).
I suggest you go look at your webserver error log, since it will likely have an error message in it that gives a pretty good clue as to what the problem is that is causing things to fail (and thus return a 500 server error). That is the easiest and fastest way to figure out what’s going on.
I did check out the test page you provided. WordPress outputs the beginning parts of the page and then it looks like most of the page content never gets delivered and the final message in the HTML is a comment from W3 Total Cache. At least for me, that partial output (even though it comes wth 500 internal server error) is getting cached my browser, which is kind of weird. If I then run the page again I get a 200 success rather than a 500 internal server error because the content comes from my browser cache. Again, that seems weird. What it means for me is that I have to clear my cache & then do the test page again in order to make the 500 appear again. So, you may also have to do that when you want to make the 500 happen again (so you can easily find it at the end of the webserver error log).
Again, the easiest thing to do is just look in the webserver error log. I would do that first. If needed, you could do other things like turning off W3 Total Cache (just in case). Change EBD to be ‘inline’ so that it is not trying to use 9.1 or 9.2. Don’t make it a hidden form. I’m not suggesting that for a permanent change .. just to help make it simpler to debug by process of elimination. If it were me, I would make 2 posts and use one download_id in one and the other download_id in the other & make sure they both work individually. I know you said that it did work, but I want to make sure you tried both of the download_ids that you are using in the multi checkbox one (that way we know both download ids are correct & both work & deliver the correct file).
Looking at the html for the form that you put in near the beginning of this item, I don’t see a [submit] … you have a btn there in html, which might be ok, not sure, but I think you should make sure you do it similar to the Screenshots page. Put a [submit] in there. Get rid of the [recaptcha]. Again, this is just to try and narrow down the possible causes.
Forum: Plugins
In reply to: [Email Before Download] Download links to blank pageEdit the form you made in CF7 and go to the tab with the html (I think it’s the “Form” tab if I remember correctly). You need to make the name of the email field be “your-email”. Right now it is “email-35”. It will not work unless it is “your-email”. (you can see the Screenshots page for an example if that is confusing).
Forum: Plugins
In reply to: [Email Before Download] Download links to blank pageHmm. Are you sure you set it to ‘both’? I don’t see any link appearing on the page and the response from your server makes it look like it’s still set to ’email’.
By the way, when you are set to ’email’ or ‘both’, EBD will send out 2 emails. One email is the one that is supposed to go to the email address the website visitor put into the form (that is the one that would have the link to click on to download the file, or would have the file attached). The other email is the “notification email” that (typically) goes to the wordpress admin.
When you created your CF7 form, there is a “Mail” tab that has some settings on it. Those settings configure the “notification email”. Normally, the “To:” will be set to the same email address as your wordpress admin has. That notification email looks very similar to the email that is sent to the website visitor, but it has no link to click on. It’s just to tell you (the wp admin) that someone has submitted the form to download something. Note that the notification email almost always gets delivered properly (since it is usually going to the admin and people normally have that email address working and everything so it normally gets through).
The email that goes to the website visitor doesn’t really have any configuration settings. It’s just a wp_mail call made by EBD with the To: address being whatever the website visitor typed into the form on your page. Note that it is pretty common for this email to not get delivered properly. That happens a lot on sites that are on shared hosting. The email will put like the real operating system level account name into the From: of the email (it will be something weird like bluehost832783@mail.bluehost.com or whatever). That will cause the email to look like spam to many email hosting providers (like gmail or yahoo mail). Thus, in order to get that email through, you usually need to use another plugin to fix the From:.
Many people on here end up using the Postman SMTP plugin by Jason Hendiks, which works well and gives you like good logging and such. Alternatively, some folks use the plugin called Custom Sender For Email Before Download which lets you set just that From: field (note that the setting may get wiped out anytime you resave your EBD settings – requiring you to put it back in there).
Anyway, I don’t know if you are encountering either of those issues. Your description of making the email go to you so you could see when people downloaded stuff doesn’t quite make sense to me (since there is already a notification email that does that). I think you are actually talking about the notification email (which should go to you and which you configure in the Mail tab of CF7). What is probably confusing you is that you may think that is the email that is supposed to go to the website visitor because the email that actually does go to the website visitor isn’t getting delivered because of the problem I described above.
Forum: Plugins
In reply to: [Email Before Download] Download links to blank pageI ran a couple of tests from your page, but it looks like you’ve got it set to ’email’ right now in the EBD settings and the email never shows up, so I can’t really tell what’s happening. Please change it to ‘both’ so that I can see the link regardless of whether or not the email arrived.
Forum: Plugins
In reply to: [Email Before Download] Email before download just hangs after clicking linkProbably not the same problem. Please open a new item & give a full description of the problem, including whether or not it ever worked before and a link to the page with the EBD form on it.
I will go ahead and mention a couple of things here in this item, but open a new item to continue this….
I can tell from the link to the download you provided that it can’t find the file on the filesystem because it is returning a 302 Temporarily Moved and giving a Location: header and there is no URL next to the Location: which is definitely incorrect.
You probably moved things around somehow — like from a previous hosting provider to a new one, or you moved files around in the filesystem, or you uploaded the file into the wrong place (you should upload into Download Monitor, which is the “Downloads” link on your wordpress main menu), or something like that.
You might be able to get it work by checking or unchecking “Hide/Mask” setting, but most likely you’ll need to do something to make the file get found (put the file in the correct location, delete it & reupload it, etc).
EBD stores things in the database and will look those things up using the IDs. Sometimes, if you have something in the database and then you change your setup, the database does not get updated to reflect the new setup (for example, if the paths change). EBD just tries to access the database for whatever ID and if it’s there it grabs what is in there & uses it — it won’t check it & fix it if something is wrong.
Thus, the solution is simply to get new IDs. You can probably use your old page, but you’ll want a new shortcode that has a new contact form ID and a new download ID. If either of those is old then it might not work. So, what you do is you just duplicate your contact form (which is a menu option I believe) and it will have a new form id and you replace your existing contact_form_id with that new number. You also go in and delete the old download file out of Download Monitor so that is no longer there and also off the filesystem. Then you upload it again and it will get a different download_id and you replace your existing download_id in your shortcode with the new one. I like to change the actual filename itself too, just to make sure there’s nothing old there at all, but that may not be necessary (I can’t remember if it is or not).
So, to summarize, most likely the problem is simply that old values in the database don’t work anymore (for whatever reason) and you need to get your form & your download to have new IDs so that new rows are created in the database.
Forum: Plugins
In reply to: [Email Before Download] Form with multiple file downloads breaks themeI looked at the HTML source for that page and there is no trace of the CF7 form on there at all (no form asking for the user’s email address). I searched for “wpcf7” in the html and only found some CSS definitions. I should have found several lines of HTML with classnames beginning with “wpcf7” … stuff like a form tag and div tags and so on.
So, it looks like there form is entirely missing from your page. I don’t know why that would be.
(just as a side point, you might want to make a simpler test page without all the extra junk on there … no tabs, etc. Just your form for testing EBD and then get that working first before you try and get it working in your complicated page setup)
Forum: Plugins
In reply to: [Email Before Download] where's the widget to add to page?There is no widget. You put a shortcode on a page.
That makes me wonder if you’ve really set things up correctly. Make sure you read through the Email Before Download description page, the FAQ, and look at the screenshots page. Because 3 plugins are involved, the set up can be a little tricky.
Make a new CF7 form — make it the same as your existing form. (We’re trying to get a new form ID which is why we need a new form).
Make a new page in wordpress (this is just to run a test).
Upload a new file into Download Monitor. Make it a .jpg file. Do NOT use a pdf file. Give it a filename that you have never used before and make it simple. Something like “abcdefg.jpg”. No dashes, underscores, etc. Just name .jpg.
Using the CF7 form ID from the NEW CF7 FORM you just made and using the download_id from the NEW FILE YOU JUST UPLOADED INTO DOWNLOAD MONITOR, make a NEW SHORTCODE and put it on the NEW PAGE you just made.
Email me the URL for the new page.
It is important that everything is new. Do not use any of the old IDs, do not use a filename you have used before, etc.
Not as far as I know. It may be that CF7 stores the results of those form submissions, but I don’t know if it does (it does normally email them to someone – usually the wordpress administrator [whatever you configured in the “Mail” tab of the CF7 form]). I don’t know if they’re in the database or not. You’d have to look at your database tables or go ask the CF7 support people [or check the docs maybe].
I just looked at the CF7 part of my wordpress and I noticed a link near the top that said “Save messages with Flamingo” and it linked to:
http://contactform7.com/save-submitted-messages-with-flamingo/So it sounds like the “old data” would only be in any emails that it sent to you (ie to the wodpress admin (or whatever email address you put in the “To:” field of the “Mail’ tab on your CF7 form configuration panel).
Forum: Plugins
In reply to: [Email Before Download] Download link shows blank pageUsing a non-pdf file is strictly for problem determination — not as a solution. In certain instances, PDF files can act differently. Using a non-pdf file is a way to eliminate that variable .. it’s part of the process of eliminating possible causes (part of PD/PSI).
If you look back a few updates, you’ll see that the main thing I wanted you to try was to check “Force Download” and see if that changed things.
However, if you guys are ok with emailing w/attachments then that’s good —- it has the added the benefit of making sure that every email address you get is valid or else the user never receives the file … unlike displaying a link where they can just type junk@junk.com into the email address field, hit submit, and then click the displayed link to get the file. This way you know the email address is at least real (which will cut down on your bounces, if nothing else).
Edit your CF7 form and change it from “email” to “your-email” and from “name” to “your-name” in the html form part.
In other words, the html field names you are using (“email” and “name”) need to have “your-” in front of them, making them “your-email” and “your-name”.
Forum: Plugins
In reply to: [Email Before Download] Download link shows blank pagesure, mail it to dtynan88@gmail.com
and open a new item please (don’t use this one that was opened by skeptikal3)
Email Before Download requires Download Monitor in order to function correctly.
How is the link to the download included in the email that gets sent? Did you put the URL to the download in the CF7 form? That’s the only way I can come up with that makes sense for your description of what you’re doing….
If that’s the case, then I’m not sure you’re using Email Before Download at all. I think you might just be using Contact Form 7. CF7 can display the form to the website visitor, the website visitor can fill it in and hit submit, and CF7 can email the website visitor at the email address provided. You don’t need Download Monitor or Email Before Download to do any of that (and I think that’s what you are doing).
Email Before Download and Download Monitor add extra capabilities to that set up. For example, rather than the emailing the link to the user, the link could be display directly on the page after the website visitor hits submit. Another capability is that Download Monitor tracks every download/access of any files that are loaded into Download Monitor (but not files loaded in Media Gallery). Email Before Download will hide the real URL of the download so that a website visitor sees a link with a whole bunch of letters and numbers (making it more difficult to share with someone) and that link can (optionally) expire after some time. That makes it more likely people will always go through the form on your website to get to the download file, rather than one person filling out the form & then sharing the URL to the download file with all his friends (for example). And so on…
Forum: Plugins
In reply to: [Email Before Download] EBD log not showing informationIf you don’t see much in the EBD CSV file, then it sounds like all those downloads came via people going to the download (but not going through your EBD form page to get there). That is not really an EBD thing, if so. I suggest you remove your download (the file itself & the entry in download monitor), then change your download path starting fragment in the Download Monitor configuration to be a different less guessable name, then reupload your file into Download Monitor. That will start you over with no accesses on that file & it will have a new URL (because of the new download path thingy). Then you can keep an eye on it & see if it increments. If so, your best bet is to check your access logs for your webserver to figure out how they are getting to it (actually I guess you could do that now & find those prior accesses in there and figure out what’s up).
On the notification email not showing up, that is an unusual problem. If you are set to “both” or “email” then EBD sends 2 emails — 1 goes to the email address that the website visitor types into the form and the other emails normally goes to the wordpress administrator (or whatever email address you put in the CF7 To: field on the Mail tab [which normally defaults to the wordpress administrator]). It is common for the 1st email to not get there — the one that goes to the website visitor. That has to do with the From: of the email not matching up with the system that is sending it and then the mail hosting provider (gmail, yahoo, etc) rejects it. There are ways to fix that. However, the other email, the “notification email”, almost always works because it’s going to the wordpress administrator & everyone normally has that email working because otherwise they’d never get any email from their wordpress installation to let them know things.
So, you should double-check that you have the wordpress administrator email address in there on the CF7 form you are using (in the Mail tab). Just put the email address, don’t do any of the extra text with your name and the less-than and greater-than symbols — keep it simple, just the email address. If that’s what you have then it should work. If it’s not working, then I suggest you try adding a WordPress User and then deleting that User. That should cause a notification email to be sent to the wordpress administrator. If you don’t get that one, then you know your wordpress can’t send email and it’s unrelated to any plugin…
hope that gets you going in the right direction