Are you sure? On 8月14日, 下午11时15分, anders als <[email protected]> wrote: > ############### Solution > ############################################################## > Use the 1.3 dev release of cakephp, there is no other way to use > PHP5.3 and CakePHP than this one. > ############### Solution > ############################################################## > > On 12 Jul., 06:31, 10drill <[email protected]> wrote: > > > > > I've just upgraded PHP to 5.3.0 on my development server and found all > > of my Cake sites have about 20 warning messages starting with > > "Deprecated:Assigningthereturnvalueofnewbyreferenceis > >deprecated...". Changes to the error_reporting configuration in > > php.ini could not get rid of them. With cake debug level at 1 or > > higher, the only fix I've been able to come up with is bad as it > > requires a (tiny) change to core file cake/libs/configure.php. > > Changing line 295 from error_reporting(E_ALL); to error_reporting > > (E_ALL ^ E_DEPRECATED); and then adding error_reporting(E_ALL ^ > > E_DEPRECATED); to the top of app/webroot/index.php removes all of the > > warnings. Does anyone have a better solution?- 隐藏被引用文字 - > > - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
