Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$compile_dir error after update #832

Closed
anonymous-matomo-user opened this issue Jun 28, 2009 · 4 comments
Closed

$compile_dir error after update #832

anonymous-matomo-user opened this issue Jun 28, 2009 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@anonymous-matomo-user
Copy link

After the update to 0.4.1 (from 0.4) i get the following error if i try to go to my piwik homepage:

the $compile_dir '/var/www/web151/html/_statistik.trumpkin.de//var/www/web151/phptmp/templates_c' does not exist, or is not a directory.

Backtrace:
#0 /var/www/web151/html/_statistik.trumpkin.de/libs/Smarty/internals/core.write_compiled_resource.php(20): Piwik_Smarty->trigger_error('the $compile_di...', 256)
#1 /var/www/web151/html/_statistik.trumpkin.de/libs/Smarty/Smarty.class.php(1451): smarty_core_write_compiled_resource(Array, Object(Piwik_Smarty))
#2 /var/www/web151/html/_statistik.trumpkin.de/libs/Smarty/Smarty.class.php(1281): Smarty->_compile_resource('CoreUpdater/tem...', '/var/www/web151...')
#3 /var/www/web151/html/_statistik.trumpkin.de/core/View.php(127): Smarty->fetch('CoreUpdater/tem...')
#4 /var/www/web151/html/_statistik.trumpkin.de/plugins/CoreUpdater/Controller.php(174): Piwik_View->render()
#5 /var/www/web151/html/_statistik.trumpkin.de/plugins/CoreUpdater/Controller.php(141): Piwik_CoreUpdater_Controller->doWelcomeUpdates(Array)
#6 /var/www/web151/html/_statistik.trumpkin.de/core/Piwik.php(924): Piwik_CoreUpdater_Controller->runUpdaterAndExit(Object(Piwik_Updater), Array)
#7 /var/www/web151/html/_statistik.trumpkin.de/core/FrontController.php(211): Piwik::displayScreenForCoreAndPluginsUpdatesIfNecessary()
#8 /var/www/web151/html/_statistik.trumpkin.de/index.php(57): Piwik_FrontController->init()
#9 {main}

Ciao!
Stefan

@robocoder
Copy link
Contributor

For the record, what version of php?

@robocoder
Copy link
Contributor

Are you overriding the compile_dir setting?

@robocoder
Copy link
Contributor

compile_dir (and cache_dir) should be paths relative to the Piwik document root. I assume you changed:

compile_dir from "tmp/templates_c"
to: "/var/www/web151/phptmp/templates_c"

This should now be: "../../phptmp/templates_c"

@robocoder
Copy link
Contributor

Or apply the patch in [1261]. Your override should be in config.ini.php to avoid being overwritten.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 0.4.2 milestone Jul 8, 2014
@mattab mattab added the wontfix label Aug 3, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants