paklic9
11
12
Laravel

Shared hostling - error when trying insert something to database

Posted 10 months ago by paklic9

Hi, I have problem with setting correctly my website on shared hosting (forpsi). On local host is all working fine. I did all what I found on internet. And all is working except one thing. The problem is, when I am trying to write/insert something to databse (login, register, insert a form).

It always do/say: The page has expired due to inactivity. Please refresh and try again. (image: https://ctrlv.cz/shots/2018/01/15/OHQX.png )

I also tried to set access rights 777 to storage and bootstrap/cache recursively, but it didnt helped. PS: Reading and getting data from database is working and showing the data from database on page is also working.

Does somebody know, how to fix it? I would be happy.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.