Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Forms & Blueprints

0 - Process could not be started [The system cannot find the path specified. ]

Solved by Jen Lloyd View solution

Started by Jen Lloyd 7 years ago · 2 replies · 1199 views
7 years ago

trying to create the basic contact form (used example from grav docs); all going well until I try to actually use it. Form loads fine, can fill in all the fields, but upon hitting submit I get the " 0 - Process could not be started [The system cannot find the path specified. ]" error. I have no idea why this isn't working and I am extremely new to all of this.

thanks,
j

YAML
---
title: 'Contact us'
form:
    name: contact-form
    fields:
        -
            name: name
            label: 'Your name (optional)'
            placeholder: null
            autofocus: 'on'
            autocomplete: 'on'
            type: text
            validate:
                required: false
        -
            name: email
            label: 'Your email address'
            placeholder: null
            type: email
            validate:
                required: true
        -
            name: message
            label: Message
            size: long
            placeholder: 'Enter your message'
            type: textarea
            validate:
                required: true

    buttons:
        -
            type: submit
            value: Submit
            classes: 'btn btn-lg btn-primary'
        -
            type: reset
            value: Reset
            classes: 'btn btn-lg btn-secondary'

    process:
        -
            email:
                from: '{{ config.plugins.email.from }}'
                to:
                    - '{{ config.plugins.email.to }}'
                    - '{{ form.value.email }}'
                subject: '[Feedback] {{ form.value.email|e }}'
                body: '{% include ''forms/data.html.twig'' %}'
        -
            save:
                fileprefix: feedback-
                dateformat: Ymd-His-u
                extension: txt
                body: '{% include ''forms/data.txt.twig'' %}'
        -
            message: 'Thank you for your feedback!'
        -
            display: thankyou
---
last edited 06/17/19 by Jen Lloyd
7 years ago

Hi suprnoodle,

You should first check your email plugin parameters.
Also enable logs in GRAV and plugins and check the output.

Are you using the form in a modular page ?
From what I see here you're displaying the thankyou message in a separate page (thankyou).
Is it created ?
Try to disable the "display: thankyou" line to see if the error is related to this (the email will be sent but you'll only get the feedback message on screen).

7 years ago Solution

thanks virusX for your reply. everything is configured as it should be, turns out the issue was that it doesn't work while I am running locally on my PC. When we sync to our dev server it works just fine.

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Ton Haarmans, 5 years ago
13 1140 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 63 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 138 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 114 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 132 7 months ago