2011-01-22 42 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知道腳本何時完成。