php - MAGENTO PRODUCT: Product Page got errror in magento -


i m newi magento , in website menu working proper , category show product in list.phtml proper when click on product detail of product time page redirect localhost/magento/index.php/categoryname/productname.html
but got error report show in below image.. enter image description here
plz give suggestion or solve issue

a:5:{i:0;s:203:"sqlstate[42000]: syntax error or access violation: 1064 have error in sql syntax; check manual corresponds mysql server  version right syntax use near ')' @ line 1";i:1;s:4055:" #0 d:\wamp\www\magento\lib\varien\db\statement\pdo\mysql.php(110): zend_db_statement_pdo->_execute(array) #1 d:\wamp\www\magento\lib\zend\db\statement.php(300): varien_db_statement_pdo_mysql->_execute(array) #2 d:\wamp\www\magento\lib\zend\db\adapter\abstract.php(479): zend_db_statement->execute(array) #3 d:\wamp\www\magento\lib\zend\db\adapter\pdo\abstract.php(238): zend_db_adapter_abstract->query('select `catalog...', array) #4 d:\wamp\www\magento\lib\varien\db\adapter\pdo\mysql.php(419): zend_db_adapter_pdo_abstract->query('select `catalog...', array) #5 d:\wamp\www\magento\lib\zend\db\adapter\abstract.php(753): varien_db_adapter_pdo_mysql->query(object(varien_db_select), array) #6 d:\wamp\www\magento\app\code\core\mage\eav\model\entity\abstract.php(943): zend_db_adapter_abstract->fetchrow(object(varien_db_select)) #7 d:\wamp\www\magento\app\code\core\mage\catalog\model\resource\abstract.php(698): mage_eav_model_entity_abstract->load(object(mage_catalog_model_category), object(mage_catalog_model_category), null) #8 d:\wamp\www\magento\app\code\core\mage\core\model\abstract.php(225): mage_catalog_model_resource_abstract->load(object(mage_catalog_model_category), object(mage_catalog_model_category), null) #9 d:\wamp\www\magento\app\code\core\mage\catalog\block\product\list.php(84): mage_core_model_abstract->load(object(mage_catalog_model_category)) #10 d:\wamp\www\magento\app\code\core\mage\catalog\block\product\list.php(145): mage_catalog_block_product_list->_getproductcollection() #11 d:\wamp\www\magento\app\code\core\mage\core\block\abstract.php(867): mage_catalog_block_product_list->_beforetohtml() #12 d:\wamp\www\magento\app\code\core\mage\core\block\text\list.php(43): mage_core_block_abstract->tohtml() #13 d:\wamp\www\magento\app\code\core\mage\core\block\abstract.php(868): mage_core_block_text_list->_tohtml() #14 d:\wamp\www\magento\app\code\core\mage\core\block\abstract.php(582): mage_core_block_abstract->tohtml() #15 d:\wamp\www\magento\app\code\core\mage\core\block\abstract.php(526): mage_core_block_abstract->_getchildhtml('content', true) #16 d:\wamp\www\magento\app\design\frontend\base\default\template\page\2columns-right.phtml(48): mage_core_block_abstract->getchildhtml('content') #17 d:\wamp\www\magento\app\code\core\mage\core\block\template.php(241): include('d:\wamp\www\mag...') #18 d:\wamp\www\magento\app\code\core\mage\core\block\template.php(272): mage_core_block_template->fetchview('frontend\base\d...') #19 d:\wamp\www\magento\app\code\core\mage\core\block\template.php(286): mage_core_block_template->renderview() #20 d:\wamp\www\magento\app\code\core\mage\core\block\abstract.php(868): mage_core_block_template->_tohtml() #21 d:\wamp\www\magento\app\code\core\mage\core\model\layout.php(555): mage_core_block_abstract->tohtml() #22 d:\wamp\www\magento\app\code\core\mage\core\controller\varien\action.php(390): mage_core_model_layout->getoutput() #23 d:\wamp\www\magento\app\code\core\mage\cms\helper\page.php(137): mage_core_controller_varien_action->renderlayout() #24 d:\wamp\www\magento\app\code\core\mage\cms\helper\page.php(52): mage_cms_helper_page->_renderpage(object(mage_cms_indexcontroller), 'no-route') #25 d:\wamp\www\magento\app\code\core\mage\cms\controllers\indexcontroller.php(75): mage_cms_helper_page->renderpage(object(mage_cms_indexcontroller), 'no-route') #26 d:\wamp\www\magento\app\code\core\mage\core\controller\varien\action.php(419): mage_cms_indexcontroller->norouteaction() #27 d:\wamp\www\magento\app\code\core\mage\core\controller\varien\router\standard.php(250): mage_core_controller_varien_action->dispatch('noroute') #28 d:\wamp\www\magento\app\code\core\mage\core\controller\varien\front.php(176): mage_core_controller_varien_router_standard->match(object(mage_core_controller_request_http)) #29 d:\wamp\www\magento\app\code\core\mage\core\model\app.php(354): mage_core_controller_varien_front->dispatch() #30 d:\wamp\www\magento\app\mage.php(683): mage_core_model_app->run(array) #31 d:\wamp\www\magento\index.php(87): mage::run('', 'store') #32 {main}";s:3:"url";s:33:"/magento/index.php/coca-cola.html";s:11:"script_name";s:18:"/magento/index.php";s:4:"skin";s:7:"default"; 

you can try add die in catalog/product/view.phtml message here:

die("here"); 

after while, see line making problem, easier track.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -