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
Fatal error: cannot get the main URL of this site: invalid site ID #6135
Comments
Do you have an site with the ID 3 in your Piwik? How is it configured? Are the urls set? |
Hello sgiehl, yes, I configured a site with the ID 3. In the configuration there is also a URL configured. Greetings from Michael |
Have you tried it without --login and --password option? Maybe the given user does not have the correct right for that site. |
Yes, I tried that this way. But than the system reply with the following error message: Fatal error: Thats why I used the --login and --password option |
I guess that one is the "real" error. Could you try running |
The result is: X-Powered-By: PHP/4.4.9 Parse error: syntax error, unexpected T_STRING in /kunden/216743_55239/testing/piwik/misc/cron/updatetoken.php on line 12 |
You are running Piwik with PHP 4.4.9? Piwik 2.X needs 5.3.2 or higher. |
Thanks. I will contact my service provider and post a feedback of the solution here. Many thanks for your help. |
Thanks for report & @sgiehl for your replies! |
Dear ladies and gentlemen,
after updating PIWIK to version 2.6.1 the import function for logs files ist not longer running.
My input is the following:
python import_logs.py --url=http:// access.log --idsite=3 --login= --password=
And the result:
Fatal error: cannot get the main URL of this site: invalid site ID: 3
Could you please help me to solve that problem? Thanks.
Greetings, Michael
The text was updated successfully, but these errors were encountered: