@anonymous-piwik-user opened this Issue on January 10th 2011

There is an error. Please report the message and full backtrace in the Piwik forums.

Warning: fileperms() href='function.fileperms'>function.fileperms</a>: stat failed for 2;/var/tmp in /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Session/save_path.php on line 69

Backtrace -->
#0 Piwik_ErrorHandler(2, fileperms() href='function.fileperms'>function.fileperms</a>: stat failed for 2;/var/tmp, /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Session/save_path.php, 69, Array ())#1 fileperms(2;/var/tmp) called at [PhpSecInfo_Test_Session_Save_Path->_execTest() called at [/mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Test.php:182](/mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Session/save_path.php:69]#2)#3 PhpSecInfo_Test->test() called at [PhpSecInfo->runTests() called at [/mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php:476](/mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php:279]#4)#5 PhpSecInfo->loadAndRun() called at [Piwik_SecurityInfo_Controller->index()#7 call_user_func_array(Array ([0](/mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/Controller.php:28]#6) => Piwik_SecurityInfo_Controller Object ([=> SecurityInfo, => 2011-01-10,[=> Piwik_Date Object ( => 1294661963,[=> UTC), => 1,[=> Piwik_Site Object ( => 1)),[=> index), Array ()) called at /mnt/web6/10/34/51062934/htdocs/piwik/core/FrontController.php:125#8 Piwik_FrontController->dispatch() called at [/mnt/web6/10/34/51062934/htdocs/piwik/index.php:60]

@robocoder commented on January 10th 2011 Contributor

Yes, the test doesn't handle save_path's that use the subdirectory feature, e.g., "2;/var/tmp". http://ca3.php.net/manual/en/session.configuration.php#ini.session.save-path

This is an upstream bug. I don't believe it's a security issue, but will leave ticket marked as sensitive at your request.

@robocoder commented on January 10th 2011 Contributor

(In [3693]) fixes #1993

This Issue was closed on February 5th 2011
Powered by GitHub Issue Mirror