Code |
Context if ($result === false)
{
trigger_error("Search query failed: " . $this->runtime[$model->alias]['sphinx']->GetLastError());
$model = Record
Record::$name = "Record"
Record::$actsAs = array
Record::$belongsTo = array
Record::$hasMany = array
Record::$hasAndBelongsToMany = array
Record::$validate = array
Record::$useDbConfig = "default"
Record::$useTable = "records"
Record::$displayField = "id"
Record::$id = "viewset"
Record::$data = array
Record::$table = "records"
Record::$primaryKey = "id"
Record::$_schema = array
Record::$validationErrors = array
Record::$tablePrefix = ""
Record::$alias = "Record"
Record::$tableToModel = array
Record::$logTransactions = false
Record::$cacheQueries = false
Record::$hasOne = array
Record::$Behaviors = BehaviorCollection object
Record::$whitelist = array
Record::$cacheSources = true
Record::$findQueryType = "count"
Record::$recursive = -1
Record::$order = NULL
Record::$virtualFields = array
Record::$__associationKeys = array
Record::$__associations = array
Record::$__backAssociation = array
Record::$__insertID = NULL
Record::$__numRows = NULL
Record::$__affectedRows = NULL
Record::$_findMethods = array
Record::$Archive = Archive object
Record::$Viewset = Viewset object
Record::$Comment = Comment object
Record::$Metadata = Metadata object
Record::$Rating = Rating object
Record::$Visit = Visit object
Record::$Contributor = Contributor object
Record::$Creator = Contributor object
Record::$CreatorsRecord = AppModel object
Record::$ContributorsRecord = AppModel object
$query = array(
"conditions" => array(),
"fields" => "COUNT(*) AS `count`",
"joins" => array(),
"limit" => 1,
"offset" => null,
"order" => array(
false
),
"page" => 1,
"group" => null,
"callbacks" => true,
"recursive" => -1,
"sphinx" => array(
"index" => array(),
"matchMode" => 6,
"sortMode" => array()
),
"search" => "@viewset_id=viewset"
)
$key = "sortMode"
$setting = array(
"created"
)
$indexes = "openarchives_records"
$result = false
SphinxBehavior::beforeFind() - APP/models/behaviors/sphinx.php, line 102
ModelBehavior::dispatchMethod() - CORE/cake/libs/model/model_behavior.php, line 169
BehaviorCollection::trigger() - CORE/cake/libs/model/model_behavior.php, line 495
Model::find() - CORE/cake/libs/model/model.php, line 2068
Controller::paginate() - CORE/cake/libs/controller/controller.php, line 1206
RecordsController::viewset() - APP/controllers/records_controller.php, line 556
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
require - APP/webroot/index.php, line 83
[main] - CORE/index.php, line 55