Thanlk, Erland.

Strange. I replaced rand() with random() in the mentioned file and
restarted the server, but it still says:

2007-08-27 18:44:42.8456 SQLPlayList: Loading template configuration
from: /volume1/SlimServer/Plugins/SQLPlayList/Templates
2007-08-27 18:44:43.9779 SQLPlayList: Loading playlists from:
/volume1/SlimServer/Plugins/SQLPlayList/Playlists
2007-08-27 18:44:43.9826 SQLPlayList: Loading template playlists from:
/volume1/SlimServer/Plugins/SQLPlayList/Playlists
2007-08-27 18:44:44.8131 SQLPlayList: Searching for playlists in:
/volume1/SSODS/var/playlists
2007-08-27 18:44:44.8476 SQLPlayList: Loading playlists from:
/volume1/SSODS/var/playlists
2007-08-27 18:44:44.8545 SQLPlayList: Loading template playlists from:
/volume1/SSODS/var/playlists
2007-08-27 18:44:50.7632 SQLPlayList: Getting tracks for: Simple
2007-08-27 18:44:50.7642 SQLPlayList: Get playlist: Simple
2007-08-27 18:44:50.8069 SQLPlayList: Replacing 'PlaylistOffset' with
0
2007-08-27 18:44:50.8081 SQLPlayList: Replacing 'PlaylistActiveLibrary'
with 0
2007-08-27 18:44:50.8092 SQLPlayList: Replacing 'PlaylistLimit' with
10
2007-08-27 18:44:50.8132 DBD::SQLite::db prepare failed: no such
function: rand(1) at dbdimp.c line 271 at
/volume1/SlimServer/Plugins/SQLPlayList/Plugin.pm line 3189.
2007-08-27 18:44:50.8148 Database error: no such function: rand(1) at
dbdimp.c line 271
DBD::SQLite::db prepare failed: no such function: rand(1) at dbdimp.c
line 271 at /volume1/SlimServer/Plugins/SQLPlayList/Plugin.pm line
3189.

What is the file dbdimp.c ? I can't find anywhere on the server!

At line 3189 there is the line:
my $sth = $dbh->prepare( $sql );

Immediately after, debugMsg("Executing: $sql\n") is called. But where
does that goto? It's not in the log.

I am a professional PHP developer, so although I have no experience
with Perl, you can talk technical to me if that helps!


-- 
marlar
------------------------------------------------------------------------
marlar's Profile: http://forums.slimdevices.com/member.php?userid=9135
View this thread: http://forums.slimdevices.com/showthread.php?t=37893

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to