2016-10-18

Modx Evolution 「リソースを投稿」でエラー

《 トラブル内容 》
Modx Evolution で「リソースを投稿(新しいページ)」ができない。



以下のような MODX Parse Error が出力される。




《 解決方法 》
「グローバル設定」の一部を変更する。
グローバル設定 => フレンドリーURL タブ => エイリアス自動生成 の設定を変更する。

設定内容は以下の通り。

numbering in each folder => pagetitle または 無効 に設定




《 エラー内容 テキスト 》

« MODX Parse Error »

MODX encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Got error 'this version of PCRE is compiled without UTF support at offset 0' from regexp »

SELECT MAX(cast(alias as SIGNED)) FROM `hogehoge.jp`.`modx_site_content` WHERE id<>'0' AND parent='0' AND alias REGEXP '^[0-9]+$'