Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#795 closed Bug (fixed)

Flash Widgets - "loading-blue.gif" never finishes

Reported by: hass Owned by:
Priority: major Milestone: Piwik 0.4.1
Component: Core Keywords:
Cc: Sensitive:


I've copied and pasted the Flash widget from and changed the

<param value="always" name="allowScriptAccess">

to prevent cross site scripting blocking in flash.

<object style="visibility: visible;" id="UserCountrygetContinentChart_swf" data="" bgcolor="#FFFFFF" type="application/x-shockwave-flash" width="100%" height="250">
  <param value="always" name="allowScriptAccess">
  <param value="opaque" name="wmode">
  <param value="" name="flashvars">
<div id="dataTableFeatures">
    <span id="dataTableFooterIcons"> 
      <span id="exportToFormat" style="display: none; padding-left: 4px;"> 
        <span id="dataTableFooterExportAsImageIcon"> <a href="javascript:OFC.jquery.popup('UserCountrygetContinentChart_swf');"><img title="Als Bild exportieren" src=""></a></span> 
        <img src="" title="Export" width="16" height="16"> 
        <span id="linksExportToFormat" style="display: none;">  
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="CSV" filter_limit="100">CSV</a> |  
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="XML" filter_limit="100">XML</a> | 
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="JSON" filter_limit="100">Json</a> | 
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="PHP" filter_limit="100">Php</a> |  
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="RSS" filter_limit="100" date="last10"><img src="" border="0"></a> 
        <a class="viewDataTable" format="cloud"><img src="" title="Schlagwortwolke" width="16" height="16"></a> 
        <a class="viewDataTable" format="graphVerticalBar"><img src="" title="Säulendiagramm" width="16" height="16"></a> 
        <a class="viewDataTable" format="graphPie"><img src="" title="Kreisdiagramm" width="16" height="16"></a> 
      <span id="dataTableFooterIconsShow" style="padding-left: 4px;"> <img src=""> </span> 
      <span id="tableAllColumnsSwitch" style="border-right: 1px solid rgb(130, 161, 210); float: right; padding-right: 4px;"> <img title="Normale Tabelle anzeigen" src=""> </span> 
      <span id="tableGoals" style="float: right; padding-right: 4px;"> <img title="View Goals" src=""> </span> 
  <span id="loadingDataTable"><img src=""> Lade Daten...</span> 
<div class="dataTableSpacer"></div>

But I get the below error in the Firebug console. It's German...

Die Erlaubnis für den Aufruf der Methode Location.toString wurde verweigert
Line 0

English should be something like:

Access denied calling method Location.toString
Line 0

Attachments (1)

piwik_flash_widget_bug1.png (14.3 KB) - added by hass 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by hass


comment:1 Changed 5 years ago by hass

Aside OFC.jquery.popup() seems useless if I do not have the JS files.

comment:2 Changed 5 years ago by vipsoft (robocoder)

When we used OFC1, we didn't export the dataTableFeatures div. The quick fix is to remove this footer as it depends on undocumented additional scripts, javascript that isn't present in an external .js file, etc.

comment:3 Changed 5 years ago by matt (mattab)

there must be a bug around:

the "flash" export of the widget should only give back the "object" tag and not the footer. if anyone wants to have a look please do so :)

comment:4 Changed 5 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [1239]) fixes #795 - just the flash content

comment:5 Changed 5 years ago by alivenk

Note: See TracTickets for help on using tickets.