Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new installation doesn't collect any data #5759

Closed
anonymous-matomo-user opened this issue Aug 19, 2008 · 6 comments
Closed

new installation doesn't collect any data #5759

anonymous-matomo-user opened this issue Aug 19, 2008 · 6 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

I have installed Piwik at stats.van-go.org and have copied the javascript into two seperate domains:
- van-go.org
- jamspeak.org

Piwik is not recording stats for either domain. I have inserted the piwik code near the bottom of the index.html for van-go.org and into the index.php file for the jamspeak.org wordpress theme (surrounded by HTML opening and closing tags.)

I believe that this bug is specific to the new version of Piwik as I have successfully configured an older version of Piwik on two other domains, following the exact procedure I used on the aforementioned domains.

My Apache error log is as follows:
[Aug 18 18:51:08 2008](Mon) [[client 81.129.23.24](error]) File does not exist: /home/vango/stats.van-go.org/images, referer: http://stats (dot) van-go (dot) org/index.php?module=Home&action=index&idSite=1&period=day&date=today

@anonymous-matomo-user
Copy link
Author

As a test, I copied the javascript from an older version of Piwik and inserted it into my html document. The application successfully recorded visitor data.

Now, I have inserted the generated javascript from the current version of Piwik and no statistics are being recorded. Piwik is functional, there is just some error with the Javascript.

This is not an isolated incident as there have been at least two other tickets relating to this problem. One ticket was closed, I believe, without resolution:
#5738
#5762

@anonymous-matomo-user
Copy link
Author

Okay Ive found a workaround for the missing image issue:

I created a new folder in mywwwdir/piwik called images

I copied all of the image files I found in all of the piwik folder to the mywwwdir/piwik/images folder.

Now it works.

I’m not sure where in the code this missing directory gets called. Maybe one of the developers can add the fix.

Thanks, Julia Jacobs

@robocoder
Copy link
Contributor

I looked at stats.van-go.org, and it appears to be collecting stats from jamspeak.org just fine.

For van-go.org the browser’s javascript parser doesn’t like the literal string being split across two lines.

document.write(unescape(“%3Cscript src=’” + pkBaseURL + "piwik.js’

type=‘text/javascript’%3E%3C/script%3E"))

Should be:

document.write(unescape(“%3Cscript src=’” + pkBaseURL + “piwik.js’ type=‘text/javascript’%3E%3C/script%3E”))

@anonymous-matomo-user
Copy link
Author

The jamspeak.org site is using the wordpress plugin now. I will try to change the van-go.org code asap.

@mattab
Copy link
Member

mattab commented Oct 10, 2008

Any update on the story? please follow up or bug will be marked as “cannot reproduce”

@mattab
Copy link
Member

mattab commented Oct 10, 2008

your piwik now has data, fixed

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants