Cuando hago esos dos cambios me salta el siguiente error :
Cita: An error occurred
Application error
Exception information:
Message: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound
Stack trace:
#0 C:\xampp\htdocs\joc1\library\Zend\Db\Statement.php (300): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\xampp\htdocs\joc1\library\Zend\Db\Adapter\Abstr act.php(479): Zend_Db_Statement->execute(Array)
#2 C:\xampp\htdocs\joc1\library\Zend\Db\Adapter\Pdo\A bstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 C:\xampp\htdocs\joc1\library\Zend\Db\Select.php(68 6): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 C:\xampp\htdocs\joc1\application\models\Laser.php( 18): Zend_Db_Select->query()
#5 C:\xampp\htdocs\joc1\application\controllers\JocCo ntroller.php(80): Application_Model_Laser->getLaserNivel(1, 'mod')
#6 C:\xampp\htdocs\joc1\library\Zend\Controller\Actio n.php(516): JocController->investAction()
#7 C:\xampp\htdocs\joc1\library\Zend\Controller\Dispa tcher\Standard.php(295): Zend_Controller_Action->dispatch('investAction')
#8 C:\xampp\htdocs\joc1\library\Zend\Controller\Front .php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 C:\xampp\htdocs\joc1\library\Zend\Application\Boot strap\Bootstrap.php(97): Zend_Controller_Front->dispatch()
#10 C:\xampp\htdocs\joc1\library\Zend\Application.php( 366): Zend_Application_Bootstrap_Bootstrap->run()
#11 C:\xampp\htdocs\joc1\public\index.php(26): Zend_Application->run()
#12 {main}
Request Parameters:
array (
'controller' => 'joc',
'action' => 'invest',
'module' => 'default',
)
no entiendo a que debe ser debido. alguna pista?