## Can not save settings: unrecognized input

General Discussion
• Hello guys.

I run into this problem for one year, see link text if you are interest into the old story. But it becomes serious after I upgrade to 1.7.4 in which the header was switched off by default.

Whenever I want to save my customized CSS or Header :

NodeBB encountered a problem saving changes


By the suggestion by @baris in this link , I modify it to message: err.message, then it becomes:

Changes Not Saved: unrecognized input


What am I supposed to do?

Thank you very much

Below is my CSS:

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

<script>
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>


<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>

• @sharonyue did you mean to include the script element in your CSS? That's most likely causing an error.

• @pitaj

Not exactly. Now the script in CSS works. Header also works before I upgrade to 1.7.4.

After upgrade, Header was switched off by default. If I switch it on in API, it says

NodeBB encountered a problem saving changes. Changes Not Saved: unrecognized input

• @sharonyue what? Putting a script element in the CSS definitely should not work. Try removing it, please.

• Putting a script element in the CSS definitely should not work.

Thank you!! After I remove the script in the CSS. I can save the header. The one-year-problem has been fixed. Thank you very much.

• Nice! Glad to hear it, thanks for the quick fix @PitaJ

• ## How can I add report reasons to my nodebb?

General Discussion

• ## Hello, I'm still confused with license issues, can I get some help?

General Discussion

• ## Excuse me, how to set a nodebb two domain address.

General Discussion

• ## can not open the navigation bar in mobile's mode

General Discussion

• ## can'f find local sound files

General Discussion

| | | |