# Página de preferências do usuário leva a erro 404

**URL:** https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398
**Category:** Support
**Created:** [29 Abril , 2018 08:27 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398 "2018-04-29T08:27:31Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![1c7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/1c7/32/94822_2.png) [@1c7](https://meta.discourse.org/u/1c7)
#### Post date: [29 Abril , 2018 08:27 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/1 "2018-04-29T08:27:31Z")

</div>

### Thanks!

### also, I am not sure why my “Preferences” get 404

## Before click

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/8/58bbb5144c01effd186c80e26c162d77926160af.png)

## After click “Preferences”

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/f/ff8c449bf41157a964d78b2227ee61a7d9636f5d.png)

I didn’t change original codebase, so I am not sure why this happen

### Terminal Screenshot

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/6/76011250b65fe6f94a24f0c26e71ba5c0c0c7eac.png)

Above blue line is refresh `http://localhost:3000/u/guokrfans/notifications`  
Below blue line is click “Preferences”

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [29 Abril , 2018 08:32 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/2 "2018-04-29T08:32:21Z")

</div>

Try to disable any plugins you have in `your-site.com/safe-mode`

---

<div class="post-metadata">

### Author: ![1c7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/1c7/32/94822_2.png) [@1c7](https://meta.discourse.org/u/1c7)
#### Post date: [29 Abril , 2018 08:32 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/3 "2018-04-29T08:32:58Z")

</div>

I would try it now, thanks!

---

<div class="post-metadata">

### Author: ![1c7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/1c7/32/94822_2.png) [@1c7](https://meta.discourse.org/u/1c7)
#### Post date: [29 Abril , 2018 08:36 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/4 "2018-04-29T08:36:44Z")

</div>

> [@Johani](#):
>
> /safe-mode

### [http://localhost:3000/safe-mode](http://localhost:3000/safe-mode)

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/2/e2d3153039dd9b7ccec6f03e8c02a1f61087b610.png)

### Click “Enter [Safe Mode](https://meta.discourse.org/t/53504?silent=true)” it jump into homepage localhost:3000

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/9/8991b178733aa68256298c5e7eab3fe8b21c4205.png)

### Click top right corner and enter profile

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/c/bca8568767150c23dfedd417e5c251f73fa4c5c2.png)

### Click “Preferences” got 404

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/f/af5a12c17b85173034cba7c48536c434c7ad47f4.png)

---

<div class="post-metadata">

### Author: ![1c7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/1c7/32/94822_2.png) [@1c7](https://meta.discourse.org/u/1c7)
#### Post date: [29 Abril , 2018 08:38 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/5 "2018-04-29T08:38:15Z")

</div>

If you want to,  
we can do “TeamViewer”(or some other tool)  
and let you remotely control my laptop

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [29 Abril , 2018 08:44 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/6 "2018-04-29T08:44:17Z")

</div>

I’m not exactly sure what’s going on here, So I won’t be able to help much.

I’m sure someone else will pick this up though.

---

<div class="post-metadata">

### Author: ![1c7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/1c7/32/94822_2.png) [@1c7](https://meta.discourse.org/u/1c7)
#### Post date: [29 Abril , 2018 08:46 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/7 "2018-04-29T08:46:07Z")

</div>

understood, Thanks for spend your time helping me on this issue!  
Thank you very much!

---

<div class="post-metadata">

### Author: ![1c7](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/1c7/32/94822_2.png) [@1c7](https://meta.discourse.org/u/1c7)
#### Post date: [29 Abril , 2018 14:17 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/8 "2018-04-29T14:17:15Z")

</div>

# I fixed the problem (2018-4-29)

(on my local Macbook Pro with localhost:3000)

#### I download discourse codebase again with

```plaintext
git clone https://github.com/discourse/discourse.git original_discourse

```

and then

```plaintext
bundle exec rake db:migrate
rails s

```

## Now User Preferences Page is ok

 ![ok](https://global.discourse-cdn.com/meta/original/3X/c/c/cc0e5d1cbb87e4a2c9eb62fe342afaeaefccf559.png)

I am not quite sure what’s the problem with the other discourse folder I have.  
It could cause by theme or plugin that I install. maybe.

Anyway, now problem gone

— Update —  
I think sidekiq is part of the problem, I didn’t run sidekiq at my local machine, and got 404  
after I run sidekiq the 404 problem gone

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [8 Junho , 2024 12:37 UTC](https://meta.discourse.org/t/user-preferences-page-leads-to-404/86398/9 "2024-06-08T12:37:33Z")

</div>

Este tópico foi automaticamente fechado após 2232 dias. Novas respostas não são mais permitidas.
