How do I do this?

Dolby

Honorary Master
Joined
Jan 31, 2005
Messages
39,122
Reaction score
6,138
I have an error with my media streamer (http://www.swisscenter.co.uk/component/option,com_simpleboard/Itemid,42/func,view/id,7295/catid,10/) that I don't understand how to fix ;)

It does not list one of the menu's and this site tels me how to do it. But, I'm not an IT guy so I'm not sure how to exexcute this fix :

I've had the same problem for quite awhile and have a workaround but not a proper solution. There is a bug in PHP4 documented here.
Basically the 'Manage Playlists' option is only shown if your playlists location is defined and the PHP functions is_readable and is_writable both return true on the location. In my case the is_writable function is returning false.

I work around this by removing the is_writable check from the function 'pl_enabled' in index.php. I guess this should be fixed properly.


I changed the test in the playlists.php to readable only and now I have the entry.


Have you tried changing your playlist location to a directory that is read/write?


What do I need to? :(
 
Last edited:
what computer is this on? (OS, internet access, home/office?)
 
My home PC ... Windows XP ... Internet at both the office and home
 
ok, in the "SwissCenter Configuration Utility" have you set the location of the playlists?
c:/playlists worked for me....

then in "c:\documents and settings\all users\application data\simese\data\base" make a backup copy of playlist.php, then open it in notepad, and search for "pl_enabled".

you should find: (2 thirds into the file)
function pl_enabled()
{
return (is_readable(os_path(get_sys_pref("playlists"))) && is_writeable(os_path(get_sys_pref("playlists"))));
}
delete "&& is_writeable(os_path(get_sys_pref("playlists")))" leaving behind one ")"
 
Perfect ! Thanks ! I'll try this tonight ... :)
 
Thanks Random!

Everything works and I have my playlists :D
 
Top
Sign up to the MyBroadband newsletter
X