@matt, thanx for keep helping
I made all change asked by this howTo, but nothing resolved.
I found (i strongly supose) the origin of the problem:
MYHOSTNAME.intra.foo.bar
is transformed to
MYHOSTNAME
It is cleared in database everytimes into piwik_option
.option_name
.piwikUrl with option_value
from http://MYHOSTNAME.intra.foo.bar/piwik to http://MYHOSTNAME/piwik
It comes in output html as
<script type="text/javascript">
var piwik = {};
piwik.token_auth = "***********";
piwik.piwik_url = "http://MYHOSTNAME/piwik";
piwik.userLogin = "PADM000"; piwik.idSite = "1"; piwik.siteName = "my site"; piwik.siteMainUrl = "http://MYHOSTNAME.intra.foo.bar/site"; piwik.period = "day"; piwik.currentDateString = "2011-12-06";
piwik.startDateString = "2011-12-06"; piwik.endDateString = "2011-12-06"; piwik.minDateYear = 2011; piwik.minDateMonth = parseInt("10", 10); piwik.minDateDay = parseInt("26", 10); piwik.maxDateYear = 2011; piwik.maxDateMonth = parseInt("12", 10); piwik.maxDateDay = parseInt("07", 10);
</script>
piwik.piwik_url = “http://MYHOSTNAME/piwik”; instead of piwik.piwik_url = “http://MYHOSTNAME.intra.foo.bar/piwik”;
Other bug thing, i open firebug/console, and i can see it is trying to load some css for page of other server at *.intra.foo.bar
I am looking into the code to see if i can disable the cleaner to see if this is the origin.
edit:
NOTE: i can see the widget “log visitor” in his tab
edit2:
i commented line #159 in Piwik.php so i can have the good piwik.piwik_url value on js, and on database
//Piwik_SetOption($key, $currentUrl, $autoload = true);
but probleme of no-loading widget is camping :’(
on a new install i have the same probleme, can load the visitor log widget in his own tab, live widget can be loaded from the main dashboard, nothing for the rest