• Resolved pahedomotica

    (@pahedomotica)


    When generating a feed I get this error: Error establishing a database connection
    And the website is not working!!
    Is there a fix?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Do you have any error loggings?

    Thread Starter pahedomotica

    (@pahedomotica)

    No errors in the logging “error_log”
    The error is only during creating the file.

    Thread Starter pahedomotica

    (@pahedomotica)

    Hi Michel,
    In the debug.log of the plug-in is this:
    2018-09-21 09:23:28 – Debug Message: A
    2018-09-21 09:24:15 – Debug Message: A
    2018-09-21 09:27:36 – Debug Message: A
    2018-09-21 09:27:55 – Debug Message: A
    2018-09-21 09:41:17 – Debug Message: A
    2018-09-21 09:43:57 – Debug Message: A
    2018-09-21 09:48:16 – Debug Message: A
    2018-09-21 10:43:27 – Debug Message: A
    2018-09-21 10:45:25 – Debug Message: A
    2018-09-21 10:58:20 – Debug Message: A
    2018-09-21 11:06:23 – Debug Message: A
    2018-09-21 11:14:27 – Debug Message: A
    2018-09-21 11:17:20 – Debug Message: A
    2018-09-21 11:34:39 – Debug Message: A
    2018-09-21 11:36:29 – Debug Message: A
    2018-09-21 11:44:53 – Debug Message: A
    2018-09-21 12:02:29 – Debug Message: A
    2018-09-21 21:11:38 – Debug Message: A
    2018-09-22 13:32:58 – Debug Message: A
    2018-09-22 13:35:42 – Debug Message: A
    2018-09-22 13:36:21 – Debug Message: A
    2018-09-22 13:36:49 – Debug Message: A
    2018-09-22 14:17:34 – Debug Message: A
    2018-09-22 14:21:15 – Debug Message: A
    2018-09-22 14:22:54 – Debug Message: A

    Hope that can help you!
    Regards Paul

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Can you confirm the Debug Message is only an A???? I think the text is not complete, could you please copy one line of the complete message?

    Thread Starter pahedomotica

    (@pahedomotica)

    This are the complete lines! the message is only an A.
    When I try to make a feed now, I see this also:

    WP Product Feed Manager

    MailPoet-fout: Kon niet verbinden met de database (de database kon een bestand of map niet openen), de verbinding is waarschijnlijk niet juist geconfigureerd. Lees ons Kennisbank-artikel met stappen over hoe dit op te lossen is.

    Manage your feeds with ease
    etc.

    After a little while it’s working again.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Could you try to deactivate the MailPoet plugin and see if you then can generate a feed without issues?

    Thread Starter pahedomotica

    (@pahedomotica)

    I did but get the same eror: Error establishing a database connection !!
    (Not the mail poet message)

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    What exactly did you mean by “After a little while it’s working again.”. The feed was generating after waiting for a while?

    MailPoet has several plugins, what plugin are you using and is that the free version?

    Also what version of our plugin are you using?

    Thread Starter pahedomotica

    (@pahedomotica)

    Hi Michael,

    This is what I do, and happens.
    – I click on save and generate feed,
    – I click on “Feed Manager”, this error accours: Error establishing a database connection
    – I go to the website (front), this error accours: Error establishing a database connection
    – after a little while, I think when the feed is generated, the error is gone.

    I have this “free” mailpoet version Versie: 3.10.1
    And your plug-in is this version: Versie: 1.10.0

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    I can’t replicate it on my servers (even after installing MailPoet) but because I’ve never heard about database connection issues with our plugin before, I still have a feeling it is related to MailPoet, also because MailPoet seems to have a special way to setup database connections. Our plugin is using the standard WordPress wpdb class to connect to the database, so that should work correctly.

    Could you please try if these steps help solving the issue? https://beta.docs.mailpoet.com/article/200-solving-database-connection-issues

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Disregard my previous message. I now see that the instructions are mainly for localhost or MAMP/LAMP setups.

    I will dive further into this issue.

    Thread Starter pahedomotica

    (@pahedomotica)

    I don’t think its related to mailpoet, because when I disable the mailpoet plug-in , the same error happend!

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Yes I understand that. But I know that sometimes plugins leave traces behind, even when they are deactivated. Not saying it is definitely the MailPoet plugin, but as for now it is the only trace I have.

    There is nothing I can change to the database connection, because I use the standard WordPress Database Access Abstraction Object to connect to the database. I can’t change that, in fact the WordPress code itself is making the connection. And you’re the first who reported this issue whilst we have 10.000+ users.

    Did you have this issue from the start when you used our plugin, or did it work fine at first and suddenly got broken?

    Thread Starter pahedomotica

    (@pahedomotica)

    I have it from the beginning (last friday)
    When I generated the first feed, there was standing “proccesing” and stayed there.
    Then I enabeld:
    Disable background processing Process feeds directly instead of in the background (default off). Try this option when feeds keep getting stuck in processing.
    I read that on the plug-in site.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Could you open a technical support ticket in our support system here: https://www.wpmarketingrobot.com/support/ ?

    Just fill in a random number in the license input field and please add the requested Woocommerce > System status > button “Get system report” file to the ticket.

    Let me know when you did that so I can intercept the ticket.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.