简体   繁体   中英

Zend framework redirection issue

My client moved a Zend application from another server and it has 2 errors in new server.

Error 1 - The login screen is loaded with below notice error.

Notice: Array to string conversion in /home/padcoser/public_html/Zend/Db/Adapter/Pdo/Abstract.php on line 75

Error 2 - Adter login it shows redirection error.

exception 'Zend_Controller_Response_Exception' with message 'Cannot send headers; headers already sent in /home/appdirectory/public_html/Zend/Db/Adapter/Pdo/Abstract.php, line 75' in /home/appdirectory/public_html/Zend/Controller/Response/Abstract.php:323

When I checked with forum, they suggest to remove unwanted lines in php file after closing PHP tag. But it does not fix.

Please let me know your comments.

As per Tim's comments, I fixed the error #1 by downgrading the PHP version 5.4 to 5.3 and it is working fine now.

Thanks for all your comments.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM