Im trying to add a list of categories to my custom homepage template using:
<!-- IMPORT categories.tpl -->
however - instead of a list, it just outputs:
No new posts.
Im using a custom theme based on persona. The h1 tag renders fine..
Any help would be appreciated.
I suspect I need to add in the categories data in somewhere.. but can't find any documentation on this..
@countach said in "NodeBB could not connect to your Mongo database" Error:
@baris thats the thing I do not get that prompt to specify the DB, it attempts to connect automatically after ./nodebb setup is executed. Could it be the authentication settings? I have security authorization enabled in my mongod.conf ...
If you had an existing config.json, it will only try to fill in blanks. Try moving your config.json out of the way and running it again. It will have prompts like this...
7/7 01:07:24  - info: Now configuring mongo database:
Host IP or address of your MongoDB instance (127.0.0.1)
Host port of your MongoDB instance (27017)
Password of your MongoDB database