OpenX 2.8.10视频广告

时间:2013-04-10 15:43:09

标签: ads myisam openx

我正在尝试使用OpenX 2.8.10 AdServe制作新的视频广告,但收到以下错误:

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时,它可以正常工作)。

1 个答案:

答案 0 :(得分:3)

该文件为/lib/pear/MDB2/Driver/Manager/mysql.php。在第842行,将TYPE=更改为ENGINE=

PS:这不是PHP问题。