[Solved] User & Topic unavailable
-
I made an issue about that but may not be code related.
An occasional user made a post and a redis error happened (I suppose). Since then, his user profile and topic are unavailable.
How can I restore them?
Thanks
-
Can you run your forum in development mode and get the stack trace for this error ?
Uncaught SyntaxError: Unexpected token & nodebb.min.js?v=v0.3.2-49-ge1f016c:1 (anonymous function) nodebb.min.js?v=v0.3.2-49-ge1f016c:1 ue.extend.globalEval nodebb.min.js?v=v0.3.2-49-ge1f016c:1 ue.fn.extend.domManip nodebb.min.js?v=v0.3.2-49-ge1f016c:3 ue.fn.extend.append nodebb.min.js?v=v0.3.2-49-ge1f016c:3 (anonymous function) nodebb.min.js?v=v0.3.2-49-ge1f016c:3 ue.extend.access nodebb.min.js?v=v0.3.2-49-ge1f016c:1 ue.fn.extend.html nodebb.min.js?v=v0.3.2-49-ge1f016c:3 (anonymous function) nodebb.min.js?v=v0.3.2-49-ge1f016c:8 r nodebb.min.js?v=v0.3.2-49-ge1f016c:8 (anonymous function) nodebb.min.js?v=v0.3.2-49-ge1f016c:8 (anonymous function) nodebb.min.js?v=v0.3.2-49-ge1f016c:8 f nodebb.min.js?v=v0.3.2-49-ge1f016c:2 p.fireWith nodebb.min.js?v=v0.3.2-49-ge1f016c:2 i nodebb.min.js?v=v0.3.2-49-ge1f016c:3 i nodebb.min.js?v=v0.3.2-49-ge1f016c:3
I think it was related to the translator. @psychobunny @julian
-
Hmmm, doesn't see any errror.
~/NodeBB $ ./nodebb devLaunching NodeBB in "development" mode.To run the pr - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin (pastebin.com)
-
I went to user profil and topic
-
Acces to topic :
05:23:08,324 PUT http://kos.ddns.info/plugins/fireHook [HTTP/1.1 200 OK 9ms]
05:23:07,897 Une chaîne vide a été transmise à « getElementById() ». jquery.js:174
05:23:08,327 GET http://kos.ddns.info/api/topic/22/internet-y-a-pas-que-de-la-merde [HTTP/1.1 200 OK 69ms]
05:23:08,267 SyntaxError: syntax error jquery.js:610Acces to user profil :
05:25:02,852 PUT http://kos.ddns.info/plugins/fireHook [HTTP/1.1 200 OK 15ms]
05:25:02,502 Une chaîne vide a été transmise à « getElementById() ». jquery.js:174
05:25:02,855 GET http://kos.ddns.info/language/fr/account.json [HTTP/1.1 200 OK 21ms]
05:25:02,855 GET http://kos.ddns.info/templates/account.tpl [HTTP/1.1 200 OK 19ms]
05:25:02,856 GET http://kos.ddns.info/api/user/le-rasta [HTTP/1.1 200 OK 35ms]
05:25:03,063 GET http://kos.ddns.info/language/fr/user.json [HTTP/1.1 200 OK 10ms]
05:25:02,955 SyntaxError: syntax error jquery.js:610Une chaîne vide a été transmise à « getElementById() ». jquery.js:174 means "an empty string has been transmitted"
Didn't know this feature actually ^_^
-
The error and stack trace
Uncaught SyntaxError: Unexpected token &
(anonymous function) jquery.js:610
jQuery.extend.globalEval jquery.js:611
jQuery.fn.extend.domManip jquery.js:6339
jQuery.fn.extend.append jquery.js:6105
(anonymous function) jquery.js:6233
jQuery.extend.access jquery.js:859
jQuery.fn.extend.html jquery.js:6198
(anonymous function) templates.js:223
checkComplete translator.js:152
(anonymous function) translator.js:140
(anonymous function) translator.js:189
jQuery.Callbacks.fire jquery.js:3087
jQuery.Callbacks.self.fireWith jquery.js:3199
done jquery.js:8327
jQuery.ajaxTransport.send.callback jquery.js:8879problematic html :
http://pastebin.com/FJE8A9He -
I would say, it never has been enable.
It is possible the account has been hacked, I was surprise to see a post from him actually.
-
Thanks man.
Activating "sanitization" did the trick.
It was a weird facebook share.
You're the best