Questions tagged «error-log»

3
Magento 2请更新innodb_buffer_pool_size或减小批次大小值
安装Magento 2.2.2后,当我检查错误日志时,收到此警告。 为临时表分配的内存大小大于innodb_buffer_pool_size的20%。请更新innodb_buffer_pool_size或减小批处理大小值(这会减少临时表的内存使用量)。当前批次大小:100000;分配的内存大小:50000000字节;InnoDB缓冲池大小:134217728字节。 错误的地方是为临时表分配的内存大小超过20%。它引用哪个临时表?我应该如何解决?

5
未创建Magento错误日志文件
要获取错误日志文件,请在此菜单上启用 Configuration > Developer > Log Settings > Enabled = Yes 并创建/var/log文件夹并设置权限777 当我收到此错误页面时 处理您的请求时出错 ,出于安全原因,默认情况下禁用异常打印。 错误日志记录号:1337641918483 var / log文件夹上没有文件 我是否可以知道未创建错误日志文件的原因以及如何解决?
8 error-log 

2
错误日志中的“ SQLSTATE [HY000] [2002]没有这样的文件或目录”是什么意思?
该页面刚刚开始出现: 处理您的请求时出错 a:4:{i:0;s:48:"SQLSTATE[HY000] [2002] No such file or directory";i:1;s:2075:"#0 /home/dtacolle/public_html/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/dtacolle/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(313): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/dtacolle/public_html/lib/Zend/Db/Adapter/Abstract.php(459): Varien_Db_Adapter_Pdo_Mysql->_connect() #3 /home/dtacolle/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array) #4 /home/dtacolle/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array) #5 /home/dtacolle/public_html/app/code/core/Mage/Core/Model/Resource.php(169): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8') #6 /home/dtacolle/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/dtacolle/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource->getConnection('core_write') #8 /home/dtacolle/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract->_getConnection('write') #9 /home/dtacolle/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(335): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter() #10 /home/dtacolle/public_html/app/code/core/Mage/Core/Model/Resource/Config.php(55): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter() …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.