An error occurred
Application error
Exception information:
Message: 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 '' at line 1
Stack trace:
#0 /data/www/MediWebDrug/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /data/www/MediWebDrug/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /data/www/MediWebDrug/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT DrugType...', Array)
#3 /data/www/MediWebDrug/application/models/drugtype.php(44): Zend_Db_Adapter_Pdo_Abstract->query('SELECT DrugType...')
#4 /data/www/MediWebDrug/application/controllers/DrugtypeController.php(151): Application_Model_drugtype->druginfo('4693', '')
#5 /data/www/MediWebDrug/library/Zend/Controller/Action.php(516): DrugtypeController->druginfoAction()
#6 /data/www/MediWebDrug/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('druginfoAction')
#7 /data/www/MediWebDrug/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /data/www/MediWebDrug/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#9 /data/www/MediWebDrug/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#10 /data/www/MediWebDrug/public/index.php(27): Zend_Application->run()
#11 {main}
Request Parameters:
array (
'controller' => 'Drugtype',
'action' => 'druginfo',
'module' => 'default',
'druginfoid' => '4693',
'amp;datatype' => '0',
'amp;msgtype' => '1',
)
|