Forum Replies Created

Viewing 15 replies - 61 through 75 (of 777 total)
  • No, that’s not a common problem.

    In Download Monitor (the “Downloads” section of your admin menu), Edit your download. Look over on the top-right area of the screen that appears and there will be a URL which is the URL to get your download directly from Download Monitor (in other words it has nothing to do with EBD or CF7). Copy that URL and paste it into a different browser (so that you are not logged in to the website) and see if it downloads your download file. If it does not, then the issue is with your website and/or its interaction with Download Monitor. If it does download the file, then set it to ‘both’ in the EBD setting and make sure “hide/mask” is not checked, then update this item with a link to your page and the shortcode you are using so I can see the issue.

    Attachments work just fine — not sure where you read they don’t, but they definitely do. Most likely you are not looking at the correct email. You are probably looking at the “notification email”, rather than the email that gets sent to the email address the website visitor typed in to the form.

    See my (unnecessarily long) explanation of the emails EBD sends at this thread:
    https://wordpress.org/support/topic/change-who-the-email-is-sent-from/

    Hmmm. I’m not sure what the problem is. In the past, I have only encountered 1 other person who tried to do remote links (rather than uploading the file directly into Download Monitor. That said, it did work for them.

    Try unchecking hide/mask and let’s see what that does…

    I don’t know.

    I just tried your page and I received two emails:

    One email came from “wordpress@blog.accela.asia” and it had a link to the PDF download, which I clicked and it displayed properly (a 2-page PDF with a table of processes, departments, and comments). That all looks correct & looks like it’s working fine.

    The other email came from “helpdesk@accela.asia” and it had no content in the email and the subject line said “[your-subject]”. I have no idea what this email is, but it might be related to the fact that I checked the checkbox agreeing to be added to your mailing list. Not sure.

    Anyway, looks to me like the EBD stuff works fine.

    When you say “link”, do you mean a URL to a file on another site somewhere & that’s what you’ve added as a download into Download Monitor?

    I suggest you do the following:

    • Add a new download in Download Monitor and in the area where you add a file, put this URL: https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
      Make sure that is the only URL you put in there. If you try to do Revisions or multiple links/files it won’t work. Save that download & get the download id.
    • Edit your page & replace the 1260 download_id with the new download_id. Do not put any other download_ids in there. We want just 1 download_id in there.
    • Go into your EBD settings and make sure you hide/mask checked and change from “email” to “both” in order to make things easier.
    • Retest

    If it still doesn’t work at that point then update this item — do not change anything. I want to look at it in that state…

    You can’t do that, but you can pretty close. You can display a single form (name & email address or whatever) and you can associate multiple downloads with that form. The website visitor will see a list of your downloads with a title for each one that you set. Each download will be listed on its own line & next to it will be a checkbox or a radio button. The visitor selects which files he wants (he can select multiple files if checkboxes, otherwise just one of the ones listed if radio button). He fills in the form & hits submit. Then, depending on what settings you choose, one of the following things happens:
    a link (or links if multiple files checked) to the download file is displayed just underneath the form the user submitted (the webpage is updated in place) and the user can click the link (or links) to download the file (or files). a thank-you message is also displayed.
    an email is sent to the email address the visitor typed into the form. that email contains a link (or links) to the download. or the email can have the download(s) attached. or the email can contain both links & attachments
    or a combination of both things above — the page is updated with links & an email is sent to the visitor

    In all cases, an email is also sent to you (the website administrator) notifying you that someone filled in the form & what they downloaded.

    Try it without the quotes as Tig1960 said. If that doesn’t fix it then edit the page so you can see the html (don’t use the wysiwyg editor) and manually put the quotes around the numbers. Do not copy & paste from anywhere.

    Certain themes (builder-type themes with content-blocks) and perhaps certain editors may result in the quotes going in as the HTML-code for a quote rather than the quote itself. Or, some people copy & paste things & sometimes the quotes may not be real quotes (they may be like MS Word dumbquotes or some other variant).

    You just have to keep trying things. As long as you have the contact_form_id correct then it’s a quote issue specific to your site/theme/editor/etc

    Cekar –

    It’s often helpful to look at the webserver’s error log file in order to debug 500 Internal Server errors. Often, it will have some text in the error that will clue you in to where the problem might be. Your system is hosted by 1and1, so the server error log file is going to be exposed through their cpanel menu probably. You should be able to cause the 500 error then look at your log on their site & see the 500 error show up in there.

    Aside from any clues from the error log, another clue is the fact that every php program file in the plugin directory gives a 500 error when accessed externally — by that I mean when I go to it with my browser, as opposed to wordpress loading the plugin itself inside its own running wordpress process, which is how almost all plugins are accessed. Because EBD has features like link expiration, people have to directly access the plugin files from outside with a URL that has wp-content/plugins/email-before-download/download.php in it. Normally, people don’t directly access plugins that way.

    We can see that all the php programs give a 500 error on your site. Try these:
    https://gmc-peru.com/wp-content/plugins/email-before-download/checkcurl.php
    https://gmc-peru.com/wp-content/plugins/email-before-download/export.php
    https://gmc-peru.com/wp-content/plugins/email-before-download/email-before-download.php
    and so on. Normally those programs do not give 500 errors.

    That could be the result of not configuring your webserver to disallow running of php files from non-localhost (from over the web). People sometimes do that for security. Sometimes security plugins or services do that as well. The likely reason it results in a 500 error is because it’s outputting some sort of error message that doesn’t contain an http header, so the server gives a 500 error.

    Now, aside from the 500 error, I see some other weird stuff happening when I submit the EBD form. It may not be a problem, since it does run and displays the download link, but it doesn’t look normal. Normally, when the website visitor submits the EBD form, the browser does an ajax POST back to the same webpage and the result that is returned is a couple of lines of JSON which update the page with the link to the download & a thank you message. On your site, when I submit the EBD form, it looks like it submits to the correct place, but the result that comes back is delivered from https://gmc-peru.com/wp-json/contact-form-7/v1/contact-forms/988/feedback which I have never seen before. I believe /wp-json has to do with the WordPress REST API. Somehow it seems to intercept the submitted request, or the returned result. My guess is that it’s grabbing the returned result from EBD because it’s JSON format, but I’m not really sure. Now, the URL is weird too. v1/contact-forms/988/feedback .. I’m guessing you must have a Contact Form 7 integration plugin installed under the “Integrations” section of Contact Form 7 maybe? I’ll bet that is intercepting all CF7 submissions or results. Anyway, I don’t know that it’s causing problems, but it could be an issue. It might be related to the 500 Internal Server error, but I think that’s unlikely….

    No, there’s no way to do that. There is just a single configurable template per EBD installation. So while you can have different pages under the same wordpress install that use EBD and offer different files for download, they all use the same custom template from setting 9

    I suspect you are encountering the Chrome PDF loading issue. Try Firefox and see if that works. If it does and Chrome doesn’t then that is issue. Normally you can workaround that by checking the hide/mask setting .. or maybe it’s by unchecking it .. I can’t remember. Anyway, one way or the other should get it to work, but it will only work by making the Download File dialog box come up (in order to save the PDF), rather than displaying the PDF in the browser (basically we want to make it avoid using Chrome’s PDF viewer since something about that thing causes this issue in certain cases).

    See my (unnecessarily long) explanation of the emails EBD sends at this thread:
    https://wordpress.org/support/topic/change-who-the-email-is-sent-from/

    If that’s not it for you then you need to tell me if you’re ’email’ or ‘both’, what your shortcode is, and a link to your page.

    there is no way to do that using this plugin

    If you set EBD to ‘both’ or to ’email’ in the EBD Settings, then it send 2 emails out:

    One email goes to the email address that the website visitor typed into your EBD form on your wordpress page when he visited your website. That email will typically a link to the download. That email is sent by the EBD plugin code.

    The other email is what I call the “notification email”. It typically goes to the WordPress administrator. It is sent by Contact Form 7 and where it gets sent to is controlled by the CF7 settings that were configured when you created the CF7 form (which typically defaults to you – the wordpress admin). That email does not contain a link to the download, it just tells you that some visitor filled in the form & requested the download file (or files).

    The “notification email” almost always arrives. However, the email that goes to the website visitor often does not arrive. The reason it does not arrive is that many email providers (Yahoo, Gmail, etc) think it is spam. They think that because the From: of the email usually does not match your domain. This normally happens when you host your wordpress website on 3rd party shared-hosting sites (Bluehost, Hostgator, etc). In order to fix that, you need to either install the Postman SMTP plugin or the Custom Sender For Email Before Download plugin. You need to set the From: of the email to be a real, valid email account for your domain (on most shared-hosting sites that means going into the cpanel administration for your website and making an email account). If the domain of your From: email address does not match the domain of your website then sites like Yahoo mail & Gmail are going to silently throw the email away.

    So, once you do that and fix things, then when you test your page again, use some test email account that is not the same as your wordpress admin account. That way you can see that 1 email goes to the wordpress admin (that’s the “notification email”) and the other email goes to the test email address you set up (on yahoo or gmail or whatever) and that email has links to the download file.

    • This reply was modified 9 years, 3 months ago by dtynan.

    If you want to do two or more files (two or more download_id’s) then you have to put an ebd or an ebd_left tag in the CF7 form you make. That will cause checkboxes to appear next to the files and the user can choose which ones he wants, then submits form, then links for the ones he chose will appear. I think you are missing the ebd or ebd_left tag (which is not documented well in the instructions, so not surprising).

    See my second comment in this thread for more info:
    https://wordpress.org/support/topic/listing-new-files-one-form-only-2/

Viewing 15 replies - 61 through 75 (of 777 total)