我正在将我的wordpress网站移至另一台服务器。无法修改标题信息 - 复制文件后php错误已经发送的标头
我刚刚复制了当前文件,并通过ftp将它们上载到新的主机中。
而现在当我试图访问的网站,然后我得到以下错误:
Warning: Cannot modify header information - headers already sent by (output started at D:\inetpub\vhosts\domain.co.uk\httpdocs\wp-content\plugins\contact-form-with-captcha\cfwc-main.php:473) in D:\inetpub\vhosts\domain.co.uk\httpdocs\wp-content\plugins\woocommerce\classes\class-wc-session-handler.php on line 63
Warning: Cannot modify header information - headers already sent by (output started at D:\inetpub\vhosts\domain.co.uk\httpdocs\wp-content\plugins\contact-form-with-captcha\cfwc-main.php:473) in D:\inetpub\vhosts\domain.co.uk\httpdocs\wp-includes\pluggable.php on line 875
我没有修改任何文件,我只是复制他们,因为他们是。 试图删除两个文件末尾的任何额外空格,但它没有帮助。
而且我打开文件cfwc-main.php它说问题出在哪里起源和删除尾随空格后?>现在我不能访问所有的网站和获取
The page isn't redirecting properly
错误。放回空格或键入新的空格可修复重定向错误。
但仍然出现标题问题。
怎么办?
我认为,我们需要看到'cfwc-main.php' ... – Raad 2014-09-26 09:50:48
@Raad加入'cfwc-main.php' – nickornotto 2014-09-26 10:00:22
源如果你只想让它工作,然后把'error_reporting(0);'放在脚本的顶部。 – Yang 2014-09-26 10:20:49