Moderator: moderators
$sql = "CREATE TABLE users (
id INTEGER NOT NULL PRIMARY KEY,
username TEXT DEFAULT NULL,
hashed_password TEXT DEFAULT NULL,
shuffle INTEGER DEFAULT '0',
timestamp INTEGER DEFAULT '1',
reap INTEGER DEFAULT '0',
current TEXT NOT NULL,
currentsong TEXT NOT NULL,
currentid TEXT NOT NULL,
duration TEXT NOT NULL,
cover TEXT NOT NULL,
admin INTEGER NOT NULL DEFAULT '0'
)";
$result = $sonic->exec($sql);
$sql2 = "INSERT INTO users (
id, username, hashed_password, admin, current, currentsong, currentid, duration, cover
) VALUES (
0, '{$username}', '{$hashed_password}','1','','','','',''
)";
$sql1 = "CREATE TABLE config (
id INTEGER NOT NULL PRIMARY KEY,
music TEXT DEFAULT NULL,
video TEXT DEFAULT NULL
)";
burjast wrote:please keep it separated, so i can use it from job where all non standard ports are blocked
freeflysage wrote:I'm super stoked to hopefully get this working. It's a beautiful interface. I'm trying to get either Dbase set up. I have mysql installed and it created the dbase name, but populated it with nothing. on the sqlite side, i click on create, no apache errors) but the page says "Settings saved. Reloading page.could not find driver"
ideas?
thanks
/sm
freeflysage wrote:I decided to try the latest SVN version and the install now works with mysql (with my setup anyway) If i search for a known song or artist it comes up, but I get no list of music or videos even though it's able to find everything. no apache apache errors of any kind.
/smfreeflysage wrote:I'm super stoked to hopefully get this working. It's a beautiful interface. I'm trying to get either Dbase set up. I have mysql installed and it created the dbase name, but populated it with nothing. on the sqlite side, i click on create, no apache errors) but the page says "Settings saved. Reloading page.could not find driver"
ideas?
thanks
/sm
brett wrote:freeflysage wrote:I decided to try the latest SVN version and the install now works with mysql (with my setup anyway) If i search for a known song or artist it comes up, but I get no list of music or videos even though it's able to find everything. no apache apache errors of any kind.
/smfreeflysage wrote:I'm super stoked to hopefully get this working. It's a beautiful interface. I'm trying to get either Dbase set up. I have mysql installed and it created the dbase name, but populated it with nothing. on the sqlite side, i click on create, no apache errors) but the page says "Settings saved. Reloading page.could not find driver"
ideas?
thanks
/sm
The SVN is completely fragmented right now, I've been updating and removing portions, it should not work.
Return to Mods, Apps and Clients
Users browsing this forum: No registered users and 2 guests