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

Improve logging for "unexpected website" #7698

Closed
larsen0815 opened this issue Apr 17, 2015 · 7 comments
Closed

Improve logging for "unexpected website" #7698

larsen0815 opened this issue Apr 17, 2015 · 7 comments
Milestone

Comments

@larsen0815
Copy link

I´ve found this in my php.log:

Error in Piwik (tracker): An unexpected website was found, check idSite in the request.

Please add the value of idSite to the log entry. How else could I find out which idSite is causing this?

@mattab
Copy link
Member

mattab commented Apr 20, 2015

Hi @larsen0815
what version of Piwik are you using and do you have the URL used to reproduce the issue?

@larsen0815
Copy link
Author

Hi @mattab
version is 2.8.3. URL is unknown as I don´t have the id in the log.

@mattab
Copy link
Member

mattab commented Apr 21, 2015

Hi @larsen0815

can you upgrade to Piwik 2.12.1 ( I think this bug was fixed.)

if you still have the problem with 2.12.1 please leave a comment

@larsen0815
Copy link
Author

Upgraded to 2.13.0 yesterday. Today I still have the same errors in my log.

@mattab mattab closed this as completed in 99bb58c Jul 14, 2015
@mattab mattab added this to the 2.14.1 milestone Jul 14, 2015
@larsen0815
Copy link
Author

Thx, I was able to find out the website now. Though, I was lucky to have an old instance of the database where the site was still in. It would be good when sites that get deleted are either only flagged as deleted (without actually deleting the record) or moved into another table like "site_deleted".

@mattab: May I open a new issue for that?

@larsen0815
Copy link
Author

Would it be possible to log the referrer so you can see which domain is responsible for the log entries?

@mattab
Copy link
Member

mattab commented Aug 10, 2015

@larsen0815 can you please create a new issue for this request (this issue is closed)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants