Home >Backend Development >PHP Tutorial > 关于failed to open stream: No error的异常

关于failed to open stream: No error的异常

WBOY
WBOYOriginal
2016-06-13 13:28:112375browse

关于failed to open stream: No error的错误
最近用cakephp框架开发一个简单的东西,在公司已经可以使用,可是考到自己的电脑上却总是有很多类似于这样的警告:

SplFileInfo::openFile(F:\PHP\wamp\www\TimeBook\app\tmp\cache\persistent\cake_core_cake_dev_zh-cn) [function.SplFileInfo-openFile]: failed to open stream: No error [CORE\Cake\Cache\Engine\FileEngine.php, line 290]

openFile函数总是打开流失败,这些文件权限我都看过了,都是可读可写的,我用的是wamp环境。

求大家帮忙看看是什么原因,我怀疑跟配置文件相关,我是新手,不太了解环境配置的东西,请各位朋友们帮忙看看吧!

------解决方案--------------------
这应该是配制环境的问题,
------解决方案--------------------
官方有处理方法

http://cakephp.lighthouseapp.com/projects/42648/tickets/851-fopen-warnings

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn