"magento 1.9"
my website error many time,
below is my error log.
a:4:{i:0;s:48:"SQLSTATE[HY000] [2002] No such file or directory";i:1;s:2712:"#0 /home/shop1577/public_html/includes/src/__default.php(55661): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/shop1577/public_html/includes/src/__default.php(56141): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/shop1577/public_html/includes/src/__default.php(54326): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/shop1577/public_html/includes/src/__default.php(55389): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/shop1577/public_html/includes/src/__default.php(56249): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/shop1577/public_html/includes/src/__default.php(30320): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/shop1577/public_html/includes/src/__default.php(30251): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#7 /home/shop1577/public_html/includes/src/__default.php(12259): Mage_Core_Model_Resource->getConnection('core_write')
#8 /home/shop1577/public_html/includes/src/__default.php(12289): Mage_Core_Model_Resource_Db_Abstract->_getConnection('write')
#9 /home/shop1577/public_html/includes/src/__default.php(12274): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#10 /home/shop1577/public_html/includes/src/__default.php(12299): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#11 /home/shop1577/public_html/includes/src/__default.php(32356): Mage_Core_Model_Resource_Db_Abstract->getReadConnection()
#12 /home/shop1577/public_html/includes/src/__default.php(24241): Mage_Core_Model_Resource_Db_Collection_Abstract->__construct(Object(Mage_Core_Model_Resource_Website))
#13 /home/shop1577/public_html/includes/src/__default.php(24273): Mage_Core_Model_Config->getModelInstance('core_resource/w...', Object(Mage_Core_Model_Resource_Website))
#14 /home/shop1577/public_html/app/Mage.php(491): Mage_Core_Model_Config->getResourceModelInstance('core/website_co...', Object(Mage_Core_Model_Resource_Website))
#15 /home/shop1577/public_html/includes/src/__default.php(5882): Mage::getResourceModel('core/website_co...', Object(Mage_Core_Model_Resource_Website))
#16 /home/shop1577/public_html/includes/src/__default.php(5887): Mage_Core_Model_Abstract->getResourceCollection()
#17 /home/shop1577/public_html/includes/src/__default.php(21119): Mage_Core_Model_Abstract->getCollection()
#18 /home/shop1577/public_html/includes/src/__default.php(20977): Mage_Core_Model_App->_initStores()
#19 /home/shop1577/public_html/includes/src/__default.php(20860): Mage_Core_Model_App->_initCurrentStore('', 'store')
#20 /home/shop1577/public_html/app/Mage.php(685): Mage_Core_Model_App->run(Array)
#21 /home/shop1577/public_html/index.php(182): Mage::run('', 'store')
#22 {main}";s:3:"url";s:20:"/irize-1-refill.html";s:11:"script_name";s:10:"/index.php";}
Please disabled the compilation mode and delete the files under includes, except config.php and .htaccess.
Related
Trace:
#0 /home/telemark/public_html/magento/includes/src/__default.php(54611):
Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/telemark/public_html/magento/includes/src/__default.php(55091):
Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/telemark/public_html/magento/includes/src/__default.php(53298):
Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/telemark/public_html/magento/includes/src/__default.php(54354):
Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/telemark/public_html/magento/includes/src/__default.php(55199):
Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/telemark/public_html/magento/includes/src/__default.php(29625):
Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/telemark/public_html/magento/includes/src/__default.php(29566):
Mage_Core_Model_Resource->_newConnection('pdo_mysql',
Object(Mage_Core_Model_Config_Element))
#7 /home/telemark/public_html/magento/includes/src/__default.php(12036):
Mage_Core_Model_Resource->getConnection('core_write')
#8 /home/telemark/public_html/magento/includes/src/__default.php(12066):
Mage_Core_Model_Resource_Db_Abstract->_getConnection('write')
#9 /home/telemark/public_html/magento/includes/src/__default.php(12051):
Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#10 /home/telemark/public_html/magento/includes/src/Mage_Core_Model_Resource_Cache.php(53):
Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#11 /home/telemark/public_html/magento/includes/src/Mage_Core_Model_Cache.php(478):
Mage_Core_Model_Resource_Cache->getAllOptions()
#12 /home/telemark/public_html/magento/includes/src/Mage_Core_Model_Cache.php(520):
Mage_Core_Model_Cache->_initOptions()
#13 /home/telemark/public_html/magento/includes/src/__default.php(21198):
Mage_Core_Model_Cache->canUse('config')
#14 /home/telemark/public_html/magento/includes/src/__default.php(22811):
Mage_Core_Model_App->useCache('config')
#15 /home/telemark/public_html/magento/includes/src/__default.php(22691):
Mage_Core_Model_Config->_canUseCacheForInit()
#16 /home/telemark/public_html/magento/includes/src/__default.php(20428):
Mage_Core_Model_Config->loadModulesCache()
#17 /home/telemark/public_html/magento/includes/src/__default.php(20358):
Mage_Core_Model_App->_initModules()
#18 /home/telemark/public_html/magento/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#19 /home/telemark/public_html/magento/index.php(71): Mage::run('', 'store')
#20 {main}
I am not able to edit my products in backend. it is giving error as Exception printing is disabled by default for security reasons. I also check the report:
Source model "tpl_eventsmanager/event_source" not found for attribute "events"
Trace:
#0 /home/dme/public_html/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php(387): Mage::exception('Mage_Eav', 'Source model "t...')
#1 /home/dme/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(201): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 /home/dme/public_html/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php(70): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset), Array)
#3 /home/dme/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(144): Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#4 /home/dme/public_html/app/code/core/Mage/Core/Block/Abstract.php(918): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#5 /home/dme/public_html/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tabs.php(79): Mage_Core_Block_Abstract->toHtml()
#6 /home/dme/public_html/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs->_prepareLayout()
#7 /home/dme/public_html/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#8 /home/dme/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'product_tabs')
#9 /home/dme/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'product_tabs')
#10 /home/dme/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#11 /home/dme/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#12 /home/dme/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#13 /home/dme/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#14 /home/dme/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(Array, true, true)
#15 /home/dme/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(250): Mage_Adminhtml_Controller_Action->loadLayout(Array)
#16 /home/dme/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Catalog_ProductController->editAction()
#17 /home/dme/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('edit')
#18 /home/dme/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /home/dme/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#20 /home/dme/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#21 /home/dme/public_html/index.php(89): Mage::run('', 'store')
#22 {main}
Tried fixing it by replacing null to tmp/ in file.php but still nothing seems to work. I am going wrong somewhere.
Its related to the attribute "events" in backend.
once you delete the attribute , it will work for you.
There has been an error processing your request
SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
Trace:
#0 /home/claddingstor/public_html/lib/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/claddingstor/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(320): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/claddingstor/public_html/lib/Zend/Db/Adapter/Abstract.php(460): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/claddingstor/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/claddingstor/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Resource.php(179): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#7 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource->getConnection('core_write')
#8 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract->_getConnection('write')
#9 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(335): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#10 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Resource/Cache.php(53): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#11 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Cache.php(478): Mage_Core_Model_Resource_Cache->getAllOptions()
#12 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Cache.php(520): Mage_Core_Model_Cache->_initOptions()
#13 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/App.php(1183): Mage_Core_Model_Cache->canUse('config')
#14 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Config.php(414): Mage_Core_Model_App->useCache('config')
#15 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/Config.php(294): Mage_Core_Model_Config->_canUseCacheForInit()
#16 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/App.php(413): Mage_Core_Model_Config->loadModulesCache()
#17 /home/claddingstor/public_html/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#18 /home/claddingstor/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#19 /home/claddingstor/public_html/index.php(87): Mage::run('', 'store')
#20 {main}
Check the magento requirements (php version, libs, mysql version etc.)
http://merch.docs.magento.com/ce/user_guide/Magento_Community_Edition_User_Guide.html#magento/magento-compability-check.html
Maybe also this can be helpful:
https://secure.vexxhost.com/support/index.php?/Knowledgebase/Article/View/126/8/mysql-error-sqlstatehy000-2054-the-server-requested-authentication-method-unknown-to-the-client
Trace:
#0 /home/catering/public_html/shop/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/catering/public_html/shop/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/catering/public_html/shop/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/catering/public_html/shop/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `sh...', Array)
#4 /home/catering/public_html/shop/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `sh...', Array)
#5 /home/catering/public_html/shop/lib/Zend/Db/Adapter/Abstract.php(574): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `sh...', Array)
#6 /home/catering/public_html/shop/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(453): Zend_Db_Adapter_Abstract->insert('shop_log_visito...', Array)
#7 /home/catering/public_html/shop/app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Core_Model_Resource_Db_Abstract->save(Object(Mage_Log_Model_Visitor))
#8 /home/catering/public_html/shop/app/code/core/Mage/Log/Model/Visitor.php(167): Mage_Core_Model_Abstract->save()
#9 /home/catering/public_html/shop/app/code/core/Mage/Core/Model/App.php(1338): Mage_Log_Model_Visitor->initByRequest(Object(Varien_Event_Observer))
#10 /home/catering/public_html/shop/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Log_Model_Visitor), 'initByRequest', Object(Varien_Event_Observer))
#11 /home/catering/public_html/shop/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#12 /home/catering/public_html/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(528): Mage::dispatchEvent('controller_acti...', Array)
#13 /home/catering/public_html/shop/app/code/core/Mage/Core/Controller/Front/Action.php(64): Mage_Core_Controller_Varien_Action->preDispatch()
#14 /home/catering/public_html/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(408): Mage_Core_Controller_Front_Action->preDispatch()
#15 /home/catering/public_html/shop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#16 /home/catering/public_html/shop/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#17 /home/catering/public_html/shop/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#18 /home/catering/public_html/shop/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#19 /home/catering/public_html/shop/index.php(88): Mage::run('', 'store')
#20 {main}
Increase the innodb_lock_wait_timeout in MySQL.Before that see what is current value set for it.
I'm having problems with the Dashboard in the admin section, not showing me any data.. I'm getting this error: SQLSTATE[42000]: Syntax error or access violation: 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
I'm having no clue as to what started the issue, here's the tracing:
0 /var/www/store/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/store/public_html/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /var/www/store/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /var/www/store/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#4 /var/www/store/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(389): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#5 /var/www/store/public_html/lib/Zend/Db/Adapter/Abstract.php(734): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `main_ta...', Array)
#6 /var/www/store/public_html/lib/Varien/Data/Collection/Db.php(687): Zend_Db_Adapter_Abstract->fetchAll('SELECT `main_ta...', Array)
#7 /var/www/store/public_html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(520): Varien_Data_Collection_Db->_fetchAll('SELECT `main_ta...', Array)
#8 /var/www/store/public_html/lib/Varien/Data/Collection/Db.php(521): Mage_Core_Model_Resource_Db_Collection_Abstract->getData()
#9 /var/www/store/public_html/lib/Varien/Data/Collection.php(268): Varien_Data_Collection_Db->load()
#10 /var/www/store/public_html/app/code/local/Ezapps/Zoom/Model/Mysql4/Page/Collection.php(28): Varien_Data_Collection->getFirstItem()
#11 /var/www/store/public_html/app/code/local/Ezapps/Zoom/Block/Adminhtml/Dashboard/Tab/Zoom.php(38): Ezapps_Zoom_Model_Mysql4_Page_Collection->getStats()
#12 /var/www/store/public_html/app/code/core/Mage/Adminhtml/Block/Dashboard/Abstract.php(77): Ezapps_Zoom_Block_Adminhtml_Dashboard_Tab_Zoom->_prepareData()
#13 /var/www/store/public_html/app/code/core/Mage/Core/Block/Abstract.php(238): Mage_Adminhtml_Block_Dashboard_Abstract->_prepareLayout()
#14 /var/www/store/public_html/app/code/core/Mage/Core/Model/Layout.php(430): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#15 /var/www/store/public_html/app/code/local/Ezapps/Tools/Block/Adminhtml/Dashboard/Diagrams.php(42): Mage_Core_Model_Layout->createBlock('ezzoom/adminhtm...')
#16 /var/www/store/public_html/app/code/core/Mage/Core/Block/Abstract.php(238): Ezapps_Tools_Block_Adminhtml_Dashboard_Diagrams->_prepareLayout()
#17 /var/www/store/public_html/app/code/core/Mage/Core/Model/Layout.php(430): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#18 /var/www/store/public_html/app/code/core/Mage/Adminhtml/Block/Dashboard.php(66): Mage_Core_Model_Layout->createBlock('adminhtml/dashb...')
#19 /var/www/store/public_html/app/code/core/Mage/Core/Block/Abstract.php(238): Mage_Adminhtml_Block_Dashboard->_prepareLayout()
#20 /var/www/store/public_html/app/code/core/Mage/Core/Model/Layout.php(430): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#21 /var/www/store/public_html/app/code/core/Mage/Core/Model/Layout.php(446): Mage_Core_Model_Layout->createBlock('adminhtml/dashb...', 'dashboard')
#22 /var/www/store/public_html/app/code/core/Mage/Core/Model/Layout.php(238): Mage_Core_Model_Layout->addBlock('adminhtml/dashb...', 'dashboard')
#23 /var/www/store/public_html/app/code/core/Mage/Core/Model/Layout.php(204): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#24 /var/www/store/public_html/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#25 /var/www/store/public_html/app/code/local/Mage/Core/Controller/Varien/Action.php(345): Mage_Core_Model_Layout->generateBlocks()
#26 /var/www/store/public_html/app/code/local/Mage/Core/Controller/Varien/Action.php(270): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#27 /var/www/store/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(263): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true)
#28 /var/www/store/public_html/app/code/core/Mage/Adminhtml/controllers/DashboardController.php(40): Mage_Adminhtml_Controller_Action->loadLayout()
#29 /var/www/store/public_html/app/code/local/Mage/Core/Controller/Varien/Action.php(420): Mage_Adminhtml_DashboardController->indexAction()
#30 /var/www/store/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#31 /var/www/store/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#32 /var/www/store/public_html/app/code/local/Mage/Core/Model/App.php(348): Mage_Core_Controller_Varien_Front->dispatch()
#33 /var/www/store/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#34 /var/www/store/public_html/index.php(82): Mage::run('', 'store')
#35 {main}
As you can see in the stack trace the problem is caused by a custom module from Ezapps...
Try disabling the module (app/etc/modules/Ezapps_*.xml - set active to false) and check what other things need to be done in order to disable the module...
Within that module's code, there is a problem when forming the sql query...