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

Form plugin throws error "Oops there was a problem ..."

Started by Muut Archive 11 years ago · 4 replies · 1160 views
11 years ago

http://ronaldsmeets.info/
To recap: I'm using the Land.io Skeleton package, with Grav core and plugins updated to the latest versions. In the Land.io theme there is a Contact Form that uses the Forms plugin (obviously?). However when I try to send an e-mail via this form I get the message

TXT
"Oops there was a problem, please check your input and submit the form again."

First I though it was the e-mail plugin that threw the error, but when I trace back the origin of the message it seems to have something to do with a 'nonce not validated' (it's in \user\plugins\form\classes\form.php, line 141, and the user\plugins\form\languages.yaml file), however I have no clue how to solve this :)

Any idea's?

ps: on a side note - maybe it's related(?) - I can't get the admin panel to work either. Admin plugin is installed and I have setup a user via $ bin/plugin login new-user and all. However login in gets me to an "Access denied..." message. As it is using the same Form plugin, maybe it's related but I can't confirm.

Thanks in advance!
Best, Ronald

11 years ago

(meanwhile you can add that line manually)

Regarding the other problem you have, looks related because (just tried) it seems the Landio theme redirects the admin login (/admin) to another page (/user-login). Looking to find out why!

11 years ago

Great work! Both solutions work just fine. I can login to the Admin panel and the form is working as well :) Thanks for the support.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1349 9 years ago
Archive · by Muut Archive, 9 years ago
2 934 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2946 9 years ago
Archive · by Muut Archive, 9 years ago
3 1118 9 years ago