[Piwik-hackers] [RESOLVED] Flash not displaying problem on IIS6/windows server 2003

David Gale dgale at tbteam.com
Wed Jul 30 15:23:40 CEST 2008


Hey,

 

   I discovered the cause of the problem with the flash graphs not
displaying.

 

  The paths returned by Piwik_Url::getCurrentUrlWithoutFileName(); contain a
backslash as the last character.

 

   I modified GenerateGraphHTML.php .

 

  I changed 

 

$pathToLibraryOpenChart = $currentPath . $libPathInPiwik;

 

To 

 

$pathToLibraryOpenChart = str_replace('\\', '/', $currentPath) .
$libPathInPiwik;

 

Hopefully this helps someone  else.

 

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.piwik.org/pipermail/piwik-hackers/attachments/20080730/4b6f97fc/attachment.htm 


More information about the Piwik-hackers mailing list