DBStatement::execute() statement fail :
UPDATE `openweathermap` SET `data` = "{"cod":"200","message":0.0326,"city":{"id":6455342,"name":"Saint-Ouen","coord":{"lon":2.33333,"lat":48.900002},"country":"FR","population":0},"cnt":3,"list":[{"dt":1371639600,"temp":{"day":22.29,"min":16.48,"max":22.29,"night":16.48,"eve":21.82,"morn":18.86},"pressure":1016.32,"humidity":91,"weather":[{"id":502,"main":"Rain","description":"heavy intensity rain","icon":"10d"}],"speed":2.28,"deg":124,"clouds":92,"rain":19.5},{"dt":1371726000,"temp":{"day":19.39,"min":14.54,"max":19.39,"night":14.69,"eve":17.07,"morn":16.75},"pressure":1013.82,"humidity":98,"weather":[{"id":501,"main":"Rain","description":"moderate rain","icon":"10d"}],"speed":1.86,"deg":268,"clouds":92,"rain":10.5},{"dt":1371812400,"temp":{"day":15.53,"min":12.39,"max":17.46,"night":15.14,"eve":16.89,"morn":12.39},"pressure":1017.36,"humidity":94,"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"speed":6.02,"deg":232,"clouds":80,"rain":2}]}", `update` = "2013-06-19 10:41:04" WHERE `id` = ""DBStatement Object
(
[db] => DB Object
(
[config] => Array
(
[dsn] => mysql:host=localhost;dbname=hotelspref2013
[login] => u_5G34PQKN8a
[pass] => 5G34PQKN8a
[dsn_connector] => mysql
[dsn_config] => host=localhost;dbname=hotelspref2013
)
)
[queryString] => UPDATE `openweathermap` SET `data` = ?, `update` = ? WHERE `id` = ?
)
Array
(
[0] => 42S22
[1] => 1054
[2] => Unknown column 'id' in 'where clause'
)
/var/www/vhosts/hotelspreference.com/httpdocs/core/classes/ORM.php @ line 1131
DBStatement->execute(Array)