I think this problem is best illustrated by a screenshot (attached).
I think I've hunted it down to the fact that the playerPath is pointing to the images in CSS via:
"/sites/all/modules/mediafront/players/osmplayer/player/jquery-ui/css/smoothness/images/ui-icons_222222_256x240.png"
And when converted to a full path, it points to "http://domain/*above path*" and unless my site is being accessed through the domain (say, if it's accessed via http://domain/site/here), it won't work (i.e. if I'm working on a dev server such as using XAMPP on Localhost, it will point to the wrong place).
| Comment | File | Size | Author |
|---|---|---|---|
| mediafront_player_bug.png | 453.76 KB | TahitiPetey |
Comments
Comment #1
tinarey commented+1 same here. Couldn't find the file that defines the path yet...
Comment #2
travist commentedGo to your preset, and resave the preset. I changed the way the images are found and the way to correct is to either resave your preset, or simply run the update script.
Please let me know if this fixes your issue.
Comment #3
travist commentedActually, you must run the update script after updating. This should correct all image path issues.
Thanks,
Travis.
Comment #4
tinarey commentedDidn't work for me... I always run update.php directly after updating a module and I resaved my preset after that (and after putting my ThemeRoller themes back in, but it didn't make a difference since the included themes don't work either). I've also tried reinstalling via Devel and resaving the preset – didn't work either.
Would I have a chance with manually deinstalling Mediafront (including db) and reinstalling? (Just don't have the time to try atm)
Comment #5
travist commentedTry creating a new preset and see if that works first. Please let me know if you create a new preset, if the images still refuse to show... if so, then I may need to debug this with a similar environment you are on.
Comment #6
tinarey commentedNew preset didn't work either... (I'm on localhost and the path is missing the subfolder as stated above).
Let me know if I can help you with debugging somehow.
Comment #7
hatsch commentedi have the same issue.
mediafront seems to use full filesystem paths instead of relatives to the drupal dir.
greetings
ste
Comment #8
travist commentedSo, is everyone who is having issues on XAMPP? I cannot reproduce this issue on any of my environments.
Comment #9
pixelsweatshop commentedHaving same issue on a dev server and not local.
Comment #10
tinarey commentedI'm on OSX using Mamp. If I find some time, I'll try upgrading with some fresh installations and/or in the Acquia environment.
Comment #11
TJM commentedI am having the same problem on my Wamp 2.1 server with Drupal 7. The icons are missing. It all works OK, if I click where the icons should be located. It does not seem to be just the Xampp server.
Comment #12
hatsch commentedi am using a LAMP stack with PHP 5.2
and i am on drupal 6. so it happens when upgrading vom 6.x-1.1 to 6.x-1.2
my sites directory is a symlink to another dir ( maybe that has something to do)
it's a very similar bug i've encounterd with beta3
https://drupal.org/node/843310#comment-3162724
Comment #13
nitebreedHaving the same error when upgrading from 6.x-1.1 to 6.x-1.2
Comment #14
travist commentedWhat browser is everyone seeing this in?
Comment #15
pixelsweatshop commentedFF, Chrome, Safari and IE
See http://216.172.182.60/~lifering/videos for a live view of an affected site.
Comment #16
travist commentedOk, so I think I see a common trend here.... does everyone have their Drupal install in a subdirectory from webroot? If so, then I think I know what may be causing this problem.
Comment #17
tinarey commentedFor me, yes subdirectory.
Comment #18
travist commentedAlright... so I think I have a fix for this. It is certainly due to the drupal install being within a subdirectory, which luckily is not a high use case. Regardless, this is fixed in the latest DEV version, which should be built tomorrow. Please give it a try tomorrow and let me know if it works. If so, then I will do a new release shortly.
Thanks,
Travis.
Comment #19
rayvan commentedPlease correct this on 6.x version too. I'm also using on subdir and its buggy.
Comment #20
sailoog commentedsame issue fixed (drupal in subdirectory) in 6.x with dev version,
but now do not load the playlist.
I have a preset with
Default Playlist: http://xxx.cat/drupal/playlist.xml
and a block with:
worked fine before
Comment #21
travist commentedsailoog,
Are you saying that after you upgraded to the 6.x-dev version, that your player broke? I really would like to get to the bottom of that if so.
Thanks,
Travis.
Comment #22
sailoog commented(sorry my english is not very good)
Yes, my steps were:
- Mediafront working perfectly in a drupal 6 in subdirectory. In home i have a player "graella" and a separate playlist "graella_playlist" with Default Playlist: http://xxx.cat/drupal/playlist.xml
- Upsate to 6.x-1.2 (2011-Sep-17) and icons and images disappear
- Update to 6.x-1.x-dev (2011-set-22) and 6.x-1.x-dev (2011-set-26) and icons appear but don't load the playlist.
Cache deleted and presets re-saved
Comment #23
acarpio commentedI'm having same issue on dev 7.x after set. 25 updates (including sept 26).:
- Buttons appear now, but the playlist is not loaded anymore (that's on a view and using a drupal installation in subdirectory). If I go back to media front previous to sept. 25 updates, then the playlist is loaded but -of course- no buttons.
Let me know if there is any other information I could provide.
Comment #24
travist commentedSorry for the delay on getting to this, but I am pretty certain I found the cause for this and it is now fixed. I just updated the DEV versions for both 6.x and 7.x, which should be available tomorrow.
Please test, and if all is well, I will release a new stable version soon.
Thanks guys.
Travis.
Comment #25
acarpio commentedLast Sept. 28 7.x dev fixes both issues: now buttons appear and so do playlist. As far as I have checked everything works as expected.
Great work Travis, thanks so much.
Comment #26
TahitiPetey commentedI have updated to the 7.x-1 Dev and I'm not seeing the fixes for the buttons at all. I've cleared the cache, ran updates.php, but nothing. Do I have to delete & recreate presets for the problem to be fixed?
Comment #27
sailoog commentedsubscribe
Last Sept. 28 6.x dev fixes both issues: now buttons appear and so do playlist. As far as I have checked everything works as expected.
Great work Travis, thanks so much.
Comment #28
sailoog commentedonly re-save presets
Comment #29
tinarey commentedworks for me, thanks a ton!
Comment #30
travist commentedComment #31.0
(not verified) commentedFixing some spelling + expanding explanation a bit.