MODx 1.0.8J グループ管理でエラー  【解決済み】

質問全般・改善要望
返信する
mune3001
メンバー
メンバー
記事: 63
登録日時: 2010年5月08日(土) 16:58

MODx 1.0.8J グループ管理でエラー  【解決済み】

投稿記事 by mune3001 »

いつもお世話になっております。

デモサイトでも同様のエラーが出ましたので
ご報告いたします。


グループ管理機能を使用し
各種設定後
リソースの所属グループで【グループ制限なし(Public)】以外にチェックをつけ
保存するとエラーがでます。

« MODX Parse Error »

MODX encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - 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 'IN (1)' at line 1 »
SQL:UPDATE `demo_130301172010-1949`.`modx_site_content` SET `privatemgr`='1' WHERE IN (1)
Basic info
REQUEST_URI : /manager/index.php
Manager action : 5 - Saving resource
Referer : http://130301172010-1949.evo.demo.modx. ... ?a=27&id=1
User Agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22
IP : 127.0.0.2
Parser timing
MySQL : 0.0039 s (19 Requests)
PHP : 0.0061 s
Total : 0.0100 s

Backtrace

1 include_once("/home/demo/html/130301172010-194...")
manager/index.php on line 245
2 secureMgrDocument("/home/demo/html/130301172010-194...", "1")
manager/processors/save_content.processor.php on line 622
3 update("/home/demo/html/130301172010-194...", "1", "[+prefix+]site_content", "IN (1)")
manager/includes/secure_mgr_documents.inc.php on line 31
4 query("/home/demo/html/130301172010-194...", "1", "[+prefix+]site_content", "IN (1)", "UPDATE `demo_130301172010-1949`....")
manager/includes/extenders/dbapi.mysql.class.inc.php on line 248

対応方法などございましたらご教授ください。
アバター
yama
管理人
記事: 3236
登録日時: 2009年7月29日(水) 02:50

Re: MODx 1.0.8J グループ管理でエラー

投稿記事 by yama »

http://forum.modx.jp/viewtopic.php?f=19&t=1076
上記のパッチを上書きしてみると直ると思います。(すでにインストールしているのでinstallフォルダは不要です)
mune3001
メンバー
メンバー
記事: 63
登録日時: 2010年5月08日(土) 16:58

Re: MODx 1.0.8J グループ管理でエラー

投稿記事 by mune3001 »

>yama様

ご返答ありがとうございました。

パッチ見逃してまして申し訳ございませんでした。
無事解決いたしました。
返信する