Piwik unusable after upgrade to 2.x


#1

After upgrading from 1.12 to 2.0.2 I just got a white screen, with errors:

Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/share/php/Log.php) is not within the allowed path(s): (/var/www/web110415/) in /var/www/web110415/html/praxPiwik/core/Error.php on line 13

Warning: require_once(/usr/share/php/Log.php) [function.require-once]: failed to open stream: Operation not permitted in /var/www/web110415/html/praxPiwik/core/Error.php on line 13

Fatal error: require_once() [function.require]: Failed opening required ‘Log.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/web110415/html/praxPiwik/core/Error.php on line 13

I couldn’t figure out what the problem is. Piwik hs been working well since more than a year with regular updates. Very bad the new release is such a desaster.

Then I installed 2.03b4. Site seems to work in principle but with the following error. Please note I don’t have root access to the machine and I won’t be able to change memory size (currently 256MB) or Apache settings.

There is an error. Please report the message (Piwik 2.0.3-b4) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined index: enable_load_data_infile in /var/www/web110415/html/praxPiwik/core/Db/BatchInsert.php on line 67

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [/var/www/web110415/html/praxPiwik/core/Db/BatchInsert.php:67]
#1 Piwik\Db\BatchInsert::tableInsertBatch(…) called at [/var/www/web110415/html/praxPiwik/core/DataAccess/ArchiveWriter.php:280]
#2 Piwik\DataAccess\ArchiveWriter->insertBulkRecords(…) called at [/var/www/web110415/html/praxPiwik/core/DataAccess/ArchiveWriter.php:97]
#3 Piwik\DataAccess\ArchiveWriter->insertBlobRecord(…) called at [/var/www/web110415/html/praxPiwik/core/ArchiveProcessor.php:313]
#4 Piwik\ArchiveProcessor->insertBlobRecord(…) called at [/var/www/web110415/html/praxPiwik/core/ArchiveProcessor.php:211]
#5 Piwik\ArchiveProcessor->aggregateDataTableRecords(…) called at [/var/www/web110415/html/praxPiwik/plugins/Referrers/Archiver.php:223]
#6 Piwik\Plugins\Referrers\Archiver->aggregateMultipleReports(…) called at [/var/www/web110415/html/praxPiwik/core/ArchiveProcessor/PluginsArchiver.php:97]
#7 Piwik\ArchiveProcessor\PluginsArchiver->callAggregateAllPlugins(…) called at [/var/www/web110415/html/praxPiwik/core/ArchiveProcessor/Loader.php:120]
#8 Piwik\ArchiveProcessor\Loader->prepareAllPluginsArchive(…) called at [/var/www/web110415/html/praxPiwik/core/ArchiveProcessor/Loader.php:74]
#9 Piwik\ArchiveProcessor\Loader->prepareArchive(…) called at [/var/www/web110415/html/praxPiwik/core/Archive.php:793]
#10 Piwik\Archive->prepareArchive(…) called at [/var/www/web110415/html/praxPiwik/core/Archive.php:612]
#11 Piwik\Archive->cacheArchiveIdsAfterLaunching(…) called at [/var/www/web110415/html/praxPiwik/core/Archive.php:554]
#12 Piwik\Archive->getArchiveIds(…) called at [/var/www/web110415/html/praxPiwik/core/Archive.php:494]
#13 Piwik\Archive->get(…) called at [/var/www/web110415/html/praxPiwik/core/Archive.php:370]
#14 Piwik\Archive->getDataTable(…) called at [/var/www/web110415/html/praxPiwik/core/Archive.php:456]
#15 Piwik\Archive::getDataTableFromArchive(…) called at [/var/www/web110415/html/praxPiwik/plugins/Actions/API.php:126]
#16 Piwik\Plugins\Actions\API->getPageUrls(…) called at [:]
#17 call_user_func_array(…) called at [/var/www/web110415/html/praxPiwik/core/API/Proxy.php:213]
#18 Piwik\API\Proxy->call(…) called at [/var/www/web110415/html/praxPiwik/core/API/Request.php:220]
#19 Piwik\API\Request->process(…) called at [/var/www/web110415/html/praxPiwik/core/ViewDataTable/Request.php:50]
#20 Piwik\ViewDataTable\Request->loadDataTableFromAPI(…) called at [/var/www/web110415/html/praxPiwik/core/Plugin/ViewDataTable.php:275]
#21 Piwik\Plugin\ViewDataTable->loadDataTableFromAPI(…) called at [/var/www/web110415/html/praxPiwik/core/Plugin/Visualization.php:168]
#22 Piwik\Plugin\Visualization->buildView(…) called at [/var/www/web110415/html/praxPiwik/core/Plugin/ViewDataTable.php:362]
#23 Piwik\Plugin\ViewDataTable->render(…) called at [/var/www/web110415/html/praxPiwik/core/Plugin/Controller.php:230]
#24 Piwik\Plugin\Controller->renderReport(…) called at [/var/www/web110415/html/praxPiwik/plugins/Actions/Controller.php:92]
#25 Piwik\Plugins\Actions\Controller->getPageUrls(…) called at [:]
#26 call_user_func_array(…) called at [/var/www/web110415/html/praxPiwik/core/FrontController.php:117]
#27 Piwik\FrontController->dispatch(…) called at [/var/www/web110415/html/praxPiwik/index.php:62]


(Matthieu Aubry) #2

Please check that your global.ini.php file overwrote your existing config/global ?