I am trying to generate migration scripts with the Jend Framework using theory experiment. I am receiving the following:
$ php doctrine.php generated-migration-diff $ PHP deadly error: $ tmp / fromprfx_doctrine_tmp_dirs / accessType.php class in Avo_Model_AccessType can not redeclare on line 16
I can successfully create yaml file for model I am using Zend Framework 1.10.5 and Principle 1.2.2. I think that this problem can be with a self-loader and the fact that Jade Autoloads are trying to recreate the theory of classes.
I still have this error. The problem was that in bootstrap, before all models with
Doctrine_Core :: loadModels ($ options [models_path '] It was loaded;
So, I removed that line and it got help.
Comments
Post a Comment