2011-01-22 45 views
0

我试图将我的旧phpBB论坛数据库移到我的新服务器。所以,当我donwloaded .sql文件我尝试上传到一个新的数据库通过phpMyAdmin面板。这里是我收到的错误:错误:未知的标点符号字符串@ 7

<pre>Error 

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem 

ERROR: Unknown Punctuation String @ 7 
STR: /> 
SQL: 

<br /> 
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at webiste/includes/acp/acp_database.php:593) in <b>website/includes/functions.php</b> on line <b>3582</b><br /> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>General Error</title><style type="text/css"> 
/* <![CDATA[ */ 
* { margin: 0; 


SQL query: 


Warning: Cannot modify header information - headers already sent by (output started at /homepages/24/d172572039/htdocs/GhostsofOnyx/includes/acp/acp_database.php:593) in /homepages/24/d172572039/htdocs/GhostsofOnyx/includes/functions.php on line 3582<code> 

我需要更改或修复以便能够完全上传文件?感谢所有的帮助!

回答

1

在第7行,你有

* { margin: 0;

;符号描绘了一个SQL查询的结尾。显然,在这种情况下,如果这是查询的结束,服务器不知道该怎么做,因此出现错误。

您需要指定一个新的分隔符(我经常使用|),以便phpMyAdmin知道脚本何时完成。