DHAの利用について 【解決済み】
Posted: 2013年9月05日(木) 01:30
DHA https://github.com/yama/dha をインストールしたところ、
MODXリソース投稿画面で
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 ') ORDER BY editedon desc' at line 1 »
SQL:SELECT * FROM `modx`.`modx2_approval_logs` WHERE id='6' AND ( ) ORDER BY editedon desc
が表示されました。
DAAAHに書かれてあるSQLの投入も行いましたが同じエラーが返ってきました。
これはインストール方法の問題なのか、元々の構文がまちがっているのか、判断がつきかねているため今回皆様にご教示いただきたいと思います。
お忙しいとは思いますが、ご回答のほどよろしくお願いいたします。
Basic info
REQUEST_URI : /modx/manager/index.php?a=27&id=5
Manager action : 27 - Editing resource
Current Plugin : DHA(OnDocFormRender)
Referer : http://www.***.jp/modx/manager/index.php?a=1&f=tree
User Agent : Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36
IP : ***
Parser timing
MySQL : 0.0025 s (16 Requests)
PHP : 0.0410 s
Total : 0.0435 s
Backtrace
1 include_once()
manager/index.php on line 234
2 DocumentParser->invokeEvent()
manager/actions/mutate_content.dynamic.php on line 1292
3 DocumentParser->evalPlugin()
manager/includes/document.parser.class.inc.php on line 3573
4 eval()
manager/includes/document.parser.class.inc.php on line 1559
5 DBAPI->select()
manager/includes/document.parser.class.inc.php(1559) : eval()'d code on line 349
6 DBAPI->query()
manager/includes/extenders/dbapi.mysql.class.inc.php on line 234
-----
MODXのバージョン:1.0.10J-r3
PHPのバージョン:5.3.10-1ubuntu3.7
MySQLのバージョン:5.5.31-0ubuntu0.12.04.1
-----
MODXリソース投稿画面で
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 ') ORDER BY editedon desc' at line 1 »
SQL:SELECT * FROM `modx`.`modx2_approval_logs` WHERE id='6' AND ( ) ORDER BY editedon desc
が表示されました。
DAAAHに書かれてあるSQLの投入も行いましたが同じエラーが返ってきました。
これはインストール方法の問題なのか、元々の構文がまちがっているのか、判断がつきかねているため今回皆様にご教示いただきたいと思います。
お忙しいとは思いますが、ご回答のほどよろしくお願いいたします。
Basic info
REQUEST_URI : /modx/manager/index.php?a=27&id=5
Manager action : 27 - Editing resource
Current Plugin : DHA(OnDocFormRender)
Referer : http://www.***.jp/modx/manager/index.php?a=1&f=tree
User Agent : Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36
IP : ***
Parser timing
MySQL : 0.0025 s (16 Requests)
PHP : 0.0410 s
Total : 0.0435 s
Backtrace
1 include_once()
manager/index.php on line 234
2 DocumentParser->invokeEvent()
manager/actions/mutate_content.dynamic.php on line 1292
3 DocumentParser->evalPlugin()
manager/includes/document.parser.class.inc.php on line 3573
4 eval()
manager/includes/document.parser.class.inc.php on line 1559
5 DBAPI->select()
manager/includes/document.parser.class.inc.php(1559) : eval()'d code on line 349
6 DBAPI->query()
manager/includes/extenders/dbapi.mysql.class.inc.php on line 234
-----
MODXのバージョン:1.0.10J-r3
PHPのバージョン:5.3.10-1ubuntu3.7
MySQLのバージョン:5.5.31-0ubuntu0.12.04.1
-----