Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

PHP Routing Error #135

Open
ghost opened this issue Mar 29, 2016 · 1 comment
Open

PHP Routing Error #135

ghost opened this issue Mar 29, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 29, 2016

Nearly every contrib module I have installed recently on Drupal 8.0.5 has resulted in a common error, two of which I have posted below:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "colorbox.admin_settings" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 191 of /srv/bindings/0525bb0972474be1853f53b3bf4b631e/code/core/lib/Drupal/Core/Routing/RouteProvider.php).

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "m4032404.config" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 191 of /srv/bindings/0525bb0972474be1853f53b3bf4b631e/code/core/lib/Drupal/Core/Routing/RouteProvider.php).

I have had no problem installing these same modules on my local environment before pushing them to the development Pantheon server. I have experienced the same error with search404 and pathauto. In the case of search404, it has seemingly affected functionality of the module, though no other contrib modules have so far experienced any adverse effects from what I can tell.

There is a similar issue posted to the Drupal Sitemap module which is quite
similar to mine and has not yet been resolved:
https://www.drupal.org/node/2601676

Also, glancing at response #3 in the following:
https://www.drupal.org/node/2588511 I wonder, is it possible that the
module expects a different path than is being provided on the Pantheon
environment? Perhaps the error stems from an invalid path structure which
lacks a forward slash or something trivial like that? Maybe this is an
issue which module developers should be made aware of, or which Pantheon
can reasonably accommodate? Just speculation, but I can't imagine what else
could be different in the Symfony routing between my local dev and Pantheon
dev environments.

CASE #58266

@richdawson
Copy link

The partial loss of functionality stems from the Search 404 module's implementation of get('REDIRECT_URL') which is specific to Apache. Because Pantheon runs NGINX the Search 404 module is unable to perform automatic searches using a path alias as the get request returns an empty result. I have created an issue for this here: https://www.drupal.org/node/2697197

Also, when enabling Devel module today I received a similar Symfony routing error:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "devel.admin_settings" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 191 of /srv/bindings/0525bb0972474be1853f53b3bf4b631e/code/core/lib/Drupal/Core/Routing/RouteProvider.php).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant