简体   繁体   English

Magento错误日志充满了Zend / Cache / Backend / File.php中的错误

[英]Magento error log filled with errors from Zend/Cache/Backend/File.php

I've been developing a Magento site for a few weeks now and on the most part it has been going according to plan. 我已经开发了一个Magento网站几个星期了,而且大部分时间都在按计划进行。 However, over the last week I have been head over heels in errors and little things not working and it's really starting to (de)bug me. 但是,在过去的一周中,我遇到了很多错误,有些小事情无法解决,这真的开始(调试)我了。

I have put all the error logging I can find on Magento to try and find the source of these problems and most of them are pointing me to one file in particular which is oddly enough one of the core Magento files. 我把我能在Magento上找到的所有错误记录都放在了上面,以尝试找到这些问题的根源,其中大多数都将我指向一个文件,尤其是核心Magento文件之一。

So I have uploaded my error log and the file in question to pastebin in the hope that one of your kind overflowers can assist me a little :) 因此,我已将错误日志和相关文件上传到pastebin,以希望您的一种溢出程序可以对我有所帮助:)

system.log from var/log/: http://pastebin.com/jz8mW51Y 来自var / log /的system.log: http : //pastebin.com/jz8mW51Y

File.php from lib/Zend/Cache/Backend/File.php: http://pastebin.com/GiBrLYnY 来自lib / Zend / Cache / Backend / File.php的File.php: http ://pastebin.com/GiBrLYnY

I am running Magento 1.8.1 via Turnkey Linux on AWS as well if that is of any help. 我也可以通过AWS上的Turnkey Linux运行Magento 1.8.1,如果有帮助的话。

The $_options property of the Zend_Cache_Backend_File class you posted at pastebin.com uses the wrong characters ' and ' to delimit its keys instead of using proper single quotes ' . 您在pastebin.com上发布的Zend_Cache_Backend_File类的$_options属性使用错误的字符''来分隔其键,而不是使用正确的单引号'

Replace all ' and ' against ' and the Notice: Use of undefined constant will be gone. 更换所有''反对'Notice: Use of undefined constant将不复存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM