3
Mage :: log写入屏幕
我有一个开发系统,display_errors打开,Magento处于开发人员模式,我试图 Mage::log($layered_navigation_filter_block); // Mage_Catalog_Block_Layer_Filter_Attribute 而且所有内容都被写入屏幕,而不是日志文件,为什么? 看起来像这种情况: // app/Mage.php:837 if (is_array($message) || is_object($message)) { $message = print_r($message, true); } 但是print_r的第二个参数被忽略: Mage_Catalog_Block_Layer_Filter_Category Object ( [_filter:protected] => ... [28-Jan-2013 22:48:43 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 241434624 bytes) in /var/www/app/code/local/MyCompany/Motif/Model/Observer.php on line 47 [28-Jan-2013 22:48:43 …
21
debugging