Magento错误 - 缓存不足的解决方法 10 October 2010 21:14 Sunday by 小屋 浏览(2143)

在货品处或者其他部分页面出现了一下几种错误提示:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/XXXXX/public_html/lib/Varien/Io/File.php on line 361

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72897 bytes) in /home/XXXXX/public_html/lib/Varien/Image/Adapter/Gd2.php on line 155

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/XXXXX/public_html/lib/Varien/Image/Adapter/Gd2.php on line 332

这些报错乃是缓存不足导致,只要将缓存设置大一点就ok啦。

修改根目录下的,php.ini.htaccess 文件里的memory_limit = 64M项,改为memory_limit = 128M.保存后上传覆盖。

到这个步骤后看看问题是否解决。

如是Magento系统如问题依旧。

阅读全文>>