Giter Site home page Giter Site logo

Comments (12)

flaviocopes avatar flaviocopes commented on May 11, 2024

Are you getting an error about captcha above the comment form, once you enter the comment?
You must configure the recaptcha parameters, or delete the captcha processing.
I'll disable captcha by default in the next update, with instructions on how to activate it, as it needs the site/secret keys to work.

from grav-plugin-comments.

flaviocopes avatar flaviocopes commented on May 11, 2024

f25fbd7

from grav-plugin-comments.

superlou avatar superlou commented on May 11, 2024

No error on captcha before or after submitting the form. I gave it my Recaptcha keys and the check itself seems to work fine.

from grav-plugin-comments.

flaviocopes avatar flaviocopes commented on May 11, 2024

If you just add the 'addComment' process action to the form, is it called?

from grav-plugin-comments.

superlou avatar superlou commented on May 11, 2024

Sorry, how would I do that? In user/config/plugins/comments.yaml I see a form: process: addComment: item, but it's empty.

from grav-plugin-comments.

flaviocopes avatar flaviocopes commented on May 11, 2024

This should work, for example:

enabled: true
form:
    name: comments
    fields:
.......
    process:
        - addComment:

(mind the correct tabs indentation)

from grav-plugin-comments.

superlou avatar superlou commented on May 11, 2024

I'm not following, sorry. In comments.yaml, I have the addComment item, but I think that came by default. As shown in the first code snippet in my first post, a log message in onFormProcessed doesn't show up by tailing the log.

from grav-plugin-comments.

flaviocopes avatar flaviocopes commented on May 11, 2024

I'm not sure why it should not! PM me your user/ folder via Gitter so I can test

from grav-plugin-comments.

superlou avatar superlou commented on May 11, 2024

I recreated the issue on Linux Mint 17, Apache/2.4.7, PHP 5.5.9. I used the grav core + admin package for version 1.0.4. I installed the current comments package with recaptcha disabled. I had the same symptoms with no comments being added. It seems an unlikely thing, but is anyone successful on a LAMP server?

from grav-plugin-comments.

khanduras avatar khanduras commented on May 11, 2024

I'm getting something similar - it doesn't look like it's processing the 'addcomment'
I'm using nginx/1.4.6 PHP 5.5.9-1ubuntu4.5

from grav-plugin-comments.

flaviocopes avatar flaviocopes commented on May 11, 2024

Just spinned up a clean site on Linux and I recreated the problem. Not sure why it didn't happen on my test environment before.
Can you test my fix? a6476ab

from grav-plugin-comments.

superlou avatar superlou commented on May 11, 2024

I tested it on my localhost development site and on my blog, both running LAMP on Mint/Ubuntu, and the fix seems to work.

from grav-plugin-comments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.