Yes you can use them inside the AMD module but keep in mind once you add an event listener on the window object it will be called everytime there is an action:ajaxify.end. If you don't want it triggered after you leave that page you need to turn it off with $(window).off('eventName', myMethod)
nodebb not getting started
-
Clustering enabled: Spinning up 1 process(es).
2018-04-13T17:26:33.624Z [4408] - info: Initializing NodeBB v1.8.2 http://sample.com/doubtforum
2018-04-13T17:26:33.723Z [4408] - warn: You have no mongo username/password setup!
2018-04-13T17:26:35.471Z [4408] - warn: You have no mongo username/password setup!
2018-04-13T17:26:35.475Z [4408] - info: [socket.io] Restricting access to origin: http://sample.com
2018-04-13T17:26:35.720Z [4408] - info: Routes added
2018-04-13T17:26:35.723Z [4408] - info: NodeBB Ready
2018-04-13T17:26:35.729Z [4408] - info: Enabling 'trust proxy'
2018-04-13T17:26:35.734Z [4408] - info: NodeBB is now listening on: 0.0.0.0:4567 -
How to run this and where
firewall-cmd --zone=public --add-port=4567/tcp --permanent
firewall-cmd --reload -
If you only provide the log, nobody is going to help you. What have you tried? Where are you confused? etc etc
-
I've merged all of your recently created topics into one. Please don't create a new topic for every issue you have.
-
Basically this is coming when i do ./nodebb log , this is coming
Clustering enabled: Spinning up 1 process(es). 2018-04-16T18:01:28.420Z [32234] - info: Initializing NodeBB v1.8.2 http://sample.com 2018-04-16T18:01:28.528Z [32234] - warn: You have no mongo username/password setup! 2018-04-16T18:01:30.225Z [32234] - warn: You have no mongo username/password setup! 2018-04-16T18:01:30.229Z [32234] - info: [socket.io] Restricting access to origin: http://sample.com:* 2018-04-16T18:01:30.475Z [32234] - info: Routes added 2018-04-16T18:01:30.478Z [32234] - info: NodeBB Ready 2018-04-16T18:01:30.485Z [32234] - info: Enabling 'trust proxy' 2018-04-16T18:01:30.491Z [32234] - info: NodeBB is now listening on: 0.0.0.0:4567
I think problem is of restricted access , how to correct it .
I am using hostagtor VPS centos 6.9 serverHow to make it correct ?
-
@abhinov-singh to see NodeBB you'd have to visit http://sample.com:4567
-
Thanks , it worked , I was able to see that nodebb login page after 2-3 days of struggle, Thanks again
Looks like your connection to NodeBB was lost, please wait while we try to reconnect
This is showing in right side
Can u plez tell why ? -
What si the
"url"
value in config.json? It should be set to exactly the URL at which you access the forum. -
{
"url": "http://sample.com",
"secret": "sample secret",
"database": "mongo",
"port": 4567,
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"database": "nodebb"
},
"type": "literal"
}Is everything is alright ?
-
This post is deleted!
-
In mobile, person can login but cannot reply to any of the messages or ask new question , why this is happening ? He can just see everything .
But on the otherhand in llaptop he can ask questions and create new topic .
Why this is happening so ?
-
How to solve this ?
socket.io.js:2 GET http://www.sample.com:4567/socket.io/?EIO=3&transport=polling&t=MBJeSGK -
@PitaJ
have done same things as @abhinov-singh but my forum is working on when writing :4567?
how to point it to main domain?