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
Column nb_visits already in the array #5566
Comments
does it happen when you select every day? |
I get the same error a couple of hours after installing. Please contact me if you like access to our server. |
Sorry… Perhaps an emailadress would make it easier to contact me: david@newsdesk.se |
I had to take piwik offline. After 1 full day of traffic, pulling up any reports took over 5 minutes. I’m anxious to use it, but the site I’m trying to put it in gets over 5k uniques per day. I had similar luck with phpOpenTracker – just an exorbanant amount of data to track. |
There are currently no indexes on the log tables. I tried to add a few and that made all the difference for me: CREATE INDEX index_idvisit ON log_link_visit_action (idvisit); Replying to [droidmcse](comment:4): > I had to take piwik offline. After 1 full day of traffic, pulling up any reports took over 5 minutes. |
Ok – I put it back online since I got the indexes. I realize that it’s a separate issue. Ok so I am not 100% positive that this won’t bite me in the rear, but my site is: |
droidmcse, you should not give passwords to everybody! I will study the index strategy add add them before the beta |
It seems the bug is fixed in the last version. I tried on david box and it works well. |
Using r391. When accessing index.php without parameters, all widgets except “Last visits graph” display data (no crash, last visits is just empty, probably because Piwik hasn’t been able to record anything). However, if I change to a specific day/week/year, I get this: ``` In /home/.yana/mikael/mikael.jansson.be/piwik/modules/DataTable/Row.php on line 270
|
Please enable ``` always_archive_data = true in your config/global.ini.php ``` section. try to archive your data again, does it work better? |
Replying to [matt](comment:10): > Please enable This is what I’m doing: I’m not doing any archiving operation. > If not send me SSH or FTP access to your piwik installation with write access to your piwik files by email. thanks Hah, as if! However, if you tell me what data you need to make a minimal test case, I can provide it for you. |
This seems indeed only be happening when I change to another view than day. It still seems to be recording visits, which is good, as the “visit by server time” graph works. The “Last visit graph” is broken, though. Any ideas on how I can go about debugging this? |
I have exactly the same issue – Uncaught exception: ‘Column nb_visits already in the array!’ I’ve just tried the latest piwik download today but it does not fix anything. I’ve tried adding the indexes as suggested above without result, and also changing always_archive_data to true also without result. Any further suggestions? If I can provide any more info let me know as I’m keen to help this project if I can! |
The easiest way to help in this case would be to give me access to your piwik files (ftp or ssh) so I can debug. I promise I won’t do anything harmful of course. |
Replying to [matt](comment:14): > The easiest way to help in this case would be to give me access to your piwik files (ftp or ssh) so I can debug. I promise I won’t do anything harmful of course. I can give you the revision of piwik I’m using plus an SQL dump of the piwik tables. |
mjbe, please send me your SQL dump at matthieu at piwik .org |
(In 395) – fix #5566 Column nb_visits already in the array |
I found ticket #140 and I have the same error. I didn’t modify the database. However, this should probably be logged under a different ticket, but there isn’t a create tables script for those of us who don’t have permissions to create tables.
I am using:
Linux uawww.domain.com 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:16 EST 2007 i686 athlon i386 GNU/Linux
php -v
PHP 5.1.6 (cli) (built: Sep 20 2007 10:16:10)
Copyright © 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright © 1998-2006 Zend Technologies
mysql —help
mysql Ver 14.12 Distrib 5.0.22, for redhat-linux-gnu (i686) using readline 5.0
The text was updated successfully, but these errors were encountered: