Warning (2): Undefined array key "Ville" [APP/Controller/CommentsController.php, line 34]Code Context<?php ));
<?php
<?php $lat = $d['ville']['Ville']['lat'];
CommentsController::index() - APP/Controller/CommentsController.php, line 34
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 500
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Warning (2): Trying to access array offset on null [APP/Controller/CommentsController.php, line 34]Code Context<?php ));
<?php
<?php $lat = $d['ville']['Ville']['lat'];
CommentsController::index() - APP/Controller/CommentsController.php, line 34
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 500
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Warning (2): Undefined array key "Ville" [APP/Controller/CommentsController.php, line 35]Code Context<?php
<?php $lat = $d['ville']['Ville']['lat'];
<?php $lng = $d['ville']['Ville']['lng'];
CommentsController::index() - APP/Controller/CommentsController.php, line 35
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 500
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Warning (2): Trying to access array offset on null [APP/Controller/CommentsController.php, line 35]Code Context<?php
<?php $lat = $d['ville']['Ville']['lat'];
<?php $lng = $d['ville']['Ville']['lng'];
CommentsController::index() - APP/Controller/CommentsController.php, line 35
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 500
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Warning (2): Cannot modify header information - headers already sent by (output started at /home/lepetitbz/rachatvoiture.com/lib/Cake/Utility/Debugger.php:802) [CORE/Cake/Network/CakeResponse.php, line 456]Code Context<?php protected function _setCookies() {
<?php foreach ($this->_cookies as $name => $c) {
<?php setcookie(
setcookie - [internal], line ??
CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 456
CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 429
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 294
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
500
SQLSTATE[42000]: 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 '*pi()/180)) * sin((Ville.lat*pi()/180))+cos((*pi()/180)) * cos((Ville.lat*pi()/1' at line 1
SQLSTATE[42000]: 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 '*pi()/180)) * sin((Ville.lat*pi()/180))+cos((*pi()/180)) * cos((Ville.lat*pi()/1' at line 1
/sitemap.xml
PDOExceptionWithQueryString: SQLSTATE[42000]: 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 '*pi()/180)) * sin((Ville.lat*pi()/180))+cos((*pi()/180)) * cos((Ville.lat*pi()/1' at line 1 in /home/lepetitbz/rachatvoiture.com/lib/Cake/Model/Datasource/DboSource.php:516
Stack trace:
#0 /home/lepetitbz/rachatvoiture.com/lib/Cake/Model/Datasource/DboSource.php(469): DboSource->_execute('SELECT `Info`.*...', Array)
#1 /home/lepetitbz/rachatvoiture.com/lib/Cake/Model/Datasource/DboSource.php(717): DboSource->execute('SELECT `Info`.*...', Array, Array)
#2 /home/lepetitbz/rachatvoiture.com/lib/Cake/Model/Datasource/DboSource.php(1228): DboSource->fetchAll('SELECT `Info`.*...', Array)
#3 /home/lepetitbz/rachatvoiture.com/lib/Cake/Model/Model.php(3054): DboSource->read(Object(Info), Array)
#4 /home/lepetitbz/rachatvoiture.com/lib/Cake/Model/Model.php(3026): Model->_readDataSource('all', Array)
#5 /home/lepetitbz/rachatvoiture.com/lib/Cake/Controller/Component/PaginatorComponent.php(212): Model->find('all', Array)
#6 /home/lepetitbz/rachatvoiture.com/lib/Cake/Controller/Controller.php(1112): PaginatorComponent->paginate(Object(Info), Array, Array)
#7 /home/lepetitbz/rachatvoiture.com/app/Controller/CommentsController.php(52): Controller->paginate('Info')
#8 [internal function]: CommentsController->index('sitemap')
#9 /home/lepetitbz/rachatvoiture.com/lib/Cake/Controller/Controller.php(500): ReflectionMethod->invokeArgs(Object(CommentsController), Array)
#10 /home/lepetitbz/rachatvoiture.com/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#11 /home/lepetitbz/rachatvoiture.com/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(CommentsController), Object(CakeRequest))
#12 /home/lepetitbz/rachatvoiture.com/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#13 {main}