Error

Application error

Exception information:

Message: SQLSTATE[42000]: Syntax error or access violation: 1140 In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column 'artdeli_dk_db.product_images.imageID'; this is incompatible with sql_mode=only_full_group_by

Stack trace:

#0 /home/forge/artdeli.dk/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/forge/artdeli.dk/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/forge/artdeli.dk/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT COUNT(DI...', Array)
#3 /home/forge/artdeli.dk/library/Zend/Db/Table/Abstract.php(1529): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /home/forge/artdeli.dk/library/Zend/Db/Table/Abstract.php(1391): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/forge/artdeli.dk/application/models/ProductCategory.php(38): Zend_Db_Table_Abstract->fetchRow(Object(Zend_Db_Table_Select))
#6 /home/forge/artdeli.dk/application/modules/default/views/scripts/index/index.phtml(67): Model_ProductCategory->getNumberOfArts()
#7 /home/forge/artdeli.dk/library/Zend/View.php(108): include('/home/forge/art...')
#8 /home/forge/artdeli.dk/library/Zend/View/Abstract.php(888): Zend_View->_run('/home/forge/art...')
#9 /home/forge/artdeli.dk/library/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render(NULL)
#10 /home/forge/artdeli.dk/library/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index/index.pht...', NULL)
#11 /home/forge/artdeli.dk/library/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#12 /home/forge/artdeli.dk/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#13 /home/forge/artdeli.dk/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#14 /home/forge/artdeli.dk/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
#15 /home/forge/artdeli.dk/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#16 /home/forge/artdeli.dk/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#17 /home/forge/artdeli.dk/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#18 /home/forge/artdeli.dk/public/index.php(34): Zend_Application->run()
#19 {main}

Request Parameters:

array (
  'module' => 'default',
  'controller' => 'index',
  'action' => 'index',
)
Nyhedsbrev

Tilmeld dig til vores nyhedsbrev