librelist archives

« back to archive

connection.lua http_response() 错误

connection.lua http_response() 错误

From:
free
Date:
2012-04-25 @ 03:48
错误信息:
[Error]    /usr/local/share/lua/5.1/monserver/connection.lua:50: bad 
argument #1 to 'length' (string expected, got function)
原因:
View("*.html")语句没有加()或{}
改为View("*.html")({})
or View("*.html"){}
or View("*.html")()
即可