• Has anyone tried to deploy using Capistrano + Composer?

    I get things working on localhost…

    After deploying to production server from localhost, contact forms fail to send messages.

    Activating & De-activating does not make a difference.

    Deleting the plugin and re-installing fixes the issue.

    https://wordpress.org/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I get things working on localhost… After deploying to production server from localhost, contact forms fail to send messages.

    There are a host of issues that can stop or delay emails on both the sending and receiving ends. It depends entirely on your local Server & WordPress configuration. You will need to investigate this issue for your particular local configuration.

    See Contact Form 7 Email Issues. Provides a comprehensive and detailed article which covers many issues. Most people that work through this information appear to be able to resolve their email sending & receiving issues.

    Thread Starter devnull666

    (@devnull666)

    Thanks for the reply.

    When I install Contact Form 7 on the host from scratch, email delivery works. So, there are no issues with my server / wordpress configuration in delivering mail.

    It’s only when I install through a capistrano+composer workflow, Contact Form 7 fails. This failure happens even though Contact Form 7 works on the local host.

    I think something is happening during installation of Contact Form 7, that causes server / configuration dependence.

    When you simply copy your WP configuration from one host to another (which is what capistrano+composer workflow does), the setup no longer works.

    It’s easy to fix: re-install Contact Form 7 from scratch and email delivery starts working again. But, it also means that Contact Form 7 breaks automated deployments.

    In essence, the installation (not just activation) of Contact Form 7 has host dependent components, and you cannot just copy WP from host to host.

    Perhaps you could describe the installation process and what gets setup in databases, etc. so that I can modify and fix it?

    Thread Starter devnull666

    (@devnull666)

    any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Capistrano Deploy’ is closed to new replies.