FrontEndUsers Login stopped working

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm
Location: Ottawa, Canada

FrontEndUsers Login stopped working

Post by wms »

Hi,

I'm hoping someone can help me out please.

I'm running the latest version of CMSMS, all modules are upgrade, and running PHP 7.1.

I had a login page working for over a year on this site: http://www.kac1.ca/index.php?page=login

It has now stopped working. You type in the login credentials and nothing happens. This is what is in my template:
{FrontEndUsers}
{if feu_smarty::is_user_memberof('KAC')}
{$capturedcontent}
{/if}

The only thing that change in the last couple of days is that I upgraded all modules and upgraded CMSMS from 2.2.7 to 2.2.8. I was running PHP 5.5, I tried 5.6, and now 7.1.

Would anyone have any suggestion on why the login just stopped working?

This is a large community site and I need some help as soon as possible.

Thanks,

Jeff
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm
Location: Ottawa, Canada

Re: FrontEndUsers Login stopped working

Post by wms »

And oh...if you want to try to log in, you can use: member@kac1.ca/Orange#123
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1627
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: FrontEndUsers Login stopped working

Post by DIGI3 »

FEU 2.9 has some important information in the release notes:
Note: By default you MUST add {cge_form_csrf} to the inside of all forms in FEU form templates or an error will be generated on form submission.

You can disable this behaviour by using the cge_ignore_csrf config setting. See the CGEXtensions module for more info.
Not getting the answer you need? CMSMS support options
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm
Location: Ottawa, Canada

Re: FrontEndUsers Login stopped working

Post by wms »

Thank you very much for your reply.

I added {cge_form_csrf} to the top of all the FEU form templates and it still didn't work. Is there something else I need to do?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1627
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: FrontEndUsers Login stopped working

Post by DIGI3 »

Not that I can recall, although it may have to be after the form_start tag. If that still doesn't work, clear the cache, and check your php error logs.
Not getting the answer you need? CMSMS support options
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm
Location: Ottawa, Canada

[SOLVED] FrontEndUsers Login stopped working

Post by wms »

Thank you very much for your quick help.

That did the trick.

Put {cge_form_csrf} at the end of all FEU Templates before the close "end of form" tag.

Thanks!!
Post Reply

Return to “Modules/Add-Ons”