During installation on a Pantheon development environment I get a white screen with a generic error message. Examining the log reveals the following error:
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "search404.settings" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 191 of /srv/bindings/0525bb0972474be1853f53b3bf4b631e/code/core/lib/Drupal/Core/Routing/RouteProvider.php).
This error does not occur on my local development machine which is running Apache on Mac OS X, and seems to be unique to the Pantheon environment. I have contacted Pantheon support, but I notice that this issue has seemingly plagued a few other modules as well and wonder if there may be something which needs to be modified in the module itself. I am still very new to Symfony, and am unable to see what the problem may be here.
Thank you!
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | search404-symphony_routing_error-2696473-9.patch | 0 bytes | anish_zyxware |
Comments
Comment #2
anish.a commentedLet us know any reply you get from pantheon. Is there any demo accounts from pantheon that I can test this?
Comment #3
rich_dawson commentedYou can set up a development environment on Pantheon for free, they only charge for production sites.
Pantheon is waiting on a more senior member of their staff to return from vacation to respond to the support request. A member of their support team did post to github here: https://github.com/pantheon-systems/drops-8/issues/135
Comment #4
anish.a commentedComment #5
rich_dawson commentedEDIT: Initially it seemed that my patch had resolved this issue. Unfortunately the issue persists, so I will continue to investigate on my end.
I do believe however that those paths are supposed to be encapsulated in quotations as that seems to be the standard on virtually every other contrib module and core modules.
Comment #6
rich_dawson commentedAn update: I found that the partial loss of functionality is due to the NGINX servers in use at Pantheon, and is not related to the installation error given in this issue. More on that in the separate issue I created here.
Also, during the course of my troubleshooting I noticed that the file located in config/schema is named search404.settings.yml
It seems that other modules name files in the schema folder xxx.schema.yml
As it is currently there are two files named search404.settings.yml, one in config->install and the other in config->schema.
Comment #7
anish.a commentedChanged the file name to the standard specified by other modules.
I hope this closes this issue. Nginx issue will be fixed separate.
Comment #8
anish.a commentedComment #9
anish_zyxware commentedMerging the patch. Modified a bit.
Comment #11
anish_zyxware commented