Widget's errors


(jamartinez) #1

Hello friends, I try to look the stats of one of my sites, but I got the following error in each one of my widgets:

Fatal error: Maximum execution time of 30 seconds exceeded in D:\santos\sitios\estadisticas\libs\Zend\Session.php on line 374

I’m logged in with my super user, I already see the stats of another sites, but this one, never worked, since I installed at the html files.

Anybody has got this error too?, how could I fix it?.

Thank you in advance.


(vipsoft) #2

Obviously, you could increase the max_execution_time in php.ini.

You can improve performance by cron-based archiving (i.e., disable the browser triggered archiving).

You could also increase the max number of mysql connections, and create a bootstrap.php file in your Piwik folder containing:

<?php
// PIWIK_ENABLE_SESSION_START
// - Allows dashboard to parallel load widgets increasing responsiveness
// - Note: requires more concurrent mysql connections (see my.cnf's max_connections)
// - default is enabled; set to 0 to disable
define('PIWIK_ENABLE_SESSION_START', 0);