我已经使用 wordpress 开发了一个网站。它在本地机器(windows xp)和测试服务器(ubuntu)上运行良好。但是在实时服务器上,它给出的错误如下所示。在此之前和这些错误之后有 2 个空白行。在测试服务器上,我注意到启动中有两个空白行,但是它运行良好。
我尝试删除 header.php、index.php 和其他一些文件中的一些空白行,但没有成功。
实时站点 URL 是http://mbsocial.bsslsites.com
<br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/bsslsite/public_html/mbsocial/wp-includes/functions.php:4954) in <b>/home/bsslsite/public_html/mbsocial/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-constants.php</b> on line <b>16</b><br />
<br />
<b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/bsslsite/public_html/mbsocial/wp-includes/functions.php:4954) in <b>/home/bsslsite/public_html/mbsocial/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-constants.php</b> on line <b>16</b><br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />