[SOLVED] Sqlite3 Rows
#1
I'm making a plugin and need to store some data.

I'm using sqlite3 and everytime i run my cuberite server i see this error.

[10:45:24] Can\'t load plugin TestPlugin because of an initialization error in file Plugins/TestPlugin/test.lua: 2 (no such table: table)

Here's my code

db = sqlite3.open(\'test.sqlite3\')
LOG(db.rows(\'SELECT * FROM table\'))
db:close()


EDIT:
i just realised that i'm an idiot the db files were located in cuberite's folder not in the plugin's folder
Reply
Thanks given by:


Messages In This Thread
[SOLVED] Sqlite3 Rows - by denwo - 11-03-2016, 12:53 AM
RE: Sqlite3 Rows. - by NiLSPACE - 11-03-2016, 01:56 AM
RE: Sqlite3 Rows. - by denwo - 11-03-2016, 05:28 AM
RE: Sqlite3 Rows. - by NiLSPACE - 11-03-2016, 06:47 AM
RE: Sqlite3 Rows. - by xoft - 11-03-2016, 04:58 PM
RE: Sqlite3 Rows. - by xoft - 11-03-2016, 05:01 PM
RE: Sqlite3 Rows. - by denwo - 11-03-2016, 11:33 PM
RE: Sqlite3 Rows. - by xoft - 11-04-2016, 12:32 AM
RE: Sqlite3 Rows. - by denwo - 11-04-2016, 12:55 AM
RE: Sqlite3 Rows. - by denwo - 11-05-2016, 05:06 AM
RE: [SOLVED] Sqlite3 Rows - by xoft - 11-05-2016, 09:11 PM
RE: [SOLVED] Sqlite3 Rows - by denwo - 11-06-2016, 07:18 AM
RE: [SOLVED] Sqlite3 Rows - by ShadowCone - 11-06-2016, 08:46 AM
RE: [SOLVED] Sqlite3 Rows - by denwo - 11-07-2016, 11:23 PM
RE: [SOLVED] Sqlite3 Rows - by xoft - 11-08-2016, 12:11 AM
RE: [SOLVED] Sqlite3 Rows - by xoft - 11-08-2016, 12:13 AM
RE: [SOLVED] Sqlite3 Rows - by PureTryOut - 11-08-2016, 10:50 PM
RE: [SOLVED] Sqlite3 Rows - by NiLSPACE - 11-08-2016, 10:55 PM
RE: [SOLVED] Sqlite3 Rows - by denwo - 11-09-2016, 07:02 AM



Users browsing this thread: 1 Guest(s)