Tag: WebDAV

SQLite error in lighttpd

Currently I am using lighttpd's WebDAV plugin to provide file service, while I encountered very strange SQLite database error, here is the error message: (mod_webdav.c.2182) sql-set failed: SQL logic error or missing database(mod_webdav.c.2182) sql-set failed: not an error(mod_webdav.c.2182) sql-set failed: not an error(mod_webdav.c.2182) sql-set failed: not an error(mod_webdav.c.2182) sql-set failed: not an error(mod_webdav.c.2182) sql-set failed: not an error(mod_webdav.c.2182) sql-set failed: not an error(mod_webdav.c.2182) sql-set failed: not an error(mod_webdav.c.2511) remove lock: bind or column index out of range(mod_webdav.c.2511) remove lock: bind or column index out of range(mod_webdav.c.2511) remove lock: bind or column index out of range Let's check the SQLite processing code in 'mod_webdav.c' of lighttpd: lighttpd use SQLite's 'sqlite3_bind_text' and 'sqlite3_step' function to bind data and do database operation. Now we can check opening SQLite database and creating SQL statement code in mod_webdav.c of lighttpd: We can see lighttpd open SQLite database first, create 'properties' table, use 'sqlite3_prepare' function to...