我正在尝试从 Cakephp 2.5 迁移到 Cakephp 3.3 但遇到了一些问题

I'm trying to migrate from Cakephp 2.5 to Cakephp 3.3 but facing some issues

Error: [Cake\View\Exception\MissingTemplateException] Template file "Error\error500.ctp" is missing. #0 C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\View\View.php(588): Cake\View\View->_getViewFileName('Error\error500') #1 C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\Error\ExceptionRenderer.php(366): Cake\View\View->render('error500', 'error') #2 C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\Error\ExceptionRenderer.php(333): Cake\Error\ExceptionRenderer->_outputMessageSafe('error500') #3 C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\Error\ExceptionRenderer.php(336): Cake\Error\ExceptionRenderer->_outputMessage('error500') #4 C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\Error\ExceptionRenderer.php(194): Cake\Error\ExceptionRenderer->_outputMessage('error') #5 C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\Error\ErrorHandler.php(144): Cake\Error\ExceptionRenderer->render() #6 C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\Error\BaseErrorHandler.php(180): Cake\Error\ErrorHandler->_displayException(Object(Cake\Error\PHP7ErrorException)) #7 C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\Error\BaseErrorHandler.php(164): Cake\Error\BaseErrorHandler->handleException(Object(Cake\Error\PHP7ErrorException)) #8 [internal function]: Cake\Error\BaseErrorHandler->wrapAndHandleException(Object(Cake\Error\PHP7ErrorException)) #9 {main} File C:\xampp\htdocs\mmdb11\vendor\cakephp\cakephp\src\Error\ErrorHandler.php Line: 156

这些版本不兼容。您可以更新到 CakePHP 2.9.1(或 2.x 分支中的任何其他版本)。 CakePHP 3 使用命名空间,大量 代码已更改。

基本上您必须重写您的应用程序才能使用 CakePHP 3.3