2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CakeDC Search plugin が MySQL server version for the right syntax to use near 'validateSearch' at line 1で動かない時

Posted at

CakephpのCakeDC Search plugin を使おうとしたときに

Syntax error or access violation: 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 'validateSearch' at line 1

と言われて動かないときは

public $uses = array('今のコントローラーのモデル', 'User', 'Page');

今のコントローラーのモデルを最初に書くと治る。

2
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?