• 注册
  • 技术宅 技术宅 关注:20 内容:948

    openwrt web登录页报错:dispatcher.lua:469: Failed to execute function dispatcher

  • 查看作者
  • 打赏作者
    • 技术宅
    • 大版主
      完美的高逼格

      昨天测试恩山一个大佬做的openwrt,出现错误:

      /usr/lib/lua/luci/dispatcher.lua:469: Failed to execute function dispatcher target for entry '/'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:469: Failed to execute firstchild dispatcher target for entry '/admin'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:469: Failed to execute function dispatcher target for entry '/admin/status'. The called action terminated with an exception: /usr/lib/lua/luci/dispatcher.lua:469: Failed to execute template dispatcher target for entry '/admin/status/overview'. The called action terminated with an exception: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'. A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'. A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/argon/header'. A runtime error occured: [string "/usr/lib/lua/luci/view/themes/argon/header...."]:165: bad argument #1 to 'randomseed' (integer expected, got number) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:469: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:121: in function

      完全就是该死的新主题出错

      修改方法:

      vi /etc/config/luci

      然后在第四行。改为默认主题即可:

      option mediaurlbase '/luci-static/bootstrap'

      请登录之后再进行评论

      登录
      技术宅
    • 今日 2
    • 帖子 948
    • 关注 20
    • 分享万事屋

    • 发表内容
    • 做任务
    • 实时动态
    • 偏好设置
    • 到底部
    • 帖子间隔 侧栏位置: