|
Re: having some trouble with lastest version
> # stream/download/playlist MP3 handler
> Alias /mp3 /mp3
>
> <Location /mp3>
> SetHandler perl-script
> PerlHandler Apache::MP3
> </Location>
that was it. apache::mp3 was installed, but this file was using
App::TVDinner::MP3, and the alias was incorrect for me. once i
adjusted those, streaming and downloading works great.
it seems i have some duplicate entries in places, and the potential
duplicate count = 39. however if i click that number it flips me to
the screen but doesnt list anything. by duplicates im referring to 2
duplicate (in name, track, time, etc) entries under the album. one
works, the other goes to "page cannot be displayed". wondering how i
could fix this.
now that its working, i have been adding in some users. i keep
getting this error:
System error
error: DBD::mysql::st execute failed: Unknown column 'username'
in 'field list' at /www/tvdinner/system/adduser.html line 169.
context: ...
165: # nice to have right about now!)
166: $insert_sql = "insert into prefs (username) values (?)";
167: $insert_sth = $gdbh->prepare($insert_sql);
168: $insert_sth->bind_param(1,$ARGS{username});
169: $res = $insert_sth->execute;
170: }
171:
172: $sql = "select id, username, password, fullname, perm_access,
perm_stream,
173: perm_download, perm_edit, perm_upload, perm_system,
...
code stack: /www/tvdinner/system/adduser.html:169
/www/tvdinner/system/autohandler:2
/www/tvdinner/autohandler:23
if i restart apache, and then go back to the users list, the user has
been added. it also seems i can delete, and edit users without
seeing an error.
thanks for all the help,
i really like this thing
|