Today while working with one of my colleague I stumbled upon a weird issue. When running migrations we were running into this PHP error saying it was unable to open input files. After spending some time online, we found out that we were actually missing
yii.sh file in our project, which for some reason is added to
.gitignore by default.
After adding that file we were able to run migrations again.
Hope it helped!
Latest posts by alexey (see all)
- WordPress stuck on a “Too many redirects” error loop when using SSL - January 17, 2018
- Sails.js + Passport.js : req.user undefined - December 31, 2017
- “Could not open input file” on running migrations in yii2 - October 27, 2017