Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
private static final String DATABASE_NAME = "Company.db"; private static final int DATABASE_VERSION = 1; private static final String TABLE_USERS = "tblUsers"; public static final String KEY_ID = "_id"; public static final String KEY_USER = "Username"; public static final int COLUMN_USER = 1; public static final String KEY_EMPLOYEE_NUMBER = "EmployeeNumber"; public static final int COLUMN_EMPLOYEE_NUMBER = 2; private SQLiteDatabase db; private final Context context; private DBOpenHelper dbHelper; public DBAdapter(Context _context) { this.context = _context; dbHelper = new DBOpenHelper(context, DATABASE_NAME, null, DATABASE_VERSION); } //OpenHelper that decides whether the db needs to be created or upgraded //NEED TO FIX THE UPGRADE... private static class DBOpenHelper extends SQLiteOpenHelper { //sql statement to create a new db private static final String DATABASE_CREATE = "create table " + TABLE_USERS + " (" + KEY_ID + " integer primary key autoincrement, " + KEY_USER + " text not null, " + KEY_EMPLOYEE_NUMBER + " long"; public DBOpenHelper(Context context, String name, CursorFactory factory, int version) { super(context, name, factory, version); } @Override public void onCreate(SQLiteDatabase _db) { //create the db _db.execSQL(DATABASE_CREATE); } @Override public void onUpgrade(SQLiteDatabase _db, int _oldVersion, int _newVersion) { Log.w("DBAdapter", "Upgrading..."); //drop the old table _db.execSQL("DROP TABLE IF EXISTS " + TABLE_USERS); onCreate(_db); } } //method to open the database (or to try to...) public void open() throws SQLiteException { try { db = dbHelper.getWritableDatabase(); } catch (SQLiteException e) { db = dbHelper.getReadableDatabase(); } }