迁移到新服务器后,电子邮件编程与crontab不发送更多,负责发送的脚本,返回此错误:
Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Session must be started before any output has been sent to the browser; output started in /srv/www/assystemps/public/index_cron.php/2' in /srv/www/assystemps/library/Zend/Session.php:443 Stack trace: #0 /srv/www/assystemps/library/Zend/Session/Namespace.php(143): Zend_Session::start(true) #1 /srv/www/assystemps/library/Zend/Auth/Storage/Session.php(87): Zend_Session_Namespace->__construct('Zend_Auth') #2 /srv/www/assystemps/library/Zend/Auth.php(91): Zend_Auth_Storage_Session->__construct() #3 /srv/www/assystemps/library/Zend/Auth.php(151): Zend_Auth->getStorage() #4 /srv/www/assystemps/application/AssystempsApplication.php(236): Zend_Auth->getIdentity() #5 /srv/www/assystemps/public/index_cron.php(121): AssystempsApplication->envoyerMailErreur(Object(Zend_Cache_Exception)) #6 {main} thrown in /srv/www/assystemps/library/Zend/Session.php on line 443