Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error executing propel-gen diff #724

Closed
rafa8626 opened this issue Jul 18, 2013 · 0 comments
Closed

Error executing propel-gen diff #724

rafa8626 opened this issue Jul 18, 2013 · 0 comments

Comments

@rafa8626
Copy link

Fatal error: Class 'Propel' not found in /path/to/propel/generator/lib/util/PropelMigrationManager.php

The reference for Propel.php file is missing in PropelMigrationManager.php.

By adding this after the last require_once will fix it:

require_once dirname(FILE) . '/PropelSQLParser.php'; // Last require_once in class
require_once dirname(dirname(dirname(dirname(FILE)))) . '/runtime/lib/Propel.php';

willdurand added a commit that referenced this issue Nov 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant