Hookais, so I've been coding a pdo_sqlite db abstraction layer, and I've managed to get to the point where install.php runs, creats the sqlite3 database, and spits out a config.php. When I go the the index.php page (or any of the other pages), I get this error:
There is no valid language pack '' installed. Please reinstall a language of that name.
I've managed to narrow down the cause of the error to include/functions.php in function set_default_user() (line 103-128)
$pun_user['disp_topics'] = $pun_config['o_disp_topics_default'];
$pun_user['disp_posts'] = $pun_config['o_disp_posts_default'];
$pun_user['timezone'] = $pun_config['o_server_timezone'];
$pun_user['language'] = $pun_config['o_default_lang'];
$pun_user['style'] = $pun_config['o_default_style'];
$pun_user['is_guest'] = true;
Before assigning $pun_config['o_default_lang'] to $pun_user, pun_user uses lang English, but after it uses NULL or "" as the language.
$ sqlite3 <database path> ".dump"
...
INSERT INTO "config" VALUES('o_default_lang', 'English');
INSERT INTO "config" VALUES('o_default_style', 'Oxygen');
INSERT INTO "config" VALUES('o_default_user_group', '4');
...
Looks like the database knows it's there... and the db abstraction layer has no trouble pulling out the info from table users, row guest (or row 0).
Anyone know where in the code pun_config get's it's assignment? I've tried greping, but couldn't find the line