M
M
MikMik2018-04-27 21:42:53
Yii
MikMik, 2018-04-27 21:42:53

How to beat 400 error in gii?

When generating GRUD, an error pops up 400 Unable to verify your data submission
What could be the problem?
Yii2 basic. All by default. There are all tokens on the page...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alibek Musin, 2018-04-28
@Alibek_Mussin

Most likely the paths are written incorrectly. Perhaps you need to write app/models/ModelName
Well or not. In general, gii in yii2 turned out to be more complex and clumsy than in yii1

E
Eugene, 2018-04-28
@evgen9586

See how the paths are written here

M
MikMik, 2018-04-28
@MikMik

Guys, what's the path? This is not the reason for the error.
I already solved the problem by updating the framework.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question