neginf Posted June 11, 2013 Share Posted June 11, 2013 Have project working in 1.3.16. Written by someone else. To put it in 2.3.5, trying to do what's suggested on the 2nd page of this article. http://book.cakephp.org/2.0/en/console-and-shells/upgrade-shell.html Copied lib folder from the CakePHP 2.3.5 area to the 1.3.16 area and copied the console folder from 2.3.5 to the 1.3.16 app folder like the article said. Then tried to run UpgradeShell.php which is in the lib\Cake\Console\Command directory and run it from the app folder this way at the prompt c:\inetpub\wwwroot\old\app>php ..\lib\Cake\Console\Command\UpgradeShell.php --dry-run This is the error I got PHP fatal error:Class 'App' not found in c:\inetpub\wwwroot\old\lib\Cake\Console\Command\UpGradeShell.php on line 21. That line is App::uses('AppShell','Console/Command'); How can I get UpgradeShell.php to run ? Quote Link to comment https://forums.phpfreaks.com/topic/279048-changing-cakephp-project-from-version-1316-to-235/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.