Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Missing a slash in plugin manager

$
0
0

@dennish wrote:

I get lots of warnings/errors like this

/var/www/clients/client1/web5/web/core/Plugin/Manager.php(451):
Warning - is_dir(): open_basedir restriction in effect. File(/var/www/clients/client1/web5/webplugins/ExamplePluginTemplate) is not within the allowed path(s):

there should be a slash between web and plugins, web/plugins instead of webplugins

line 451
$corePluginsDir = PIWIK_INCLUDE_PATH . ‘plugins/’ . $pluginName;
it starts working if I change it to
$corePluginsDir = PIWIK_INCLUDE_PATH . ‘/plugins/’ . $pluginName;
but that doesn’t seem like a sustainable solution

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles