@Moritz-Friedrich solved it somehow ugly by starting the tests in a "ready" callback. Is there some way to find out whether downloaded code has been fully executed?
db search problem
-
when I use search
I got an error Uncaught SyntaxError: Invalid regular expression: /<!--[\s]IF ()?search_query[\s]-->([\s\S]*?)<!--[\s]ENDIF ()?search_query[\s]-->/: Stack overflow
and in the serverNodeBB version 0.7-dev
mongodb 3.0.1 -
Can you also provide templates.js version, nodebb git revision and the search term that you are using?
-
@baris how can check templates.js version
nodebb git the latest version.. commit e528f52cfbc303732e8f3239ede86f691d59c82e -
npm ls templates.js
in your nodebb directory to get the templates.js version.
Also what are you searching for when this error happens? Or is it happening on any search? -
@baris nodebb@0.7.0-dev /root/community.hcdlearning.com/NodeBB
└── templates.js@0.1.31
happening on any search -
Looks like a problem with searching chinese characters, seaching for NodeBB works fine on your forum but 索 seems to give that error, we will look into it.
-
@raven Please run the following to update your vanilla theme to 1.0.79
npm install nodebb-theme-vanilla@1.0.79
.Clear cache and try again, the problem should be resolved.