A
A
agent11562017-01-12 14:26:16
Yii
agent1156, 2017-01-12 14:26:16

Why an error when creating data in GRUD?

Everything is fine on the local server, but I sent the site to production with an error 400. What's the matter. In the controller, data is passed to the post, get methods

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
frolover, 2017-01-12
@agent1156

Something with submitting forms, check csrf

A
agent1156, 2017-01-12
@agent1156

Disable csrf in config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question