Search

Hi,

I have trouble with the Save Comment, Publish Article and other home made Event that works in a similar way. Every time I’m doing a POST on the front-end (posting a comment in this case), I’m getting an error message like:

“The system encountered errors when saving your comment. Please check if all the required fields have been filled.”

The XML in the source looks like this:

<save-comment result="error">
    <message>Unknown errors where encountered when saving.</message>
    <post-values>
        <author>Peter</author>
        <email>info@themusicfirst.com</email>
        <website>http://www.themusicfirst.com</website>
        <comment>Bla die Bla</comment>
        <article>109</article>
    </post-values>
</save-comment>

Has anyone an idea what I’m doing wrong? Thank you, P

What does your form look like?

Hi Allen,

It's a clean install. I didn't made any changes to it:

    <form action="" method="post">
      <p class="error">The system encountered errors when saving your comment. Please check if all the required fields have been filled.</p>
      <fieldset>
        <label>Name <input type="text" name="fields[author]" value="Peter" /></label>
        <label>Email <input type="text" name="fields[email]" value="info@themusicfirst.com" /></label>

        <label>Website <small>http://</small><input type="text" name="fields[website]" value="http://www.themusicfirst.com" /></label>
        <label>Comment <textarea name="fields[comment]" rows="5" cols="21">Bla die Bla</textarea></label>
        <input name="fields[article]" value="109" type="hidden" />
        <input name="akismet[author]" value="author" type="hidden" />
        <input name="akismet[email]" value="email" type="hidden" />
        <input name="akismet[url]" value="website" type="hidden" />
        <input id="submit" type="submit" name="action[save-comment]" value="Post Comment" />

      </fieldset>
    </form>

Looks like you're using the akismet event, is that right?

Yes, I did. But I disabled it. Seems like it's not a 100% disabled. Any idea's on what I can do/try?

If the install's clean, I wonder whether it's not a server configuration thing...

Is there anything in your log? Delete /manifest/logs/main and try to post a comment. Does anything show up in the log afterwards?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details