for e in fs.dir("/etc/test") do
glist = m:field(TextValue, e, e, nil)
glist.rmempty = false
glist.rows = 12
function glist.cfgvalue()
return nixio.fs.readfile("/etc/test/" .. e) or ""
end
function glist.write(self, section, value)
sync_value_to_file(value, "/etc/test/" .. e)
end
end
At reading part data, byte offset 199489, the value exceeds the maximum allow size
In mimedecode_message_body(), file /usr/share/ucode/luci/http.uc, line 112, byte 11:
called from function parse_message_body (/usr/share/ucode/luci/http.uc:180:51)
called from function [anonymous function] (/usr/share/ucode/luci/http.uc:450:3)
called from function [anonymous function] (/usr/share/ucode/luci/http.uc:374:22)
called from function require_post_security (/usr/share/ucode/luci/dispatcher.uc:680:47)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1000:35)
called from anonymous function (/www/cgi-bin/luci:39:13)
At reading part data, byte offset 199489, the value exceeds the maximum allow size