propelorm/sfPropelORMPlugin — Issue #93: config/GeneratorConfig.php cannot be found during symfony propel:diff
Author: vworldat
Created: 2011-11-13 17:15:30+00:00
State: open

When executing `symfony propel:diff` for the first time I received the following error:
```
> symfony propel:diff
>> propel Reading databases structure...
PHP Fatal error: require_once(): Failed opening required 'config/GeneratorConfig.php'
```
My setup is sf1.4 with SVN (propel is in `/lib/vendor/propel`).

Solution
------------

To fix the issue I had to add `sf_propel_generator_path` to my ProjectConfiguration:
```php
sfConfig::set('sf_phing_path', sfConfig::get('sf_root_dir').'/lib/vendor/phing');
sfConfig::set('sf_propel_path', sfConfig::get('sf_root_dir').'/lib/vendor/propel');
sfConfig::set('sf_propel_generator_path', sfConfig::get('sf_root_dir').'/lib/vendor/propel/generator/lib');
```

Perhaps this can be fixed in the readme.