0

この仕様でWAMPサーバーにmodx 1.0.5をインストールしようとしています

  1. PHP v5.2.11
  2. MySQL v5.5.8
  3. OSウィン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 バージョンを追加することを除いて、大きな変更はありません。

前もって感謝します

4

1 に答える 1

2

クイック検索から、TYPEサポートされなくなり、非常に長い間サポートされていません。そのはずENGINE=MyISAM

http://dev.mysql.com/doc/refman/5.5/en/show-create-table.html

なぜこれがインストーラーの一部なのかはまだわかっていません。

アップデート

バグ#4156を提出しました

それまでの間、この回避策を試すことができます - http://modxcms.com/forums/index.php?topic=60964.new;topicseen#new

于 2011-03-24T04:16:36.077 に答える