disinfeqt

发现个炫富页面的 BUG

  •  
  •   disinfeqt · Apr 23, 2012 · 10113 views
    This topic created in 5158 days ago, the information mentioned may be changed or developed.
    喏,访问 http://neue.v2ex.com/top/rich 然后所有头像的链接都指向「我」的页面。
    另外我很爱财的,你们使劲儿回复一下。
    11 replies    1970-01-01 08:00:00 +08:00
    brick730
        1
    brick730  
       Apr 23, 2012
    还真是啊
    Livid
        2
    Livid  
    MOD
    PRO
       Apr 23, 2012
    感谢。

    现在修好了。
    ipopo
        3
    ipopo  
       Apr 23, 2012
    ls速度好快!
    leungxh
        4
    leungxh  
       Apr 23, 2012
    赏5毛
    sun019
        5
    sun019  
       Apr 23, 2012   ❤️ 1
    UndefinedError: 'member' is undefined
    这是问题么?
    Ryans
        6
    Ryans  
       Apr 23, 2012
    没看懂。

    Bug 在哪里?
    lfzyx
        7
    lfzyx  
       Apr 23, 2012   ❤️ 1
    @Livid Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/tornado/web.py", line 988, in _execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
    File "/www/v2ex/galaxy/handlers/web/top.py", line 28, in get
    self.finalize('top/rich.html')
    File "/www/v2ex/galaxy/handlers/web/__init__.py", line 54, in finalize
    self.write(template.render(self.values))
    File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render
    return self.environment.handle_exception(exc_info, True)
    File "/www/v2ex/galaxy/templates/desktop/top/rich.html", line 1, in top-level template code
    {% extends 'desktop/common/layout0.html' %}
    File "/www/v2ex/galaxy/templates/desktop/common/layout0.html", line 46, in top-level template code
    {% block wrapper %}
    File "/www/v2ex/galaxy/templates/desktop/common/layout0.html", line 99, in block "wrapper"
    {% block main %}
    File "/www/v2ex/galaxy/templates/desktop/top/rich.html", line 25, in block "main"
    <td colspan="3" align="center"><span class="fade">{% if member.list_rich == 1 %}你当前已经参与了社区财富排行榜{% endif %}</span></td>
    File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 372, in getattr
    return getattr(obj, attribute)
    UndefinedError: 'member' is undefined
    sun019
        8
    sun019  
       Apr 23, 2012
    @lfzyx oh 知道了 http://neue.v2ex.com 下面 你还没登陆
    Livid
        9
    Livid  
    MOD
    PRO
       Apr 23, 2012   ❤️ 1
    现在已经全部修复。

    谢谢大家。
    sigone
        10
    sigone  
       Apr 23, 2012
    @livid 为什么我 20 - 45 却没有进排行榜呢. 呵呵
    Livid
        11
    Livid  
    MOD
    PRO
       Apr 23, 2012
    @sigone 排行榜不是默认参与的,如果要参与的话,需要在个人设置中打开。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6142 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 77ms · UTC 02:54 · PVG 10:54 · LAX 19:54 · JFK 22:54
    ♥ Do have faith in what you're doing.