open_basedir: File(/plugins/Zeitgeist/stylesheets/less/_colors.less.less) is not within the allowed path(s)


#1

Piwik 2.3.0, not noticed in the previous stable
PHP 5.5.12/Apache/fcgi/Win32

If I echo PIWIK_DOCUMENT_ROOT and PIWIK_INCLUDE_PATH in /index.php, they contain the right folder.


Warning:is_file(): open_basedir restriction in effect. File(/plugins/Zeitgeist/stylesheets/less/_colors.less.less) is not within the allowed path(s): (C:\Projects\something\WebRoot\analytics) in C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php on line 82

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 is_file(…) called at [C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php:82]
#2 lessc->fileExists(…) called at [C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php:73]
#3 lessc->findImport(…) called at [C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php:107]
#4 lessc->tryImport(…) called at [C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php:753]
#5 lessc->compileProp(…) called at [C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php:284]
#6 lessc->compileProps(…) called at [C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php:278]
#7 lessc->compileRoot(…) called at [C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php:193]
#8 lessc->compileBlock(…) called at [C:\Projects\something\WebRoot\analytics\vendor\leafo\lessphp\lessc.inc.php:1807]
#9 lessc->compile(…) called at [C:\Projects\something\WebRoot\analytics\core\AssetManager\UIAssetMerger\StylesheetUIAssetMerger.php:34]
#10 Piwik\AssetManager\UIAssetMerger\StylesheetUIAssetMerger->getMergedAssets(…) called at [C:\Projects\something\WebRoot\analytics\core\AssetManager\UIAssetMerger.php:54]
#11 Piwik\AssetManager\UIAssetMerger->generateFile(…) called at [C:\Projects\something\WebRoot\analytics\core\AssetManager.php:169]
#12 Piwik\AssetManager->getMergedStylesheet(…) called at [C:\Projects\something\WebRoot\analytics\core\View.php:261]
#13 Piwik\View->applyFilter_cacheBuster(…) called at [C:\Projects\something\WebRoot\analytics\core\View.php:246]
#14 Piwik\View->renderTwigTemplate(…) called at [C:\Projects\something\WebRoot\analytics\core\View.php:240]
#15 Piwik\View->render(…) called at [C:\Projects\something\WebRoot\analytics\plugins\LanguagesManager\LanguagesManager.php:96]
#16 Piwik\Plugins\LanguagesManager\LanguagesManager->getLanguagesSelector(…) called at [C:\Projects\something\WebRoot\analytics\plugins\LanguagesManager\LanguagesManager.php:72]
#17 Piwik\Plugins\LanguagesManager\LanguagesManager->addLanguagesManagerToOtherTopBar(…) called at [:]
#18 call_user_func_array(…) called at [C:\Projects\something\WebRoot\analytics\core\EventDispatcher.php:98]
#19 Piwik\EventDispatcher->postEvent(…) called at [C:\Projects\something\WebRoot\analytics\core\Piwik.php:766]
#20 Piwik\Piwik::postEvent(…) called at [C:\Projects\something\WebRoot\analytics\core\Twig.php:147]
#21 Piwik\Twig->Piwik{closure}(…) called at [:]
#22 call_user_func_array(…) called at [C:\Projects\something\WebRoot\analytics\tmp\templates_c\4f\31\4316dfb1cc71912000d93e502d017c4b023f6086810a721f281cfa594620.php:34]
#23 __TwigTemplate_4f314316dfb1cc71912000d93e502d017c4b023f6086810a721f281cfa594620->block_content(…) called at [C:\Projects\something\WebRoot\analytics\vendor\twig\twig\lib\Twig\Template.php:144]
#24 Twig_Template->displayBlock(…) called at [C:\Projects\something\WebRoot\analytics\tmp\templates_c\44\f7\36a37bd690ffcd09ec5ae3f799ea68aad0ec7c17669d478dce0755596376.php:67]
#25 __TwigTemplate_44f736a37bd690ffcd09ec5ae3f799ea68aad0ec7c17669d478dce0755596376->doDisplay(…) called at [C:\Projects\something\WebRoot\analytics\vendor\twig\twig\lib\Twig\Template.php:278]
#26 Twig_Template->displayWithErrorHandling(…) called at [C:\Projects\something\WebRoot\analytics\vendor\twig\twig\lib\Twig\Template.php:252]
#27 Twig_Template->display(…) called at [C:\Projects\something\WebRoot\analytics\tmp\templates_c\4f\31\4316dfb1cc71912000d93e502d017c4b023f6086810a721f281cfa594620.php:24]
#28 __TwigTemplate_4f314316dfb1cc71912000d93e502d017c4b023f6086810a721f281cfa594620->doDisplay(…) called at [C:\Projects\something\WebRoot\analytics\vendor\twig\twig\lib\Twig\Template.php:278]
#29 Twig_Template->displayWithErrorHandling(…) called at [C:\Projects\something\WebRoot\analytics\vendor\twig\twig\lib\Twig\Template.php:252]
#30 Twig_Template->display(…) called at [C:\Projects\something\WebRoot\analytics\vendor\twig\twig\lib\Twig\Template.php:263]
#31 Twig_Template->render(…) called at [C:\Projects\something\WebRoot\analytics\vendor\twig\twig\lib\Twig\Environment.php:292]
#32 Twig_Environment->render(…) called at [C:\Projects\something\WebRoot\analytics\core\View.php:245]
#33 Piwik\View->renderTwigTemplate(…) called at [C:\Projects\something\WebRoot\analytics\core\View.php:240]
#34 Piwik\View->render(…) called at [C:\Projects\something\WebRoot\analytics\plugins\CoreUpdater\Controller.php:346]
#35 Piwik\Plugins\CoreUpdater\Controller->runUpdaterAndExit(…) called at [C:\Projects\something\WebRoot\analytics\plugins\CoreUpdater\Controller.php:310]
#36 Piwik\Plugins\CoreUpdater\Controller->index(…) called at [:]
#37 call_user_func_array(…) called at [C:\Projects\something\WebRoot\analytics\core\FrontController.php:500]
#38 Piwik\FrontController->doDispatch(…) called at [C:\Projects\something\WebRoot\analytics\core\FrontController.php:85]
#39 Piwik\FrontController->dispatch(…) called at [C:\Projects\something\WebRoot\analytics\core\dispatch.php:34]
#40 require_once(…) called at [C:\Projects\something\WebRoot\analytics\index.php:47]


(Matthieu Aubry) #2

Please could you try with 2.4.0 beta which is available via: I would like to test early beta and RC releases, how do I enable automatic updates to use these development versions? - Analytics Platform - Matomo ?

I believe this bug may be fixed in our last beta (which works well btw!) so would like to hear confirmation from you


#3

It manages to somehow disappeared without touching anything.