Menu

#3 Programmer Error Notification....

open
nobody
None
5
2008-03-06
2008-03-06
cal fellows
No

Hey, I just found the problem.

The index.html files in both the music1 and music2
folders are missing the relative path on one of
the embed tag positions.

Look for this:
<param name="movie" value="xspf_player.swf?playlist_url=playlist_generator.php&autoload=true&autoplay=true&shuffle=true" />

It's missing the ../ to back up one folder where the damn swf is.

so change it to this:
<param name="movie" value="../xspf_player.swf?playlist_url=playlist_generator.php&autoload=true&autoplay=true&shuffle=true" />

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hi Cal, please describe the problem and the solution in one place if you have found one.

    This package is downloaded on average about 10 times per day for a while now and this is the first time someone has asked that line to be changed. On our test systems the zip package worked without changing anything as in sort of standalone. But server environments can be different so maybe this has helped your situation. But I am not convinced you have found an error on anyones' part.

    The actual src line further below calls the swf and it has as you will find the correct relative path.

    Its totally cool you are looking into this! I wouldn't be surprised if this should be changed, its just been working well for so many others that I might hesitate to change the package just because a single user suggests a change.

    Much appreciated!!!

    -jonathan adams leonard

     
  • cal fellows

    cal fellows - 2008-03-09

    Logged In: YES
    user_id=1992792
    Originator: YES

    JAL,
    Look at the index files in the music1 and music2 folders. Both of them have the same exact "error". Document relative linking is bad in one spot, and okay in the other spot. value="../xspf_player.swf and src="xspf_player.swf

    The src is not going to find the swf in the music1 folder. You have to backup once (../) to get to the swf.

    Cal

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.