CakePHP1.1和PHP5.3
我刚刚从PHP5.1升级到5.3,之前在我的服务器上使用过CakePHP1.1。由于升级(或可能更早,我不能确定),我得到以下错误。有人能解释一下吗:CakePHP1.1和PHP5.3,cakephp,deprecated,php,Cakephp,Deprecated,Php,我刚刚从PHP5.1升级到5.3,之前在我的服务器上使用过CakePHP1.1。由于升级(或可能更早,我不能确定),我得到以下错误。有人能解释一下吗: Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/dispatcher.php on line 157 Deprecated: Assigning the retur
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/dispatcher.php on line 157
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/dispatcher.php on line 221
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/controller/controller.php on line 308
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/controller/controller.php on line 347
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/controller/controller.php on line 535
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/controller/controller.php on line 805
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/controller/component.php on line 128
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/view/view.php on line 686
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/class_registry.php on line 55
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/model/connection_manager.php on line 84
Deprecated: Assigning the return value of new by reference is deprecated in /home/vhosts/bbblh.co.uk/httpdocs/cake/libs/model/connection_manager.php on line 107
基本上它说的是:您(在本例中是cakephp)正在尝试做的事情在这个版本中仍然可以工作,但是可以在未来的php版本中删除 您应该将cakephp升级到新版本。您还可以取消显示以下警告:
error_reporting(E_ALL & ~E_DEPRECATED);
但这样做的危险在于,您忘记了它,并且在下次升级php时,您的站点会在没有任何警告的情况下停止工作。Second for Upgration Cake。这很简单。当你升级蛋糕核心时,一定要检查这些:&如果这是你唯一的错误,你做得很好!蛋糕v1.1是古老的。升级