Wampserver cakephp 1.3严格的标准错误 [英] Wampserver cakephp 1.3 Strict standards error
问题描述
C:\wamp\www
文件夹,我所得到的是这个错误: p>
这里有一些我知道的事情,我已经尝试过的东西:
- 这是一个现有的项目,我不能去CakePHP 2,因为它可能会打破代码
- 我已经编辑了 c code >正确
php.ini
文件。我尝试过有关E_ALL& 〜E_DEPRECATED& 〜E_STRICT
- 更改
php.ini
文件时,我已经完成了从重新启动我的窗口到重新启动Wampserver
有谁知道我失踪了吗?通过20个指导和答案谁能解决问题,但不是。令人沮丧的。
错误仍然存在,而网站的其余部分按照预期工作。 / p>
非常感谢任何帮助
升级到最新的1.3稳定发布(1.3.15),它已经设置 error_reporting(E_ALL&〜E_DEPRECATED&〜E_STRICT);
内部。
编辑:只是为了进一步澄清,你必须使用一个较旧的1.3版本,它在核心中设置 error_reporting(E_ALL&〜E_DEPRECATED);
,从而覆盖报告级别你设置你的php.ini
I'm currently growing crazy over my new Wampserver at the moment. I switched to a new computer and installed Wamp and moved my cakephp 1.3 folder to the C:\wamp\www
folder, and all I get is this error:
Here's some facts I'm aware of and stuff I'm already tried:
- This is an existing project, and I can't just go to CakePHP 2 since it may break the code
- I have edited the
error_reporting
in the correctphp.ini
file. I've tried everything regardingE_ALL & ~E_DEPRECATED & ~E_STRICT
- When changing the
php.ini
file, I have done everything from restart my windows to restarting the Wampserver
Does anyone know what I'm missing? It's frustrating to go through 20 guides and answers whom should solve the problem but doesn't.
The errors still exists, and the rest of the site works as intended.
Any help is greatly appreciated!
Upgrade to the latest 1.3 stable release (1.3.15), it already sets error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
internally.
Edit: Just to clarify further you must be using an older 1.3 release which sets error_reporting(E_ALL & ~E_DEPRECATED);
in the core thereby overriding the reporting level you set in your php.ini
这篇关于Wampserver cakephp 1.3严格的标准错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!