nZEDb

nZEDb => tmux Scripts => Topic started by: Komorebi on 2015-02-21, 05:39:50 am

Title: tmux php fatal error for nzedb.log - permissions issue - issue raised
Post by: Komorebi on 2015-02-21, 05:39:50 am
Hello,

Based on a pull on the 20/02/2015.

I had this issue with logging turned on, I have raised it as an issue on GitHub as I only made the sympton go away not the underlying cause.
I hope it helps.

https://github.com/nZEDb/nZEDb/issues/1598 (https://github.com/nZEDb/nZEDb/issues/1598)

Code: [Select]
"PHP Fatal error: Uncaught exception 'LoggerException' with message 'Unable to open log file /var/www/nZEDb/resources/logs/nzedb.log' in /var/www/nZEDb/nzedb/controllers/Logger.php:456
Stack trace
#0 /var/www/nZEDb/nzedb/controllers/Logger.php(410) : Logger->openFile()
#1 /var/www/nZEDb/nzedb/controllers/Logger.php(200) : Logger->setlogFile()
#2 /var/www/nZEDb/nzedb/controllers/processing/PostProcess.php(95) : Logger->__construct(Array)
#3 /var/www/nZEDb/misc/update/nix/tmux/bin/groupfixrelnames.php(139) : nzedb\processing\PostProcess_>__construct(Array)
#4 {main}
thrown in /var/www/nZEDb/nzedb/controllers/Logger.php on line 456

I found reference to the path changing here, but it does not relate to the above.

http://forums.nzedb.com/index.php?topic=1718.msg10135#msg10135 (http://forums.nzedb.com/index.php?topic=1718.msg10135#msg10135)