solved all music says error occured loading media url

soaringeagle
@soaringeagle
9 years ago
3,304 posts
i can click the download button and play it but cant play it through the sites player!
every song (uploaded) has this error!
media.jpg
media.jpg  •  289KB




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 07/15/16 11:49:17AM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
additionaly switching to midnight player generated this error
{jrCore_media_player} invalid value received for "type" parameter (modules/jrAudio/templates/item_detail.tpl)



--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
further testing after manually deleting data/cache contents i get a new error in edge
invalid module received in stream_url_error


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
errors i get when trying to play files in ff
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. cometchatjs.php:3:38987
HTTP "Content-Type" of "text/html" is not supported. Load of media resource https://www.dreadlockssite.com/uploaded_audio/stream/audio_file/14706/key=BxNselWlNLeZ/file.ogg failed. music

looks like the content types declared wrong?


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
douglas
@douglas
9 years ago
2,797 posts
Is this on a custom skin? Can you change to a default skin and see if you get the same message?

Also a link to the page in question would be helpful so we can take a look at it.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
soaringeagle
@soaringeagle
9 years ago
3,304 posts
https://www.dreadlockssite.com/music
TRY IT IN DIFERENT BROWSERS
i don't see how the skin could change the media url and why its diferent results in diferent browsers
there was a disk sector issue I'm cloning ad replacing the media disk tonight
wich will shut me down for 6 hours
I'm also reconverting all music to just mp3 no ogg
i tried going to the url in the error message and i got a 403!


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
they play in edge but the images don't all load they don't play in ff but the images do load
chrome both work same with ie both work in ie and chrome
i think ff is trying to play ogg instead of mp3 but i don't understand the image issue in edge


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
after further testing i am 100% convinced (ok 99%) that the newest version of the audio module doesn't handle ogg files properly, and only ff is trying to stream ogg still doesn't explain the non loading pics in edge tho


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
servers back up, i had hoped replacing the media drive would solve it but no such luck
the site was down for over 14 hours to replace the drive and it didn't fix the issue
to me its looking like ff tries serving ogg files, but the 'type' parameters set incorrectly
wich to me sounds like its in the module itself
will try the default skin late tonikght when traffics low


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
correct me if I'm wrong...but it appears to me that the template only supports mp3 extentions even if ogg was an option set for conversion and since it was converted to ogg for some odd reason ff alones attempting to serve ogg with no support for it in the template
additionally in edge the images that are not loading, if i inspect element, then copy the url and go to the url itself the image loads properly
however not resized
some images load fine others do not

heres the template I'm looking at
{jrCore_module_url module="jrAudio" assign="murl"}
<div class="block">

    <div class="title">
        <div class="block_config">

            {jrCore_item_detail_buttons module="jrAudio" field="audio_file" item=$item}

        </div>
        <h1>{$item.audio_title}</h1>
        <div class="breadcrumbs">
            <a href="{$jamroom_url}/{$item.profile_url}/">{$item.profile_name}</a> &raquo;
            {if jrCore_module_is_active('jrCombinedAudio') && $item.quota_jrCombinedAudio_allowed == 'on'}
                <a href="{$jamroom_url}/{$item.profile_url}/{jrCore_module_url module="jrCombinedAudio"}">{jrCore_lang module="jrCombinedAudio" id=1 default="Audio"}</a>
            {else}
                <a href="{$jamroom_url}/{$item.profile_url}/{$murl}">{jrCore_lang module="jrAudio" id="41" default="Audio"}</a>
            {/if}
            &raquo; {$item.audio_title}
        </div>
    </div>

{assign var="skin_player_type" value="`$_conf.jrCore_active_skin`_player_type"}
{assign var="player_type" value=$_conf.$skin_player_type}

{if isset($player_type) && $player_type == 'gray_overlay_player' || $player_type == 'black_overlay_player'}

    <div class="block_content">

        <div class="item">

            <div class="jraudio_detail_player">

                <div class="jraudio_detail_player_left" style="width:50%;">
                    {jrCore_module_function function="jrImage_display" module="jrAudio" type="audio_image" item_id=$item._item_id size="xlarge" class="iloutline img_shadow img_scale" alt=$item.audio_title}
                </div>

            {* Make sure we're active *}
            {if isset($item.audio_active) && $item.audio_active == 'off' && isset($item.quota_jrAudio_audio_conversions) && $item.quota_jrAudio_audio_conversions == 'on'}

                <div class="jraudio_detail_player_right" style="width:50%;">

                    <p class="center">{jrCore_lang module="jrAudio" id="40" default="This audio file is currently being processed and will appear here when complete."}</p>

                </div>

            {else}
                <div class="jraudio_detail_player_right">

                        <div style="text-align:left;;line-height:24px;padding-left:6px">
                            <span class="info">{jrCore_lang module="jrAudio" id="31" default="album"}:</span> <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/albums/{$item.audio_album_url}"><span class="info_c">{$item.audio_album}</span></a><br>
                            <span class="info">{jrCore_lang module="jrAudio" id="12" default="genre"}:</span> <span class="info_c">{$item.audio_genre}</span><br>
                            {if $item.audio_file_extension == 'mp3'}
                            <span class="info">{jrCore_lang module="jrAudio" id="51" default="streams"}:</span> <span class="info_c">{$item.audio_file_stream_count|default:"0"|number_format}</span><br>
                            {if !empty($item.audio_file_item_price)}
                                <span class="info">{jrCore_lang module="jrAudio" id="14" default="audio file"}:</span> <span class="info_c">{$item.audio_file_original_extension}, {$item.audio_file_original_size|jrCore_format_size}, {$item.audio_file_length}</span>
                            {/if}
                            <br>
                            {/if}

                            {jrCore_module_function function="jrRating_form" type="star" module="jrAudio" index="1" item_id=$item._item_id current=$item.audio_rating_1_average_count|default:0 votes=$item.audio_rating_1_count|default:0}
                        </div>

                </div>

            {/if}

            </div>

            {if $item.audio_file_extension == 'mp3'}

                {assign var="ap" value="`$_conf.jrCore_active_skin`_auto_play"}
                {assign var="player" value="jrAudio_`$player_type`"}
                <br>{jrCore_media_player type=$player module="jrAudio" field="audio_file" item=$item autoplay=$_conf.$ap}

            {/if}

        </div>


        {* bring in module features *}
        {jrCore_item_detail_features module="jrAudio" item=$item}

    </div>

{else}

    <div class="block_content">

        <div class="item">

            <div class="jraudio_detail_player">
                <div class="jraudio_detail_player_left">

                    {* Make sure we're active *}
                    {if isset($item.audio_active) && $item.audio_active == 'off' && isset($item.quota_jrAudio_audio_conversions) && $item.quota_jrAudio_audio_conversions == 'on'}

                        <p class="center">{jrCore_lang module="jrAudio" id="40" default="This audio file is currently being processed and will appear here when complete."}</p>

                    {elseif $item.audio_file_extension == 'mp3'}

                        {assign var="ap" value="`$_conf.jrCore_active_skin`_auto_play"}
                        {assign var="player" value="jrAudio_`$player_type`"}
                        {if isset($player_type) && strlen($player_type) > 0}
                            {jrCore_media_player type=$player module="jrAudio" field="audio_file" item=$item autoplay=$_conf.$ap}<br>
                        {else}
                            {jrCore_media_player module="jrAudio" field="audio_file" item=$item autoplay=$_conf.$ap}<br>
                        {/if}

                        <div style="text-align:left;padding-left:6px">
                            <span class="info">{jrCore_lang module="jrAudio" id="31" default="album"}:</span> <span class="info_c"><a href="{$jamroom_url}/{$item.profile_url}/{$murl}/albums/{$item.audio_album_url}">{$item.audio_album}</a></span><br>
                            <span class="info">{jrCore_lang module="jrAudio" id="12" default="genre"}:</span> <span class="info_c">{$item.audio_genre}</span><br>
                            <span class="info">{jrCore_lang module="jrAudio" id="51" default="streams"}:</span> <span class="info_c">{$item.audio_file_stream_count|default:"0"|number_format}</span><br>
                            {if !empty($item.audio_file_item_price)}
                                <span class="info">{jrCore_lang module="jrAudio" id="54" default="purchase"}:</span> <span class="info_c">{$item.audio_file_original_extension}, {$item.audio_file_original_size|jrCore_format_size}, {$item.audio_file_length}</span>
                            {/if}
                            <br>{jrCore_module_function function="jrRating_form" type="star" module="jrAudio" index="1" item_id=$item._item_id current=$item.audio_rating_1_average_count|default:0 votes=$item.audio_rating_1_count|default:0}
                        </div>

                    {else}

                        {* allow downloads if we are not blocked *}
                        {if isset($_conf.jrAudio_block_download) && $_conf.jrAudio_block_download == 'off'}
                            <a href="{$jamroom_url}/{$murl}/download/audio_file/{$item._item_id}">{jrCore_icon icon="download"}</a><br>
                        {/if}

                        <div style="text-align:left;padding-left:6px">
                            <span class="info">{jrCore_lang module="jrAudio" id="31" default="album"}:</span> <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/albums/{$item.audio_album_url}"><span class="info_c">{$item.audio_album}</span></a><br>
                            <span class="info">{jrCore_lang module="jrAudio" id="12" default="genre"}:</span> <span class="info_c">{$item.audio_genre}</span><br>
                            {jrCore_module_function function="jrRating_form" type="star" module="jrAudio" index="1" item_id=$item._item_id current=$item.audio_rating_1_average_count|default:0 votes=$item.audio_rating_1_count|default:0}
                        </div>

                    {/if}
                </div>

                <div class="jraudio_detail_player_right">
                    {jrCore_module_function function="jrImage_display" module="jrAudio" type="audio_image" item_id=$item._item_id size="large" class="iloutline img_shadow" alt=$item.audio_title width=false height=false}
                </div>

            </div>

        </div>

        {* bring in module features *}
        {jrCore_item_detail_features module="jrAudio" item=$item}

    </div>

{/if}

</div>

hmm in edge I'm also getting a lot and i mean a lot of access denieds for a lot of scripts that seem related to the google ads and such
as a debugging effort I'm going to temporarily disable all ads using the default heder and footers
nope that made no diference

more then 1/2 the music files have reconverted to mp3 only
still cant find 1 that doesn't try to play ogg in ff


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
some songs are now playing so converting to mp3 only may have solved part of the problem however images ..some.. still don't load in edge
i think the audio modules not handeling ogg files right anymore


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
arghhhh i thought reconverting to mp3 only would fix it but no theres only 3 left in the queue but... some play..some don't more don't then do


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
ok all files converted to mp3, same error in ff
am i really the only 1 having this issue? it seems the content type is not correct for streamed media but it only affects ff
still no explanation for the images in edge however
btw it was brought to my attention by other members so its not my pc or browser

summery
i thought it was ogg files but all streaming uploaded files have same issue, music imported from soundcloud work fine
mp3 files do not play either
they play in edge but for some reason the images don't all load in edge, edge error console gives doozens of 403 errors that seem to be related to ads, but with ads, and cometchat removed it still has same issues

i spent 3 or 4 days trying to debug this including taking the server down for 14 hours to replace the media drive

final test i copied the url from the error message, into a new tab..it played just fine

final suspicion is that the play button uses a javascript that declares an improper type for the url? so the onclick generates an error
will look into that now
media.jpg
media.jpg  •  97KB




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
ok its solved..what a freaking nightmare

after cloning and swapping out the media drive, it still persisted, then i tried creating a new account cause sites i hardly use were on godaddy and they were decommissioning the server
so i was creating an account to migrate wich caused dozens of errors then wouldn't stop ..an hour or so later it caused the webserver to restart..wich it didn't start back up.. then rebooting the server caused it to do a file system check.. the brand new media disk woulod not come back online properly still having errors ...but all the issues seemed to fix themselves
now its being shut down again to fix those errors on that disk

so 14 hours shut down to clone the disk 3 to do the filiesystem check and now probably another 2 to do the check on that disk...again
god i hope we don't have to swap disks yet again


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags