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

Drupal\Console\Bootstrap\Drupal::boot method causes 404 errors #3264

Closed
AlexKomm opened this issue Apr 10, 2017 · 1 comment
Closed

Drupal\Console\Bootstrap\Drupal::boot method causes 404 errors #3264

AlexKomm opened this issue Apr 10, 2017 · 1 comment
Assignees

Comments

@AlexKomm
Copy link

[console] Drupal\Console\Bootstrap\Drupal::boot method causes 404 errors

Every console command causes 404 errors being logged in watchdog

In Drupal class there is a boot method where Request object is created
($request = Request::create($uri, 'GET', [], [], [], ['SCRIPT_NAME' => '/index.php']);).

Passing index.php as part of the uri string causes ResourceNotFoundException to be thrown in RouterListener service with message No route found for GET /index.php"

How can i solve this issue?

  • Drupal version: 8.2.
  • Console version: 1.0.0 rc-16
jmolivas added a commit to jmolivas/drupal-console that referenced this issue Apr 12, 2017
@jmolivas jmolivas self-assigned this Apr 12, 2017
@jmolivas
Copy link
Member

Closing this one. Feel free to re-open if still happening after updating to the latest version.

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

2 participants