In Varien_Db_Adapter_Pdo_Mysql
Magento : lib/varien/Db/Adapter/Pdo/Mysql.php
setprotected $_debug = true;
protected $_logAllQueries = true;
and (if nor already there) create the folder defined inprotected $_debugFile = 'var/debug/sql.txt';
Give read / write permission
No comments:
Post a Comment