Script not found even though it is there

Permalink
Howdy! I'm building a block to use highcharts, and have run into a perplexing problem. I have three scripts in a folder, one of which is called "timeseries_chart.js". The others are the highcharts.js and theme.js. I've used addHeaderItem, to inject the scripts. The chart script gets injected into the header as
<script type="text/javascript" src="/sflux5/concrete/js/timeseries_chart.js?v=e82285157c7cdfe46ec163aee5835829"></script>

I have no idea where the v=e82285157c7cdfe46ec163aee5835829 bit comes from, but it is somehow wrong. The other highcharts scripts are found, but the chart is not.

Where is this numeric tail coming from, and how do I get concrete to change it? I've cleared and disabled the cache, but it does not help. Any ideas?

 
n5zap replied on at Permalink Reply
Actually, I just looked again and all of the highcharts javascript files are broken. When I view source in Firefox, I can see where the scripts are indeed injected into the header. If I move the scripts to another directory, that directory changes when I reload the page and view source, so I know that CM5 is finding the scripts. When I click on the generated filename I get a "File not found" page.

So, the "v=" parameter on all of them is wrong. I'm still perplexed, but at least it's more consistent than I thought... :(
n5zap replied on at Permalink Reply
Figured it out, but I'm scratching my head. It seems that CM5 will default to the concrete/js directory, and only using the full path from the root in the call to addHeaderItem() would get the proper directory which is just /js. Interesting.

Is there an error message for this kind of thing that I have turned off, or is there no error checking at all? Just wondering, because I have the site set to development settings and get no error. Just a silent fail.