We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Ideas why channel form gives "expired" on mobile but works on desktop?

How Do I?

Riverboy's avatar
Riverboy
2,989 posts
9 years ago
Riverboy's avatar Riverboy

hi, Does anyone happen to know why channel form keeps giving “this form has expired” when trying to fill it with mobile (in my case with iPhone5). Yet the form itself works when I fill it up via desktop (Edge & Chrome).

Is there some parameters or similar that wont work with mobile, or is this EE basic conf or something?

My channel form opening tag has nothing special, using this:

{exp:channel:form channel="thechannelofalltime" secure_action="yes" secure_return="yes" datepicker="no" include_assets="no" status="pending" include_jquery="no" return="home/thankyou"}

It has just basic inputs + email field type, nothing fancy. The only difference is that it can be filled by guests. But as said, it works via desktop, not with mobile :/

       
Robin Sowell's avatar
Robin Sowell
13,159 posts
9 years ago
Robin Sowell's avatar Robin Sowell

Odd! I can’t think why mobil would matter at all.

If I had to bet, it’s losing the entire post- the ‘expired’ message is just a symptom of that.

Real quick- disable csrf.

$config['disable_csrf_protection'] = 'y';

What happens if you do that and submit the post?

Then- turn it back on.

       
Riverboy's avatar
Riverboy
2,989 posts
9 years ago
Riverboy's avatar Riverboy

Well. If you havent cleared mobile (safari) cookies, it gives that error. I simply cleared all from my phone, and then re-tried with success.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.