@Robberto wrote:
Hello,
In an attempt to backup our installation of Piwik and the analytics data, I downloaded the PHP files and a database dump. In general, it works. I can log in and I can access certain pages, such as administration. I can see the websites and I can add new ones.
However, when I try to access the dashboard, the widgets don't load and every widget shows the following error: SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'type'.
Other dashboard pages show the following error:
'Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Piwik administrator for assistance.'The 'All Websites' page shows the following error:
ERROR: Failed to get data from API: SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'type'
#0 C:\inetpub\wwwroot\piwik\libs\Zend\Db\Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\inetpub\wwwroot\piwik\libs\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 C:\inetpub\wwwroot\piwik\libs\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('CREATE TABLE pi...', Array)
#3 C:\inetpub\wwwroot\piwik\core\Db\Adapter\Pdo\Mysql.php(233): Zend_Db_Adapter_Pdo_Abstract->query('CREATE TABLE pi...', Array)
#4 C:\inetpub\wwwroot\piwik\core\DataAccess\Model.php(230): Piwik\Db\Adapter\Pdo\Mysql->query('CREATE TABLE pi...')
#5 C:\inetpub\wwwroot\piwik\core\DataAccess\ArchiveTableCreator.php(51): Piwik\DataAccess\Model->createArchiveTable('piwik_archive_n...', 'piwik_archive_n...')
#6 C:\inetpub\wwwroot\piwik\core\DataAccess\ArchiveTableCreator.php(39): Piwik\DataAccess\ArchiveTableCreator::createArchiveTablesIfAbsent('piwik_archive_n...', 'archive_numeric')
#7 C:\inetpub\wwwroot\piwik\core\DataAccess\ArchiveTableCreator.php(25): Piwik\DataAccess\ArchiveTableCreator::getTable(Object(Piwik\Date), 'numeric')
#8 C:\inetpub\wwwroot\piwik\core\DataAccess\ArchiveSelector.php(56): Piwik\DataAccess\ArchiveTableCreator::getNumericTable(Object(Piwik\Date))
#9 C:\inetpub\wwwroot\piwik\core\ArchiveProcessor\Loader.php(170): Piwik\DataAccess\ArchiveSelector::getArchiveIdAndVisits(Object(Piwik\ArchiveProcessor\Parameters), 1454367599)
#10 C:\inetpub\wwwroot\piwik\core\ArchiveProcessor\Loader.php(66): Piwik\ArchiveProcessor\Loader- >loadExistingArchiveIdFromDb()
#11 C:\inetpub\wwwroot\piwik\core\Archive.php(894): Piwik\ArchiveProcessor\Loader- >prepareArchive('VisitsSummary')
#12 C:\inetpub\wwwroot\piwik\core\Archive.php(708): Piwik\Archive->prepareArchive(Array, Object(Piwik\Site), Object(Piwik\Period\Day))
#13 C:\inetpub\wwwroot\piwik\core\Archive.php(660): Piwik\Archive->cacheArchiveIdsAfterLaunching(Array, Array)
#14 C:\inetpub\wwwroot\piwik\core\Archive.php(598): Piwik\Archive->getArchiveIds(Array)
#15 C:\inetpub\wwwroot\piwik\core\Archive.php(324): Piwik\Archive->get(Array, 'numeric')
#16 C:\inetpub\wwwroot\piwik\plugins\VisitsSummary\API.php(35): Piwik\Archive->getDataTableFromNumeric(Array)
#17 [internal function]: Piwik\Plugins\VisitsSummary\API->get('1', 'day', '2016-02-01,2016...', false, Array)
#18 C:\inetpub\wwwroot\piwik\core\API\Proxy.php(211): call_user_func_array(Array, Array)
#19 C:\inetpub\wwwroot\piwik\plugins\API\API.php(405): Piwik\API\Proxy->call('\\Piwik\\Plugins\\...', 'get', Array)
#20 [internal function]: Piwik\Plugins\API\API->get('1', 'day', '2016-02-01,2016...', false, Array)
#21 C:\inetpub\wwwroot\piwik\core\API\Proxy.php(211): call_user_func_array(Array, Array)
#22 C:\inetpub\wwwroot\piwik\core\Plugin\Visualization.php(259): Piwik\API\Proxy->call('\\Piwik\\Plugins\\...', 'get', Array)
#23 C:\inetpub\wwwroot\piwik\core\Plugin\Visualization.php(180): Piwik\Plugin\Visualization->loadDataTableFromAPI()
#24 C:\inetpub\wwwroot\piwik\core\Plugin\ViewDataTable.php(414): Piwik\Plugin\Visualization->buildView()
#25 C:\inetpub\wwwroot\piwik\core\Plugin\Controller.php(248): Piwik\Plugin\ViewDataTable->render()
#26 C:\inetpub\wwwroot\piwik\plugins\VisitsSummary\Controller.php(126): Piwik\Plugin\Controller->renderView(Object(Piwik\Plugins\CoreVisualizations\Visualizations\JqplotGraph\Evolution))
#27 C:\inetpub\wwwroot\piwik\plugins\VisitsSummary\Controller.php(42): Piwik\Plugins\VisitsSummary\Controller- >getEvolutionGraph(false, Array, 'getIndexGraph')
#28 [internal function]: Piwik\Plugins\VisitsSummary\Controller->index()
#29 C:\inetpub\wwwroot\piwik\core\FrontController.php(494): call_user_func_array(Array, Array)
#30 C:\inetpub\wwwroot\piwik\core\FrontController.php(94): Piwik\FrontController->doDispatch('VisitsSummary', 'index', Array)
#31 C:\inetpub\wwwroot\piwik\core\dispatch.php(34): Piwik\FrontController->dispatch()
#32 C:\inetpub\wwwroot\piwik\index.php(27): require_once('C:\\inetpub\\wwwr...')
#33 {main}This is on IIS 8.5 with MySQL 5.7 and PHP 7.0.0. How can I solve this issue?
Edit: just for fun, I changed core/Db/Settings.php to always make getEngine return 'InnoDB'. That fixes that problem, but results in the following message when I try to access the visits over time widget:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
Other widgets give the generic 'Oops, there was a problem during the request' message.
Thanks in advance,
Robbert
Posts: 3
Participants: 2