简体   繁体   English

Wampserver cakephp 1.3严格标准错误

[英]Wampserver cakephp 1.3 Strict standards error

I'm currently growing crazy over my new Wampserver at the moment. 目前,我目前对新的Wampserver感到疯狂。 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: 我切换到新计算机并安装了Wamp,并将cakephp 1.3文件夹移至C:\\wamp\\www文件夹,而我得到的只是以下错误:

我的错误讯息

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 这是一个现有项目,我不能只使用CakePHP 2,因为它可能会破坏代码
  • I have edited the error_reporting in the correct php.ini file. 我已经在正确的 php.ini文件中编辑了error_reporting I've tried everything regarding E_ALL & ~E_DEPRECATED & ~E_STRICT 我已经尝试了有关E_ALL & ~E_DEPRECATED & ~E_STRICT
  • When changing the php.ini file, I have done everything from restart my windows to restarting the Wampserver 更改php.ini文件时,我已完成从重新启动Windows到重新启动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. 查阅20条指南和答案令人沮丧,应该由谁来解决问题,但没有解决。

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); 升级到最新的1.3稳定版本(1.3.15),已经设置了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); 编辑:只是为了进一步说明,您必须使用设置了error_reporting(E_ALL & ~E_DEPRECATED); 1.3版本error_reporting(E_ALL & ~E_DEPRECATED); in the core thereby overriding the reporting level you set in your php.ini 从而覆盖了您在php.ini中设置的报告级别

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

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