[luci] (hopefully) basic question on writing modules
Jo-Philipp Wich
xm at subsignal.org
Wed Oct 7 21:57:14 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Yes, the exact error message was "Not found" Sorry for not providing that.
Ok.
> I did not clear the cache, but will try that.
Ok.
> From your response, though, I'm inferring that by clearing the cache and if
> the module line is correct it should work. Is that a valid assumption?
Yes. "Not found" usually means that your controller file was not
processed at all. Possible Reasons are:
- Syntax errors (they're silently ignored otherwise the server would
crash during startup).
- Module line does not patch (e.g. "luci.controller.foo" but file is
.../controller/foo/bar.lua).
- Missing index() function in that file.
~ JoW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrM8poACgkQdputYINPTPMUDQCgkAGz5aMcYmXtwiIIofxHwN5M
vbsAn3qioRku2P5VjPgCwsi8awG+2iCy
=5APV
-----END PGP SIGNATURE-----
More information about the luci
mailing list