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

Installing using composer --no-dev then attempting yii migrate/up results in error. #1288

Closed
davidjeddy opened this issue Nov 3, 2015 · 0 comments

Comments

@davidjeddy
Copy link
Contributor

./protected/humhub/config/console.php:

    'modules' => [
        'gii' => 'yii\gii\Module',
    ],

However when installing the application using --no-dev Gii is not installed, thus resulting in an error when attempting a "php ./protected/yii migrate/up" via the console on a production ENV (ie during deployment).

Suggestion:

Either move gii to 'require' or encapsulate the gii module inclusion in a check that YII_DEBUG is true.

@luke- luke- closed this as completed in 3a74333 Nov 6, 2015
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