# Accidentally overwrote application.hbs || Enter safe mode

**URL:** https://meta.discourse.org/t/accidentally-overwrote-application-hbs-enter-safe-mode/167619
**Category:** Support
**Created:** [October 19, 2020, 2:24pm UTC](https://meta.discourse.org/t/accidentally-overwrote-application-hbs-enter-safe-mode/167619 "2020-10-19T14:24:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![akapetzoglou1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akapetzoglou1/32/200426_2.png) [@akapetzoglou1](https://meta.discourse.org/u/akapetzoglou1)
#### Post date: [October 19, 2020, 2:24pm UTC](https://meta.discourse.org/t/accidentally-overwrote-application-hbs-enter-safe-mode/167619/1 "2020-10-19T14:24:01Z")

</div>

So… I was playing around with outlets and after not being able to render my html into one I put the  
This was on the edit html/css-\> /head of a theme-component.

```
<script type='text/x-handlebars' data-template-name='application>
  <div class="test-div">
  </div>
</script>

```

So now my app is empty. Can I visit admin settings from somewhere else to disable the plugin?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [October 19, 2020, 2:27pm UTC](https://meta.discourse.org/t/accidentally-overwrote-application-hbs-enter-safe-mode/167619/2 "2020-10-19T14:27:57Z")

</div>

You can get into [safe mode](https://meta.discourse.org/t/53504?silent=true) to disable all 3rd party plugins and themes.

Just visit `discourse.example.com/safe-mode`

---

<div class="post-metadata">

### Author: ![akapetzoglou1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akapetzoglou1/32/200426_2.png) [@akapetzoglou1](https://meta.discourse.org/u/akapetzoglou1)
#### Post date: [October 19, 2020, 2:51pm UTC](https://meta.discourse.org/t/accidentally-overwrote-application-hbs-enter-safe-mode/167619/3 "2020-10-19T14:51:44Z")

</div>

Missed the docs 😅

> [@Using Safe Mode to troubleshoot issues with themes and plugins](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504):
>
> bookmark This guide explains how to use Discourse’s [Safe Mode](https://meta.discourse.org/t/53504?silent=true) to troubleshoot issues with themes and plugins. person_raising_hand Required user level: All users Discourse offers a “JavaScript [Safe Mode](https://meta.discourse.org/t/53504?silent=true)” that allows any user to isolate the root cause of JavaScript issues caused by plugins, themes, or theme components. This feature is particularly useful for troubleshooting problems on your Discourse site. Accessing [Safe Mode](https://meta.discourse.org/t/53504?silent=true) To access [Safe Mode](https://meta.discourse.org/t/53504?silent=true), follow these steps: Open a new browse…

Exactly what I was looking for, thanks!

---

<div class="post-metadata">

### Author: ![akapetzoglou1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/akapetzoglou1/32/200426_2.png) [@akapetzoglou1](https://meta.discourse.org/u/akapetzoglou1)
#### Post date: [October 19, 2020, 3:24pm UTC](https://meta.discourse.org/t/accidentally-overwrote-application-hbs-enter-safe-mode/167619/4 "2020-10-19T15:24:52Z")

</div>

Any idea why `data-teplate-name='/connectors/above-main-outlet'` is not working?

I tried other plugin outlets as well like `/connectors/some-outlet-name` but wasn’t able to render anything on the page yet.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 18, 2020, 3:25pm UTC](https://meta.discourse.org/t/accidentally-overwrote-application-hbs-enter-safe-mode/167619/5 "2020-11-18T15:25:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
