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

[Airbrake] [Production] Missing template pages/404 with {:locale=>[:en], :formats=>[:xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee]}. Searched in: * "/app/app/views" * "/app/vendor/bundle/ruby/2.3.0/gems/twitter-bootstrap-ra... #347

Closed
tansaku opened this issue Aug 22, 2016 · 2 comments
Labels

Comments

@tansaku
Copy link
Contributor

tansaku commented Aug 22, 2016

Airbrake error: #1336
Airbrake project: harrowcn-production

Error type: ActionView::MissingTemplate
Error message: Missing template pages/404 with {:locale=>[:en], :formats=>[:xml], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee]}. Searched in: * "/app/app/views" * "/app/vendor/bundle/ruby/2.3.0/gems/twitter-bootstrap-rails-2.2.8/app/views" * "/app/vendor/bundle/ruby/2.3.0/gems/devise_invitable-1.3.6/app/views" * "/app/vendor/bundle/ruby/2.3.0/gems/devise-3.4.1/app/views"
Where: pages#show
Occurred at: Aug 22, 2016 16:51:54 UTC
First seen at: Aug 22, 2016 16:51:54 UTC
Occurrences: 1 (0 since last deploy on <no information>)

URL: https://www.harrowcn.org.uk/browserconfig.xml
File: [GEM_ROOT]/gems/actionview-4.2.7/lib/action_view/path_set.rb

Backtrace:

[GEM_ROOT]/gems/actionview-4.2.7/lib/action_view/path_set.rb:46:in find
[GEM_ROOT]/gems/actionview-4.2.7/lib/action_view/lookup_context.rb:121:in find
[GEM_ROOT]/gems/actionview-4.2.7/lib/action_view/renderer/abstract_renderer.rb:18:in find_template
[GEM_ROOT]/gems/actionview-4.2.7/lib/action_view/renderer/template_renderer.rb:40:in determine_template
...
Caused by ActiveRecord::RecordNotFound: Couldn't find Page
@tansaku
Copy link
Contributor Author

tansaku commented Aug 24, 2016

Seems we need a new file for IE - some information here: http://www.buildmypinnedsite.com/ which then says to add the following:

<meta name="application-name" content="LocalSupport"/>
<meta name="msapplication-TileColor" content="#006937"/>

to our site, but not a xml file - hmm ...

@tansaku
Copy link
Contributor Author

tansaku commented Aug 24, 2016

ah but apparently we can add the following to remove the request for the xml file

<meta name="msapplication-config" content="none"/>

@nisevi nisevi closed this as completed Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants