• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.4.2 Latest
Buy Hosting
anderson916A

anderson916

@anderson916
About
Posts
15
Topics
8
Groups
0
Followers
0
Following
1

Posts

Recent Best Controversial

    TypeError: Object #<Object> has no method 'escape'
  • anderson916A anderson916

    yes, it works.


  • [Solved] user image not shown
  • anderson916A anderson916

    took out if from the src · NodeBB/NodeBB@fd41d93

    Node.js based forum software built for the modern web - took out if from the src · NodeBB/NodeBB@fd41d93

    favicon

    GitHub (github.com)

    yes, it works.


  • [Solved] user image not shown
  • anderson916A anderson916

    topics.thumb

        anderson@heaven:~/projects/forum.zaijiajiaoyu.net$ grep -R 'topics.thumb' *
        public/templates/category.tpl:                      <img src="<!-- IF topics.thumb -->{topics.thumb}<!-- ELSE -->{topics.picture}<!-- ENDIF topics.thumb -->" class="img-rounded user-img" title="{topics.username}"/>
    

  • [Solved] user image not shown
  • anderson916A anderson916

    after using the latest master code, the user images are not shown.

    the URLs are not correct, for example:

        http://www.zaijiajiaoyu.net/uploads/1-profileimg.png%3C!--%20ENDIF%20topics.thumb%20--%3E
    

    but if I remove the tail section, it works.

        http://www.zaijiajiaoyu.net/uploads/1-profileimg.png
    

  • TypeError: Object #<Object> has no method 'escape'
  • anderson916A anderson916

    source: the latest master code.

    /home/anderson/projects/forum.zaijiajiaoyu.net/node_modules/redis/index.js:535
                throw err;
                      ^
    TypeError: Object #<Object> has no method 'escape'
        at /home/anderson/projects/forum.zaijiajiaoyu.net/src/topics.js:318:28
        at try_callback (/home/anderson/projects/forum.zaijiajiaoyu.net/node_modules/redis/index.js:532:9)
        at RedisClient.return_reply (/home/anderson/projects/forum.zaijiajiaoyu.net/node_modules/redis/index.js:614:13)
        at HiredisReplyParser.<anonymous> (/home/anderson/projects/forum.zaijiajiaoyu.net/node_modules/redis/index.js:266:14)
        at HiredisReplyParser.EventEmitter.emit (events.js:95:17)
        at HiredisReplyParser.execute (/home/anderson/projects/forum.zaijiajiaoyu.net/node_modules/redis/lib/parser/hiredis.js:43:18)
        at RedisClient.on_data (/home/anderson/projects/forum.zaijiajiaoyu.net/node_modules/redis/index.js:488:27)
        at Socket.<anonymous> (/home/anderson/projects/forum.zaijiajiaoyu.net/node_modules/redis/index.js:82:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
    

    change src/topics.js:318 from:

        data.title = validator.escape(data.title);
    

    to:

        data.title = data.title; //validator.escape(data.title);
    

    It works now.


  • [Solved] Uncaught ReferenceError: require is not defined
  • anderson916A anderson916

    great hint.


  • [Solved] WebSocket connection to 'ws://forum.zaijiajiaoyu.net/socket.io/1/websocket/zot0tQJTmE7fAYON9D9A' failed: Error during WebSocket handshake: Unexpected response code: 502
  • anderson916A anderson916

    You are correct. I am using ubuntu 12.04 and the version of nginx is low. After I upgrade nginx, it works. Thank you.


  • [Solved] WebSocket connection to 'ws://forum.zaijiajiaoyu.net/socket.io/1/websocket/zot0tQJTmE7fAYON9D9A' failed: Error during WebSocket handshake: Unexpected response code: 502
  • anderson916A anderson916

    I am using the latest chrome. why does the websocket connection fail ?


  • [Solved] Uncaught ReferenceError: require is not defined
  • anderson916A anderson916

    @anderson916

    it works now. I don't know why it happened and why it disappeared.


  • [Solved] Uncaught ReferenceError: require is not defined
  • anderson916A anderson916

    Hi,

    I cloned the latest source and run 'npm install', but when I access the forum, it always show the following error and the real content is not shown. I have tried many times, the result is the same. Please help me. Thank you.

    Screen Shot 2014-02-01 at 8.51.41 AM.png

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.