akumbhare
Posts
-
JavaScript Error for NodeBB V1.0.0 on Chrome browser latest version 55. -
JavaScript Error for NodeBB V1.0.0 on Chrome browser latest version 55.@julian Thanks for the reply!
Yes! We are using NodeBB v1.0.0.
Is there any way to avoid loading JS file under public/src separately on chrome 55?
-
JavaScript Error for NodeBB V1.0.0 on Chrome browser latest version 55.Hi ,
@baris @julian @psychobunny
For NodeBB V1.0.0 getting following JS error.
Uncaught SyntaxError: Unexpected token function
at /nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:10
at /nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:10
/src/modules/sounds.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:11 Uncaught TypeError: Cannot read property 'on' of undefined
at /src/modules/sounds.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:11
at Object.execCb (/nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:9)
at w.check (/nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:9)
at w.<anonymous> (/nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:9)
at /nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:8
at /nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:9
at z (/nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:8)
at w.emit (/nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:9)
at w.check (/nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:9)
at w.enable (/nodebb.min.js?bd1f194e-00b7-48d1-83ce-af6df8a63699:9)Please see this screenshot : http://screencast.com/t/vjlH6lL7
On latest Chrome browser version 55 Js file under public/src loading seperately.
Please refer screenshot : http://screencast.com/t/O0tlRSmJUIs there idea why these errors are getting introduced on latest version of Chrome only?
Any help is appreciated!! -
Gives Error while Moving more than two posts from same topic.Yes, I get these issues in 0.8.2.
- If POSTS gets moved from one topic to another the POSTS count on the that topic page remains same. POST COUNT should decrements but It shows decremented count after page refresh.
- Steps to reproduce cant-move-to-same-topic error:
-
Create 'new TOPIC'.
-
Create 'another TOPIC' and create more than 2 REPLY to that topic.
-
Move one REPLY to new TOPIC.
-
Move second REPLY to new TOPIC.
cant-move-to-same-topic error will occur.
-
Gives Error while Moving more than two posts from same topic.-
When POST gets moved to topic of another category , Reply count on CATEGORIES page remains same.
-
When POST gets moved to another topic count does not get incremented/decremented but it does after page refresh.
POSTS count of "Welcome to your NodeBB!" topic is "3" POSTS, But on the Category page it "General Discussion" category has "1" POSTS. It should be 3 POSTS.
Please refer the attached screenshot:
-
-
Gives Error while Moving more than two posts from same topic.Thanks for the reply.
No. not fork, I am trying to move single post from one topic to another.
Steps:- Login as site Admin.
- Move post from one topic to another.
- Move another post from that topic to another.
Then it gives an error "cant-move-to-same-topic".
-
Gives Error while Moving more than two posts from same topic.Hi,
Steps to reproduce:
I tried to move more than one post from one topic to another topic it gives an error "cant-move-to-same-topic". But also shows success message "Post Moved!"
Also "cid:{cid}:tids:posts" key is not updating.
Please refer attached screenshot:Is there any idea why these errors getting?
Any help is appreciated!!
Thanks
-
JavaScript Error on Chrome browser latest version 43.Hi,
More information related to this issue, This issue is occurs when 'nodebb.min.js' is minified.
Screenshot of version 0.6.1 error on chrome 43:
Screenshot of version 0.7.0 error on chrome 43:
Above error is due to the minification of JS.
When minification of JS is off there will be no ERROR:
Thanks. -
JavaScript Error on Chrome browser latest version 43.Thanks for the reply.
No, We are not getting any error on https://community.nodebb.org site.
We are getting error on fresh installation of NodeBB 0.6.1 and 0.7.0 version, Which we downloaded from your github repository. -
Javascript Error in the latest code.Hi,
I have downloaded the 0.6.1 and 0.7.0 version of nodebb from github repository
by using following commands.- git clone -b v0.6.1 https://github.com/NodeBB/NodeBB.git nodebb
- git clone -b v0.7.0 https://github.com/NodeBB/NodeBB.git nodebb
and install the NodeBB setup on ubuntu server.
While Running the 0.6.1 we get following errors :
1..Uncaught SyntaxError: Unexpected identifier(anonymous function)(nodebb.min.js:15688)
2..Uncaught Error: Load timeout for modules: csrf,forum/footer
http://requirejs.org/docs/errors.html#timeoutB (nodebb.min.js:12)
3..Uncaught SyntaxError: Unexpected string(nodebb.min.js:1518)While Running the 0.7.0 we get following errors :
- Uncaught SyntaxError: Unexpected token function(nodebb.min.js:12999)
These errors are not related to us but due these error user is not able to login or reply any comments.
Error occurred only on Chrome 43 latest version.
To reproduce issue please clear cache before hitting url or DISABLE cache through "Network" TABPlease let us know about how to resolved this issue.
Thanks!!! -
JavaScript Error on Chrome browser latest version 43.Hi,
Continuously getting folowing errors
1..Uncaught SyntaxError: Unexpected identifier(anonymous function)(nodebb.min.js:15688)
2..Uncaught Error: Load timeout for modules: csrf,forum/footer
http://requirejs.org/docs/errors.html#timeoutB (nodebb.min.js:12)
3..Uncaught SyntaxError: Unexpected string(nodebb.min.js:1518)These errors are occurred only on google chrome version 43.0.2357.81. that is latest one.
We have tried to test same website on browser stack on google chrome different versions
and also tested on Windows8 VM on Chrome 40 but not getting any errors.These errors are not into our code in fact that is into minified code of actual nodebb website.
Is there idea why these errors are getting introduced on latest version of Chrome only?
Any help is appreciated!!
Thanks -
How to override language login.json file through plugin.Hi,
I need to change 'Alternative Login' text through theme,
Text is:
"alternative_logins": "Alternative Logins",When I see source code It has been written in
public/language/en_GB(laguage folder)/login.json file.Can I override login.json file in theme ? How?
Thank You.
-
How to override "./public/src/groups/details.js" file in plugin.Hi,
I need to add some additional functionality for 'Group', for this I need to add some client side code related to group.
For I need add some code to "./public/src/groups/details.js" file.Can I Override details.js file in my plugin ?
Thanks!!
-
How to change 'localhost:4567' to actual domain name!!Hi,
I need to change the "localhost:4567" with my actual domain name.
Config.json File:
{
"url": "http://localhost:4567",
"secret": "d20000e7-bd69-47ed-b915-e19b270f7ae8",
"database": "redis",
"redis": {
"host": "127.0.0.1",
"port": "6379",
"password": "",
"database": "1"
}
}Ubuntu server file:
server {
listen 80;server_name forum.example.org; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:4567/; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
}
How can I change it to my "domain name" instead of "localhost:4567"?Thanks!!
-
How to get "Client IP address" in plugin.@baris
Thanks For the reply,
But it always give me 'IP: 127.0.0.1'
req:
{ ip: '127.0.0.1',
host: 'localhost:4000',
protocol: 'http',
secure: false,
.....In my plugin I have used 'action:post.save' hook.
So, How can I get 'Browser IP address' in this hook ?Thanks!!
-
Hook "plugins.fireHook('action:post.purge', pid)" should be synchronous.Actually I did the same thing , but it shows me "Undefined is not a function " into my plugin.
It works if we make it 'filter' instead of 'action'.
Have try this in you plugin?
What is the difference between 'filter' and 'action' implementation wise?
I think we can not pass callbacks to 'action' , what do you think? -
How to get "Client IP address" in plugin.Hi,
When any Guest/Registered user post 'Topic/Reply', I need 'Browser IP address' in my plugin.
So that I can send this 'IP Address' through email.
Can you please tell me how can I get 'Browser IP address' ?Thanks!!
-
Hook "plugins.fireHook('action:post.purge', pid)" should be synchronous.Hi,
I want to make some operation on the post which is going to PURGED.
I am using following hook to do this.
plugins.fireHook('action:post.purge', pid);Problem :
- This HOOK call is asynchronous meaning , hook gets called but the next function gets executed without
waiting for response from HOOK.
I think this HOOK call should be synchronous , next function should wait for response from HOOK.
How can we do that?
Please let me know.Thanks!!
- This HOOK call is asynchronous meaning , hook gets called but the next function gets executed without
-
Access Logged In user Information on Server side.Hey!!! Thanks for the reply.... We have completed our task.