2013-04-10 81 views
3

我試圖創建與OpenX的2.8.10 AdServe一個新的視頻廣告,但我得到以下錯誤:OpenX的2.8.10視頻廣告

PEAR Error 

MDB2 Error: syntax error 
_doQuery: [Error message: Could not execute statement] 
[Last executed query: CREATE TABLE banner_vast_element_seq (id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (id)) TYPE=MYISAM] 
[Native code: 1064] 
[Native message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MYISAM' at line 1] 



PEAR Error 

MDB2 Error: syntax error 
[Error message: on demand sequence banner_vast_element could not be created] 



PEAR Error 

DB_DataObject Error: [mdb2_error: message="MDB2 Error: syntax error" code=-2 mode=callback callback=pearErrorHandler prefix="" info="[Error message: on demand sequence banner_vast_element could not be created] "] 

任何解決方案?我如何知道哪些PHP類出現了錯誤(當我將TYPE=MyISAM更改爲ENGINE=MyISAM時,它可以工作)。

回答

3

該文件是/lib/pear/MDB2/Driver/Manager/mysql.php。在線842上,將TYPE=更改爲ENGINE=。這個問題不是PHP問題。

+0

如何知道erros是在這個文件中?這是爲了知道將來的錯誤。你節省了我的一週! – Aitul 2013-04-11 07:04:18