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

spark migrate:latest ErrorException alpha5 #1724

Closed
d4mn opened this issue Feb 14, 2019 · 0 comments
Closed

spark migrate:latest ErrorException alpha5 #1724

d4mn opened this issue Feb 14, 2019 · 0 comments

Comments

@d4mn
Copy link

d4mn commented Feb 14, 2019

Describe the bug
When trying to migrate database with command:
php spark.php migrate:latest -all
I get an error:
Type: ErrorException Message: Undefined index: HTTP_HOST Filename: /home/*****/vendor/codeigniter4/framework/system/Router/RouteCollection.php Line Number: 1393

CodeIgniter 4 version
CodeIgniter 4.0.0-alpha.5 (appstarter, framework and devstarter projects)

Affected module(s)
Database Migration

Expected behavior, and steps to reproduce if appropriate
I think when calling Codeigniter from CLI it shouldn't look at RouteCollection::determineCurrentSubdomain . I don't know if it's my Router configuration fault or something else.

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