@anonymous-piwik-user opened this issue on May 8th 2008

Hi folks,

I did not find a corresponding ticket, so I opened a new one. After installing Piwik without error messages I switched to the login page and got the following:

Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 577776 is not allowed to access /tmp owned by uid 0 in /SOME/FOLDERS/ARE/DISPLAYED/HERE/piwik/modules/Piwik.php on line 59

Backtrace -->
#0 Piwik_ErrorHandler(2, realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 577776 is not allowed to access /tmp owned by uid 0, /SOME/FOLDERS/ARE/DISPLAYED/HERE/piwik/modules/Piwik.php, 59, Array ([path] => /tmp/templates_c,[mode] => 493,[denyAccess] => 1))
#1 realpath(/tmp) called at [/SOME/FOLDERS/ARE/DISPLAYED/HERE/piwik/modules/Piwik.php:59]
#2 Piwik::mkdir(tmp/templates_c) called at [/SOME/FOLDERS/ARE/DISPLAYED/HERE/piwik/modules/Piwik.php:959]
#3 Piwik::install() called at [/SOMEFOLDERS/ARE/DISPLAYED/HERE/piwik/modules/FrontController.php:323]
#4 Piwik_FrontController->init() called at [/SOME/FOLDERS/ARE/DISPLAYED/HERE/piwik/index.php:51]

Any hints / ideas?

Thanks!

@anonymous-piwik-user commented on May 23rd 2008

I can't reproduce the error yet. Can please post the values of the following php configuration parameters safe_mode, safe_mode_exec_dir, safe_mode_gid and safe_mode_include_dir? You can find the values, when you create an php-file with just "<?php phpinfo(); ?>" in it and open it in your browser.

@mattab commented on July 27th 2008

Piwik is not compatible with SAFE_MODE. If you want it to be, please send a patch :)

This issue was closed on July 27th 2008
Powered by GitHub Issue Mirror