Warning (2): Missing argument 1 for SchoolsController::view(), called in /var/www/vhosts/iris.edu/httpdocs/hq/ssn/cake/libs/object.php on line 114 and defined [APP/controllers/schools_controller.php, line 41]
} public function view($stationCode, $year = false)
SchoolsController::view() - APP/controllers/schools_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 114
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 256
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 230
[main] - APP/webroot/index.php, line 94
Notice (8): Undefined variable: stationCode [APP/controllers/schools_controller.php, line 49]
SchoolsController::view() - APP/controllers/schools_controller.php, line 49
Object::dispatchMethod() - CORE/cake/libs/object.php, line 114
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 256
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 230
[main] - APP/webroot/index.php, line 94
Warning (2): array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object [APP/controllers/schools_controller.php, line 82]
$year = false
$cleaner = Sanitize
$stationCode = ""
$curYear = "2012"
$getEvents = "SELECT `date`, `region`, `magnitude`, Event.lat, Event.long, Event.id, fileName, Sacfile.id
FROM events AS Event
INNER JOIN sacfiles AS Sacfile ON Sacfile.event_id = Event.id
INNER JOIN schools ON Sacfile.school_id = schools.id
WHERE YEAR(date) = 2012 AND stationCode = ''
ORDER BY date DESC;"
$events = array()
$school = false
$age = 1337983239
$teachers = array()
array_key_exists - [internal], line ??
SchoolsController::view() - APP/controllers/schools_controller.php, line 82
Object::dispatchMethod() - CORE/cake/libs/object.php, line 114
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 256
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 230
[main] - APP/webroot/index.php, line 94