Answer the question
In order to leave comments, you need to log in
Yii2 showed other people's data in the edit form, is it a cache?
I'm handing over a yii2 project, and the customer sends me a screen of a glitch, where he has, in the form of editing personal data, the data of another account that I created earlier (for a test).
Those. there is someone else's avatar and what is in the database - Name, Surname, Phone - all the data is someone else's.
I freaked out from this, the only thought is that yii2 pulled it out of the cache.
'cache' => [
'class' => 'yii\caching\FileCache',
Answer the question
In order to leave comments, you need to log in
Data cached php yii cache/flush-all
Other commands
cache/flush Flushes given cache components.
cache/flush-all Flushes all caches registered in the system.
cache/flush-schema Clears DB schema cache for a given connection component.
cache/index (default) Lists the caches that can be flushed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question