Skip to content
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.

Error in migration: PHP Error[2]: include(OEMigration.php): failed to open stream: No such file or directory #1

Open
xibalbus opened this issue Oct 18, 2012 · 0 comments

Comments

@xibalbus
Copy link

D:\OpenEyes\openeyes\protected>"php.exe" "D:\OpenEyes\openeyes\protected\yiic.ph
p" migrate --migrationPath=application.modules.OphCiExamination.migrations

Yii Migration Tool v1.0 (based on Yii v1.1.8)

Total 2 new migrations to be applied:
m120703_130000_initial_migration_for_ophciexamination
m120724_123004_sanitise_rule_values

Apply the above migrations? [yes|no] yes
*** applying m120703_130000_initial_migration_for_ophciexamination
PHP Error[2]: include(OEMigration.php): failed to open stream: No such file or d
irectory
in file D:\OpenEyes\yii\framework\YiiBase.php at line 421
#0 D:\OpenEyes\yii\framework\YiiBase.php(421): autoload()
#1 unknown(0): autoload()
#2 D:\OpenEyes\openeyes\protected\modules\OphCiExamination\migrations\m120703_13

0000_initial_migration_for_ophciexamination.php(3): spl_autoload_call()
#3 D:\OpenEyes\yii\framework\cli\commands\MigrateCommand.php(404): require_once(

)
#4 D:\OpenEyes\yii\framework\cli\commands\MigrateCommand.php(362): MigrateComman

d->instantiateMigration()
#5 D:\OpenEyes\yii\framework\cli\commands\MigrateCommand.php(100): MigrateComman

d->migrateUp()
#6 unknown(0): MigrateCommand->actionUp()
#7 D:\OpenEyes\yii\framework\console\CConsoleCommand.php(135): ReflectionMethod-

invokeArgs()

8 D:\OpenEyes\yii\framework\console\CConsoleCommandRunner.php(63): MigrateComma

nd->run()

9 D:\OpenEyes\yii\framework\console\CConsoleApplication.php(88): CConsoleComman

dRunner->run()

10 D:\OpenEyes\yii\framework\base\CApplication.php(158): CConsoleApplication->p

rocessRequest()

11 D:\OpenEyes\yii\framework\yiic.php(33): CConsoleApplication->run()

12 D:\OpenEyes\openeyes\protected\yiic.php(7): require_once()

D:\OpenEyes\openeyes\protected>OEMigration

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant