I am using localStorage in a very basic manner in an internal application. Its only storing a simple string value "newest" or "oldest": localStorage.setItem('sortOrder', val) But for some reason, certain users are throwing the following errors in Firefox: Component returned failure code: 0x80630002 (NS_ERROR_STORAGE_IOERR) [nsIDOMStorage.getItem] Component returned failure code: 0x80004005 [...] read more
How to insert data into table in sqlite iPhone? I am trying following, but its failing: NSString *query=[NSString stringWithFormat:@"insert into %@ (name) values ('%@')", table name,myName ]; sqlite3 *database; sqlite3_stmt *createStmt = nil; if (sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) { if (createStmt == nil) { if (sqlite3_prepare_v2(database, [query UTF8String], -1, [...] read more
One of the web apps I used complained that it couldn't use localStorage. To test if this was correct, I opened devtools and tried to execute localStorage.setItem('testkey', 'testval'). I got the following error: [Exception... "SQLite encountered an IO error" nsresult: "0x80630002 (NS_ERROR_STORAGE_IOERR)" location: "JS frame :: debugger eval code :: [...] read more