ResidentialController::details() - CORE/app/controllers/residential_controller.php, line 146
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 341
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Query: SELECT `Agent`.`agent_id`, `Agent`.`first`, `Agent`.`last`, `Agent`.`address`, `Agent`.`address1`, `Agent`.`city`, `Agent`.`state`, `Agent`.`zip`, `Agent`.`phone`, `Agent`.`mobile`, `Agent`.`fax`, `Agent`.`email`, `Agent`.`web_address`, `Agent`.`office_id` FROM `agent_list` AS `Agent` WHERE agent_id = and office_id = LIMIT 1
Warning (512): SQL 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 'and office_id = LIMIT 1' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 463]
$sql = "SELECT `Agent`.`agent_id`, `Agent`.`first`, `Agent`.`last`, `Agent`.`address`, `Agent`.`address1`, `Agent`.`city`, `Agent`.`state`, `Agent`.`zip`, `Agent`.`phone`, `Agent`.`mobile`, `Agent`.`fax`, `Agent`.`email`, `Agent`.`web_address`, `Agent`.`office_id` FROM `agent_list` AS `Agent` WHERE agent_id = and office_id = LIMIT 1"
$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 'and office_id = LIMIT 1' at line 1"
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 463
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 289
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 331
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 593
Model::findAll() - CORE/cake/libs/model/model.php, line 1451
Model::find() - CORE/cake/libs/model/model.php, line 1378
ResidentialController::details() - CORE/app/controllers/residential_controller.php, line 146
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 341
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Notice (8): Undefined offset: 0 [CORE/app/controllers/residential_controller.php, line 147]
ResidentialController::details() - CORE/app/controllers/residential_controller.php, line 147
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 341
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
Notice (8): Undefined offset: 0 [CORE/app/controllers/residential_controller.php, line 150]
ResidentialController::details() - CORE/app/controllers/residential_controller.php, line 150
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 341
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 323
[main] - CORE/app/webroot/index.php, line 83
SELECT `openhouse`.`id`, `openhouse`.`mls`, `openhouse`.`type`, `openhouse`.`start`, `openhouse`.`end` FROM `openhouses` AS `openhouse` WHERE `openhouse`.`mls` = 126947
0
0
3
7
SELECT `Image`.`imageId`, `Image`.`mls`, `Image`.`imgUrl`, `Image`.`label`, `Image`.`dateModified`, `Image`.`photoOrder`, `Image`.`portrait` FROM `images` AS `Image` WHERE `Image`.`mls` = 126947
5
5
714
8
SELECT `Agent`.`agent_id`, `Agent`.`first`, `Agent`.`last`, `Agent`.`address`, `Agent`.`address1`, `Agent`.`city`, `Agent`.`state`, `Agent`.`zip`, `Agent`.`phone`, `Agent`.`mobile`, `Agent`.`fax`, `Agent`.`email`, `Agent`.`web_address`, `Agent`.`office_id` FROM `agent_list` AS `Agent` WHERE agent_id = and office_id = LIMIT 1
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 'and office_id = LIMIT 1' at line 1
1
9
SELECT `Office`.`office_id`, `Office`.`name`, `Office`.`address`, `Office`.`address1`, `Office`.`city`, `Office`.`state`, `Office`.`zip`, `Office`.`phone`, `Office`.`email` FROM `office_list` AS `Office` WHERE `Office`.`office_id` IS NULL