Changes not saved all the time



  • Im running the latest nodebb, v1.4.5. Every time when I want to save my changes (Custom CSS and header), It said Changes not saved, NobeBB encountered a problem saving your changes. But I can save my other settings.

    Any ideas?



  • This is totally off-the-wall, confirm that your URL in the config.json file is correct.


  • Global Moderator

    Look in the error log. It could be that your custom HTML or CSS is too long.



  • <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
          extensions: ["tex2jax.js"],
      tex2jax: {
          inlineMath: [['$','$'], ['\\(','\\)']]
          },
      TeX: {equationNumbers: { autoNumber: "AMS" } }
      });
    </script>
    
    <script type="text/javascript"
      src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
    </script>
    

    This is my header, I dont think it is long. Actually I want to add this suggested by you in another thread https://community.nodebb.org/topic/8278/mathjax-support/10 :

    $(window).on('action:posts.loaded action:ajaxify.end', function () {
      MathJax.Hub.Queue(["Typeset", MathJax.Hub, "content"]);
    });
    

    I still can not save this changes.

    @rod No matter I save it in ACP with www or without www. It does not work.

    BTW, even I do not change anything, just click SAVE, it says "encounter a problem"...


  • Global Moderator

    Did you look in the error log? Provide your error log.



  • 
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    1/4 21:44:25 [1511] - warn: [deprecated] Accessing `logo.png` from `/` is deprecated. Use `/assets/logo.png` to access this file.
    newsmtp emailerr2 { 'emailer:local:host': 'smtp.exmail.qq.com',
      'emailer:local:port': '25',
      'emailer:local:username': 'no-reply@xxx.com',
      'emailer:local:password': 'xxx',
      'emailer:local:secure': 'off' }
    newsmtp emailerr2 { 'emailer:local:host': 'smtp.exmail.qq.com',
      'emailer:local:port': '25',
      'emailer:local:username': 'no-reply@xxx.com',
      'emailer:local:password': 'xxx',
      'emailer:local:secure': 'off' }
    newsmtp emailerr2 { 'emailer:local:host': 'smtp.exmail.qq.com',
      'emailer:local:port': '25',
      'emailer:local:username': 'no-reply@xxx.com',
      'emailer:local:password': 'xxx',
      'emailer:local:secure': 'off' }
    node_redis: Deprecated: The ZRANK command contains a "null" argument.
    This is converted to a "null" string now and will return an error from v.3.0 on.
    Please handle this in your code to make sure everything works as you intended it to.
    1/4 22:04:50 [1511] - warn: [deprecated] Accessing `vendor/jquery/timeago/locales/jquery.timeago.zh-CN-short.js` from `/` is deprecated. Use `/assets/vendor/jquery/timeago/locales/jquery.timeago.zh-CN-short.js` to access this file.
    1/4 22:12:54 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    1/4 22:14:47 [1511] - warn: [deprecated] Accessing `vendor/jquery/timeago/locales/jquery.timeago.zh_CN.js` from `/` is deprecated. Use `/assets/vendor/jquery/timeago/locales/jquery.timeago.zh_CN.js` to access this file.
    newsmtp emailerr2 { 'emailer:local:host': 'smtp.exmail.qq.com',
      'emailer:local:port': '25',
      'emailer:local:username': 'no-reply@xxx.com',
      'emailer:local:password': 'xxx',
      'emailer:local:secure': 'off' }
    1/4 22:32:49 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    1/4 22:34:02 [1511] - warn: [deprecated] Accessing `stylesheet.css` from `/` is deprecated. Use `/assets/stylesheet.css` to access this file.
    1/4 22:44:50 [1511] - warn: [deprecated] Accessing `stylesheet.css` from `/` is deprecated. Use `/assets/stylesheet.css` to access this file.
    1/4 22:44:51 [1511] - warn: [deprecated] Accessing `src/modules/composer/uploads.js` from `/` is deprecated. Use `/assets/src/modules/composer/uploads.js` to access this file.
    1/4 22:44:51 [1511] - warn: [deprecated] Accessing `src/modules/composer.js` from `/` is deprecated. Use `/assets/src/modules/composer.js` to access this file.
    1/4 22:44:51 [1511] - warn: [deprecated] Accessing `src/modules/composer/drafts.js` from `/` is deprecated. Use `/assets/src/modules/composer/drafts.js` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `src/modules/composer/tags.js` from `/` is deprecated. Use `/assets/src/modules/composer/tags.js` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `src/modules/composer/categoryList.js` from `/` is deprecated. Use `/assets/src/modules/composer/categoryList.js` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `src/modules/composer/resize.js` from `/` is deprecated. Use `/assets/src/modules/composer/resize.js` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `src/modules/composer/autocomplete.js` from `/` is deprecated. Use `/assets/src/modules/composer/autocomplete.js` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `templates/composer.tpl` from `/` is deprecated. Use `/assets/templates/composer.tpl` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `language/zh-CN/topic.json` from `/` is deprecated. Use `/assets/language/zh-CN/topic.json` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `language/zh-CN/modules.json` from `/` is deprecated. Use `/assets/language/zh-CN/modules.json` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `src/modules/highlight.js` from `/` is deprecated. Use `/assets/src/modules/highlight.js` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing `language/zh-CN/tags.json` from `/` is deprecated. Use `/assets/language/zh-CN/tags.json` to access this file.
    1/4 22:44:52 [1511] - warn: [deprecated] Accessing language files from `/api/language` is deprecated. Use `/assets/language/zh-CN/markdown.json` for prefetch paths.
    1/4 22:52:42 [1511] - warn: [deprecated] Accessing `vendor/jquery/timeago/locales/jquery.timeago.zh-CN.js` from `/` is deprecated. Use `/assets/vendor/jquery/timeago/locales/jquery.timeago.zh-CN.js` to access this file.
    1/4 22:52:44 [1511] - warn: [deprecated] Accessing `vendor/jquery/timeago/locales/jquery.timeago.zh-CN-short.js` from `/` is deprecated. Use `/assets/vendor/jquery/timeago/locales/jquery.timeago.zh-CN-short.js` to access this file.
    1/4 23:29:14 [1511] - warn: [deprecated] Accessing `stylesheet.css` from `/` is deprecated. Use `/assets/stylesheet.css` to access this file.
    1/4 23:34:11 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    1/4 23:35:07 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    1/4 23:41:19 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    1/4 23:51:25 [1511] - warn: [deprecated] Accessing `stylesheet.css` from `/` is deprecated. Use `/assets/stylesheet.css` to access this file.
    1/4 23:51:26 [1511] - warn: [deprecated] Accessing `nodebb.min.js` from `/` is deprecated. Use `/assets/nodebb.min.js` to access this file.
    1/4 23:51:31 [1511] - warn: [deprecated] Accessing `src/client/chats/messages.js` from `/` is deprecated. Use `/assets/src/client/chats/messages.js` to access this file.
    1/4 23:51:32 [1511] - warn: [deprecated] Accessing `src/modules/scrollStop.js` from `/` is deprecated. Use `/assets/src/modules/scrollStop.js` to access this file.
    1/4 23:51:32 [1511] - warn: [deprecated] Accessing `src/client/chats/recent.js` from `/` is deprecated. Use `/assets/src/client/chats/recent.js` to access this file.
    1/4 23:51:33 [1511] - warn: [deprecated] Accessing `src/client/chats/search.js` from `/` is deprecated. Use `/assets/src/client/chats/search.js` to access this file.
    1/4 23:51:33 [1511] - warn: [deprecated] Accessing `src/modules/mousetrap.js` from `/` is deprecated. Use `/assets/src/modules/mousetrap.js` to access this file.
    1/4 23:51:38 [1511] - warn: [deprecated] Accessing `src/client/topic/move-post.js` from `/` is deprecated. Use `/assets/src/client/topic/move-post.js` to access this file.
    1/4 23:51:39 [1511] - warn: [deprecated] Accessing `src/client/topic/votes.js` from `/` is deprecated. Use `/assets/src/client/topic/votes.js` to access this file.
    1/4 23:51:40 [1511] - warn: [deprecated] Accessing `src/client/topic/replies.js` from `/` is deprecated. Use `/assets/src/client/topic/replies.js` to access this file.
    1/4 23:51:46 [1511] - warn: [deprecated] Accessing `src/modules/highlight.js` from `/` is deprecated. Use `/assets/src/modules/highlight.js` to access this file.
    1/4 23:59:08 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    2/4 00:18:54 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    newsmtp emailerr2 { 'emailer:local:host': 'smtp.exmail.qq.com',
      'emailer:local:port': '25',
      'emailer:local:username': 'no-reply@xxx.com',
      'emailer:local:password': 'xxx',
      'emailer:local:secure': 'off' }
    2/4 00:38:10 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    2/4 00:38:11 [1511] - error: /login
     invalid csrf token
    2/4 00:47:15 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    2/4 01:04:00 [1511] - warn: [deprecated] Accessing `vendor/jquery/timeago/locales/jquery.timeago.zh-CN-short.js` from `/` is deprecated. Use `/assets/vendor/jquery/timeago/locales/jquery.timeago.zh-CN-short.js` to access this file.
    2/4 01:05:03 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    2/4 01:06:51 [1511] - warn: [deprecated] Accessing `js-enabled.css` from `/` is deprecated. Use `/assets/js-enabled.css` to access this file.
    node_redis: Deprecated: The ZRANK command contains a "null" argument.
    This is converted to a "null" string now and will return an error from v.3.0 on.
    Please handle this in your code to make sure everything works as you intended it to.
    2/4 01:21:22 [1511] - error: /login
     invalid csrf token
    2/4 01:21:30 [1511] - error: /register/
     Error: 无效数据
        at Object.User.verifyInvitation (/nodebb/src/user/invite.js:103:20)
        at async.waterfall.plugins.fireHook.postData.content (/nodebb/src/controllers/index.js:168:10)
        at fn (/nodebb/node_modules/async/lib/async.js:746:34)
        at /nodebb/node_modules/async/lib/async.js:1213:16
        at /nodebb/node_modules/async/lib/async.js:166:37
        at /nodebb/node_modules/async/lib/async.js:706:43
        at /nodebb/node_modules/async/lib/async.js:167:37
        at Object.async.waterfall (/nodebb/node_modules/async/lib/async.js:710:44)
        at Controllers.register (/nodebb/src/controllers/index.js:165:8)
        at Layer.handle [as handle_request] (/nodebb/node_modules/express/lib/router/layer.js:95:5)
        at next (/nodebb/node_modules/express/lib/router/route.js:131:13)
        at /nodebb/src/middleware/index.js:104:3
        at /nodebb/node_modules/async/lib/async.js:52:16
        at Object.async.forEachOf.async.eachOf (/nodebb/node_modules/async/lib/async.js:236:30)
        at Object.async.forEach.async.each (/nodebb/node_modules/async/lib/async.js:209:22)
        at middleware.pluginHooks (/nodebb/src/middleware/index.js:100:8)
    日志控制面板
     重载日志    清空日志
    
    

    @PitaJ Hi, this is my log. Quite long, and I dont know which one is related with my problem...

    BTW, although many errors, but I did not feel malfunctions except saving CSS.

    Thank you,



  • Any hint?👮


  • Global Moderator

    I'm not seeing anything in that error log. Are you sure that no errors appear in the Javascript console in your browser when the changes fail to save?



  • @PitaJ

    Um. I did not see any errors except from that error log.

    Is there another way to modify the HEADER manually? Do you have an idea which file I can add my script manually? I want to make the mathJax dynamically.

    Thanks.



  • I updated nodebb to the 1.5.1, It does not solve this problem.
    Only I have this problem?

    I would like to modify the nodebb file manually...But I dont know which file am I supposed to modify..

    For example, I want to add these code:

    body {
        font-family: 
            "Times New Roman";
    }
    
    

  • Global Moderator

    @sharonyue sure seems like it's just you



  • @pitaj
    Is it possible to modify some file manully? I can log on to the server then modify it.


  • Community Rep

    @sharonyue You would need to modify the files inside your theme folder, e.g. /node_modules/nodebb-theme-persona/. Keep in mind, these files are overwritten when you update.


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.