bweissman
(Bryan Weissman)
July 11, 2015, 3:44am
1
I went to edit a user today and I was presented with the following error:
Error
while trying to load
Something went wrong.
Go Back Try Again
I am unsure what the problem is, and did not make any major changes to discourse itself. New users work fine, just existing users.
Any help would be appreciated.
riking
(Kane York)
July 11, 2015, 4:13am
2
Can you do it again with the browserâs developer tools network tab open and tell us what the erroring request(s) are?
bweissman
(Bryan Weissman)
July 11, 2015, 4:30am
3
GET http://example.com/admin/users/bryan.json?_=1436587808570
500 (Internal Server Error)Y.cors.e.crossDomain.send @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:2280J.extend.ajax @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:1874n @ _application-fa2de301309586b795c15c1b1f12731d.js:103_ @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:22270h @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:23328Discourse.Ajax.Em.Mixin.create.ajax @ _application-fa2de301309586b795c15c1b1f12731d.js:117r.reopenClass.find @ _admin-ba1f14c90da9460534ded85b6a9913c4.js:4889Discourse.User.extend.loadDetails @ _admin-ba1f14c90da9460534ded85b6a9913c4.js:4824e.default.Discourse.Route.extend.afterModel @ _admin-ba1f14c90da9460534ded85b6a9913c4.js:7053r @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3365d @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:21743n.runSharedModelHook @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:19007n.runAfterModelHook @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:19007(anonymous function) @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:21270b @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:22255y @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:22040g @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:22194(anonymous function) @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:6693r.invoke @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364r.flush @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364n.flush @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364s.end @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364s.run @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364s.join @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364l.join @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3365e.default.l.default.extend._bubbleEvent @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:13406(anonymous function) @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:13360J.event.dispatch @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:1874g.handle @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:1874
[object Object]Discourse.Route.extend.actions.error @ _application-fa2de301309586b795c15c1b1f12731d.js:79527C @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:4797l @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:21369i.trigger @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:20841(anonymous function) @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:20587b @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:22255y @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:22040g @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:22194p @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:22087(anonymous function) @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:6693r.invoke @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364r.flush @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364n.flush @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364s.end @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364s.run @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3364l @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:3365a.error @ _application-fa2de301309586b795c15c1b1f12731d.js:83c @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:1874h.fireWith @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:1874r @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:1874(anonymous function) @ _vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:2267
riking
(Kane York)
July 11, 2015, 5:19am
4
Okay, so itâs a 500. What shows up in /logs
?
bweissman
(Bryan Weissman)
July 11, 2015, 5:25am
5
It seems that /logs doesnât load. It is just sitting at a white page.
bweissman
(Bryan Weissman)
July 11, 2015, 9:35pm
6
I still have no idea what is wrong. I rebuilt the app and restarted the server with no success.
There is another report of this so something might be up User admin panel fails to load after making a change
1 Like
bweissman
(Bryan Weissman)
July 11, 2015, 10:02pm
8
I got the logs working. This is what happens every time it tries to load a user admin page.
(!)
PG::DatetimeFieldOverflow: ERROR: timestamp out of range: â2735892-07-09 17:17:08.646893 BCâ
LINE 1: âŚâuser_historiesâ.âactionâ = 15 AND (created_at >= '2735892-0âŚ
^
: SELECT 1 AS one FROM âuser_historiesâ WHERE âuser_historiesâ.âtarget_user_idâ = 1 AND âuser_historiesâ.âactionâ = 15 AND (created_at >= â2735892-07-09 17:17:08.646893 BCâ) AND âuser_historiesâ.âprevious_valueâ = â2â AND âuser_historiesâ.ânew_valueâ = â3â LIMIT 1
(!!)
ActiveRecord::StatementInvalid (PG::DatetimeFieldOverflow: ERROR: timestamp out of range: â2735892-07-09 17:17:08.646893 BCâ
LINE 1: âŚâuser_historiesâ.âactionâ = 15 AND (created_at >= '2735892-0âŚ
^
: SELECT 1 AS one FROM âuser_historiesâ WHERE âuser_historiesâ.âtarget_user_idâ = 1 AND âuser_historiesâ.âactionâ = 15 AND (created_at >= â2735892-07-09 17:17:08.646893 BCâ) AND âuser_historiesâ.âprevious_valueâ = â2â AND âuser_historiesâ.ânew_valueâ = â3â LIMIT 1)
bweissman
(Bryan Weissman)
July 12, 2015, 12:04am
9
I found this thread and it fixed it. Thanks for your help guys.
So whenever I try and access a users account from the âUsersâ Tab on the admin panel I get this error.
Error When trying to load, go back or retry
It only happens on non âNormal Userâ Accounts. aka, Admin Accounts, Mod accounts and new accounts.
Though it should show there profile, there badges and allow me to change other settings.
Any suggestions could be helpful ^.^ I tried upgrading my RAM I have 16 GB now instead of 1 and it still happens.
@codinghorror Just saw that you frequent here âŚ
2 Likes