Jump to content
  • 0

The form token is invalid.


Question

Posted

Hello,

My blesta instalatio is at: LINK

demo@demo.com

demo123

 

I have problem whit log in, all time error that show up is The form token is invalid.

 

This is show up on every device (job pc, mobile phone, laptop...), only i can log in whit my home pc (i was install blesta via home pc).

 

 

 

4 answers to this question

Recommended Posts

  • 0
Posted

You may want to re-upload all files for Blesta and/or check your web server configuration. I notice that the CSRF token changes on every page load, which indicates the server is recreating a session each time. It's possible your web server does not have permission to write session data.

  • 0
Posted

It was problem whit ssl.

This error will show up at https.

After i intall ssl and open web site on https it is work fine.

 

Now i will like to force website to open via https.

Can't find any htacces file from blesta, i hope that new htacces file will not make some problems on blesta?

I will create some htacces like this:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] 

Edit:

It will not work. it broke all links and change blesta colour theme: http://prntscr.com/pjwx1x

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...