FAQ  •  Register  •  Login

Player not loading on production server

<<

dubstyleenation

Posts: 2

Joined: Thu Jul 08, 2010 2:39 pm

Post Thu Jul 08, 2010 2:57 pm

Player not loading on production server

Hey guys,

I've got a weird problem. I have an wordpress plugin v3.4 xspf player that is not loading. Check out http://www.getitonmusic.com. It should show up in the top right corner, but isn't. It used to work and it works fine on my localhost. I'm getting a 404 error when the player is trying to load.

Here are my settings:
- The player is loaded into header.php using <?php xspf_player::start(); ?>
- I've executed the playlist.php and it prints out the xml playlist that I set. No problem there.
- I've navigated to the player.swf file itself and it loads fine on the screen.
- I've deactivated and reinstalled the plugin files, but nothing changed.
- I've cleared my cache, still nothing.
- I've cleared my xspf and reinstated, but still nothing.

I'm not really sure what's happening. Any suggestions?
<<

dubstyleenation

Posts: 2

Joined: Thu Jul 08, 2010 2:39 pm

Post Thu Jul 08, 2010 3:28 pm

Re: Player not loading on production server

So after some snooping I decided to shorten the playlist url value that the player uses to
http://www.getitonmusic.com/wp-content/ ... aylist.php
The player loads fine on its own. See for yourself.

Before the playlist_url value was the absolute address, not the relative one I have above. I have a feeling its the URL rewriting that happens with Wordpress that is causing the file not to be found and for some reason tweaking playlist_url arg to be relative instead of absolute fixes the loading problem.

**update**
I have url rewriting setup on my localhost and it works there properly. Just doesn't work on my production server. Admin menu and site doesn't not load the player due to a conflict in finding the playlist.php file.

Still not resolved but getting closer to finding out why it doesn't work.
<<

boriel

Site Admin

Posts: 1146

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon Jul 12, 2010 11:20 am

Re: Player not loading on production server

This might be related to permalinks in your production server. Check they're correctly set up.
Is your server a multi-host site? Check apache redirections are working ok. Note that the plugin does nothing in the server side, just write normal URLs as expected to be found in a common blog. Then your browser load those URLs and sent the request to the server (even the xspf_player.swf sends the url request from your browser to the server). So your server just receive those urls "as is", and should behave as expected (sorry, I'm afraid I didn't explain very well... :oops: ).

Return to XSPF Player Plugin (English)

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO