@julian Yup I know. But I want to code new to understand how to do it
I have a problem when i replied the topic
When I reply a topic,write some text and click the submit button,the program was halting,and the chrome console display an error "Uncaught TypeError: Cannot read property 'length' of undefined "
Does this not happen again when you refresh?
Thx,i resovled it
@julian Another problem:
I installed a solr plugin,But when I try accessing the Solr page via ACP, it gives me a 404 error.
when I run ./nodebb dev, I got these warns:
plugins/nodebb-plugin-solr] This plugin may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing.
my nodebb version is the latest
@leo524 The latest Solr version (v0.1.5) requires a very new version of NodeBB, so if you've installed NodeBB even a week ago, you'll have to update your core code.
@julian OK,but i add some codes in core codes,So how to update core code automatically
and still remain my modify
@leo524 Did you commit them?
If yes, just git pull and resolve conflicts.
git pull, and then
git stash pop
@julian My project didn't use github,How to fix it
fiag last edited by fiag
- backup your codes.
git clone https://github.com/NodeBB/NodeBB.git
- switch to tag that you modified from. Perhaps, v0.4.3? e.g.
git checkout v0.4.3
rsyncyour codes to the clone.
git tag my_tag,
git checkout master,
git merge my_tag
- You may have to solve conflicts by yourself.