Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Uncaught exception 'Zend_Log_Exception' with message file.log cannot be opened with mode “a” #299

Closed
mushroom11s opened this issue Jan 2, 2019 · 1 comment

Comments

@mushroom11s
Copy link

mushroom11s commented Jan 2, 2019

I don't know how to use php, I am developing java.I thought about this error when I deployed a PHP project.

Fatal error: Uncaught exception 'Zend_Log_Exception' with message '"/home/hystream-apps-test/TOMS/application/../data/log/Ec_Error.log" cannot be opened with mode "a"' in /home/hystream-apps-test/TOMS/libs/Zend/Log/Writer/Stream.php:81 Stack trace: #0 /home/hystream-apps-test/TOMS/libs/Ec/Bootstrap.php(36): Zend_Log_Writer_Stream->__construct('/home/hystream-...') #1 /home/hystream-apps-test/TOMS/libs/Zend/Application/Bootstrap/BootstrapAbstract.php(669): Bootstrap->_initLogging() #2 /home/hystream-apps-test/TOMS/libs/Zend/Application/Bootstrap/BootstrapAbstract.php(622): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('logging') #3 /home/hystream-apps-test/TOMS/libs/Zend/Application/Bootstrap/BootstrapAbstract.php(586): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL) #4 /home/hystream-apps-test/TOMS/libs/Zend/Application.php(362): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL) #5 /home/hystream-apps-test/TOMS/public/index.php(110): Zend_Application->bootstrap() #6 {main} thr in /home/hystream-apps-test/TOMS/libs/Zend/Log/Writer/Stream.php on line 81

@Ocramius
Copy link
Member

Ocramius commented Jan 2, 2019

Duplicate of zendframework/zend-log#95

@Ocramius Ocramius marked this as a duplicate of zendframework/zend-log#95 Jan 2, 2019
@Ocramius Ocramius closed this as completed Jan 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants