VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: EvanGR on October 14, 2020, 08:47:07 AM

Title: Product Ask a Question is broken (invalid token)
Post by: EvanGR on October 14, 2020, 08:47:07 AM
EDIT: Disabling ReCaptcha from VM fixes the issue. Is VM compatible with latest ReCaptcha?

----
Hello,

My Ask a Question form (product page) is broken. When the user clicks submit, the server reports with a 500 error code, and the message "invalid-token".
This is for a commercial template which is no longer supported, bummer.

If I disable the askaquestion override (and switch to VM default), I get the form in a infinite ajax-loading type of state.

btw... we have recaptcha (latest version) enabled.

Any ideas how to troubleshoot further?


Thanks

[J3.9.21, VM 3.8.4 latest official]

Title: Re: Product Ask a Question is broken (invalid token)
Post by: pinochico on October 14, 2020, 09:25:52 AM
I send your problem to my developer, pay 2 hours for analyzing and maybe is enought for the fix too.
After fixed I send you info how can you fix it.

Stay in touch :)
Title: Re: Product Ask a Question is broken (invalid token)
Post by: Jörgen on October 14, 2020, 10:04:52 AM
Have You multiple recaptcha plugins enabled ? This might break the recaptcha.

Jörgen  @ Kreativ Fotografi
Title: Re: Product Ask a Question is broken (invalid token)
Post by: EvanGR on October 21, 2020, 14:56:00 PM
Hello,

No, I only use the default recaptcha code.

I temporarily solved the issue by removing recaptcha call from Ask a Question form.
Title: Re: Product Ask a Question is broken (invalid token)
Post by: jenkinhill on October 21, 2020, 16:47:50 PM
Recaptcha is fixed in VM 3.5, including hidden, (I have VirtueMart 3.8.5 10344) but the fix has not yet made it to the public release, which I assume will be 3.8.6
Title: Re: Product Ask a Question is broken (invalid token)
Post by: pinochico on October 21, 2020, 18:30:40 PM
QuoteRecaptcha is fixed in VM 3.8.5, including hidden, (I have VirtueMart 3.8.5 10344) but the fix has not yet made it to the public release, which I assume will be 3.8.6

Exactly - I think the change makes Stano (I've talked with him) and now we are waiting for deploy new version
Title: Re: Product Ask a Question is broken (invalid token)
Post by: EvanGR on October 22, 2020, 08:49:07 AM
Awesome!

btw... are these development versions available in a public repository?

Title: Re: Product Ask a Question is broken (invalid token)
Post by: jenkinhill on October 22, 2020, 13:35:40 PM
You can build your own version. All files are in http://dev.virtuemart.net/projects/virtuemart/repository
Title: Re: Product Ask a Question is broken (invalid token)
Post by: pinochico on October 22, 2020, 18:01:13 PM
Quotehttp://dev.virtuemart.net/projects/virtuemart/repository

No, this new version is not in the repository yet.