Hey, i am long long time piwik user …just did upgrade to 1.10.1 and like this other person, i have 20 sites and all have zero stats since upgrade. I have 100’s of daily visitors (google analytics is recording visits )
I updated using the automatic app and database install … no problems apparent in upgrade. app update ok, and database update apparently ok. It said:
System Check => Huzzah! There are no problems with your Piwik setup. Give yourself a pat on the back.
just no stats. can log into site, I can see all sites, but zero zero zero …
any ideas or hints or tips or things to try? thx (love piwik!)
Ok
I followed the instructions in FAQ to reinstall to the letter (I have done this many times before eg both automated and manual reinstalls of Piwik … 1.10.1 this is different …
FAQ says:
[i]To force a new installation of Piwik, you can simply delete the configuration file in config/config.ini.php.
When you visit Piwik, it will trigger the Piwik installation process.
If you install Piwik specifying an existing database containing Piwik data, the installation process will automatically detect that the Piwik tables already exist. You will be able to choose to either keep your existing data, or delete the tables and start from a clean database.[/i]
Deleted all previous Piwik files on server for to start 1.10.1 again from the beginning, downloaded 1.10.1 again, uploaded by webhost web based upload process to server (eg it is not FTP to do binary etc) , extracted files to same folder it has been in for years, went to same url i always go to, and got and error:
[an error occurred while processing this directive]
Tried putting .htaccess files from Piwik backup that worked (my webhost puts those in ) …but they appear to be everywhere , so not sure i got all of them but for sure they are in config, and main folders, but nothing …
So, don’t want to do this but guess i will backup db and go to fresh db and see if totally new install of 1.10.1 will work … have managed to keep one db for past nearly 3 years! Don’t want to split stats … but seems like only option with 1.10.1?
Ok, tried totally new install iwth 1.10.1, new db and new files, and still getting error:
[an error occurred while processing this directive]
In case you’re still investigating: I’ve had the same problem after upgrading to the latest version of piwik. After the updates no visits where count anymore. After spending days in searching and debugging piwik source I found out that during the update a required field was not created. So check your table “piwik_log_visit” for the field “visit_total_searches” (SmallInt 5) and create it if its not there. After that you should have visitors again.
I hope this helps anybody, I would have given my pants for that hint a couple of days ago…
I have the same problem and found the problem source (but no fix yet!).
Yesterday at 00.45 my GeoIP database got updated. After that no visitors are being tracked. I found the problem in the php loging
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 2 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 3 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 4 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 5 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 0 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 1 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 2 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 3 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 4 in \libs\MaxMindGeoIP\geoip.inc on line 627
[07-Feb-2013 09:21:09 UTC] PHP Notice: Uninitialized string offset: 5 in \libs\MaxMindGeoIP\geoip.inc on line 627
And when I go to the geoplugin config page I get a page with this
There is an error. Please report the message (Piwik 1.10.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).
Notice: Uninitialized string offset: 0 in \libs\MaxMindGeoIP\geoip.inc on line 627
Backtrace -->
#0 Piwik_ErrorHandler(…) called at [\libs\MaxMindGeoIP\geoip.inc:627] #1 _geoip_seek_country(…) called at [\libs\MaxMindGeoIP\geoip.inc:672] #2 _get_org(…) called at [\libs\MaxMindGeoIP\geoip.inc:694] #3 geoip_name_by_addr(…) called at [\libs\MaxMindGeoIP\geoip.inc:698] #4 geoip_org_by_addr(…) called at [\plugins\UserCountry\LocationProvider\GeoIp\Php.php:149] #5 Piwik_UserCountry_LocationProvider_GeoIp_Php->getLocation(…) called at [\plugins\UserCountry\LocationProvider\GeoIp.php:87] #6 Piwik_UserCountry_LocationProvider_GeoIp->isWorking(…) called at [\plugins\UserCountry\LocationProvider\GeoIp\Php.php:201] #7 Piwik_UserCountry_LocationProvider_GeoIp_Php->isWorking(…) called at [\plugins\UserCountry\LocationProvider.php:227] #8 Piwik_UserCountry_LocationProvider::getAllProviderInfo(…) called at [\plugins\UserCountry\Controller.php:40] #9 Piwik_UserCountry_Controller->adminIndex(…) called at [:] #10 call_user_func_array(…) called at [\core\FrontController.php:138] #11 Piwik_FrontController->dispatch(…) called at [\index.php:53]