cDisplayOrderの最大値を1件取得したいSQLですよね?
で、これはSQLの構文エラーですね。
「cParentID = LIMIT 1」 は「cParentID = xx LIMIT 1」が正しいですよね?
このSQLはどこで発行しているのでしょう?
Re: コンポーザーで予期せぬエラーが発生します。
2015年5月25日 at 11:50
お返事ありがとうございます。
Apacheの「php_error_log」には何も出力されていませんでした。
Your post has been saved and will be published after approval by the forum moderator.
ぽき
Re: Re: コンポーザーで予期せぬエラーが発生します。
mysqlt error: [1064: 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 'LIMIT 1' at line 1] in EXECUTE("select max(cDisplayOrder) from Pages where cParentID = LIMIT 1")
調べます。