function WHCreateCookie(name, value, days) { var date = new Date(); date.setTime(date.getTime() + (days*24*60*60*1000)); var expires = "; expires=" + date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/"; } function WHReadCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') c = c.substring(1, c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); } return null; } window.onload = WHCheckCookies; function WHCheckCookies() { if(WHReadCookie('cookies_accepted') != 'T') { var message_container = document.createElement('div'); message_container.id = 'cookies-message-container'; var html_code = '
'; message_container.innerHTML = html_code; document.body.appendChild(message_container); } } function WHCloseCookiesWindow() { WHCreateCookie('cookies_accepted', 'T', 365); }Message: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound
#0 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `product...', Array) #3 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Db/Adapter/Abstract.php(734): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select), Array) #4 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/application/models/Category.php(25): Zend_Db_Adapter_Abstract->fetchAll(Object(Zend_Db_Table_Select)) #5 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/application/controllers/ProductsController.php(149): Model_Category->getCategoryByGroupId(NULL) #6 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Controller/Action.php(513): ProductsController->showAction() #7 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('showAction') #8 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #10 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/_files/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #11 /home/users/sklep-apeks/public_html/odkurzacze.bcc-apeks.pl/index.php(44): Zend_Application->run() #12 {main}
array ( 'iProductId' => '548', 'sProductTitle' => 'guma-wymienna-do-zbierakow-tts-8150', 'controller' => 'products', 'action' => 'show', )