• When i press download button on form. It produces “Internal Server Error 500” but looking at my error_log wordpress file. Here are the last contents

    [02-Oct-2016 14:51:47] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘WHERE id = ”’ at line 1 for query SELECT * FROM WHERE id = ”; made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’), call_user_func_array, wpcf7_control_init, wpcf7_ajax_json_echo, WPCF7_ContactForm->submit, WPCF7_Submission::get_instance, WPCF7_Submission->submit, WPCF7_Submission->mail, do_action(‘wpcf7_before_send_mail’), call_user_func_array, ebd_process_email_form
    [02-Oct-2016 14:51:47] PHP Fatal error: Class ‘downloadable_file’ not found in /home/learnuxi/public_html/wp-content/plugins/email-before-download/email-before-download.php on line 472

    Can you tell me what could be the problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ahsanpervaiz

    (@ahsanpervaiz)

    I fixed the problem, the problem was i had not installed Download Monitor Plugin…

    Great, glad to hear you got it working.

    If you are set to ‘inline’ in the EBD settings you are probably all good. If you’re set to ’email’ or to ‘both’ then be sure and check to make sure that the website visitor is actually getting the email with a link in it to download the file. Use a different, separate email account from your wordpress administrator account to test with — ideally, you should see 1 email to the website visitor test email address you made (and that email will have a link to the download) and 1 email to the wordpress administrator email address (and that email will tell you what the user downloaded, but won’t have a link to the download). I mention this because a lot of people are on shared hosting for their wordpress and it is common for many email providers (Yahoo Mail for example) to block the email going to the website visitor because it thinks it might be spam (because the From: value will be goofy because you’re on shared hosting). If you have that problem, you’ll need to install Postman SMTP to configure your email or install the Custom Sender for Email Before Download plugin and set the From value in there. (the From needs to be a real email address that matches your domain name).

    Thread Starter ahsanpervaiz

    (@ahsanpervaiz)

    Thanks a lot for that quick reply @dtynan

    Yes i am using Custom Sender for Email Before Download so my email don’t move to spam folder. As i have seen going it to spam in my hotmail inbox

    and thanks a lot for all the tips. Yes i use the correct emails in the contact form 7 form linked with this and i get email each time someone Download a link or file with your plugin….

    Keep up the great work

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘500 Internal Server error’ is closed to new replies.