我尝试使用此规范在我的 WAMP 服务器上安装 modx 1.0.5
- PHP v5.2.11
- MySQL v5.5.8
- 操作系统赢 7
这是我得到的错误
Install results
Setup will now attempt to setup the database:
Creating connection to the database: OK!
Selecting database `modx105`: OK!
Checking table prefix `modx_`: OK!
Creating database tables: Database Alerts!
MODx setup couldn't install/alter some tables inside the selected database.
The following errors had occurred during installation
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 COMMENT='Contains data about active users.'' at line 9 during the execution of SQL statement CREATE TABLE IF NOT EXISTS `modx_active_users` ( `internalKey` int(9) NOT NULL default '0', `username` varchar(50) NOT NULL default '', `lasthit` int(20) NOT NULL default '0', `id` int(10) default NULL, `action` varchar(10) NOT NULL default '', `ip` varchar(20) NOT NULL default '', PRIMARY KEY (`internalKey`) ) TYPE=MyISAM COMMENT='Contains data about active users.'.
我没有把所有的信息错误,因为它太长了。
这对我来说似乎很奇怪,因为我的朋友在 XAMPP 服务器上安装了它并且安装运行正常。我的 WAMP 服务器的某些配置是否可能导致此安装失败?
由于我的 WAMP 配置没有太大变化,除了在 Apache 中启用 rewriteEngine 并添加 PHP 5.2.11 版本
先感谢您