nette / tracy

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.
https://tracy.nette.org
Other
1.76k stars 218 forks source link

Nette Tracy 2.9.0 - Warning #527

Closed Dvorak-Stepan closed 2 years ago

Dvorak-Stepan commented 2 years ago

After updating Nette Tracy to version 2.9.0, a warning is displayed: Warning: is_dir(): open_basedir restriction in effect. File(/data/www/11496/tmp) is not within the allowed path(s): (/data/www/11496/off-limits_cz) in phar:///data/www/11496/off-limits_cz/www/pluginy/tracy.phar/Tracy/Debugger/Debugger.php on line 489

MartinMystikJonas commented 2 years ago

This seems like Tracy wants to use some default tmp dir for session storage but your hosting restricts access there. You would have to use Debugger::setSessionStorage(new FileSession($pathToAccessibleTmpDir))