See http://stackoverflow.com/questions/25162334/upgrade-cakephp-1-2-to-2-4 
for future reference

Am Mittwoch, 6. August 2014 16:04:42 UTC+2 schrieb Chetan Patel:
>
> Upgrade CakePHP 1.2 to 2.4
>
> *What I have :*
>
> I have cakephp application,which is in CakePHP 1.2.12.
>
> *What I tried :*
>
> I use Upgrade Plugin : https://github.com/dereuromark/cakephp-upgrade
>
> I have followed all the step
> 1. download new Cakephp 2.4
> 2. create Plugin in folder inside app of cakephp1.3 application
> 3. rename /app/config folder to /app/Config
> 4. write CakePlugin::loadAll(); in my app/Config bootstrap
>
>
> *What the error :*
> when I try to 
> ..\lib\Cake\Console\cake Upgrade.Upgrade all
>
> Its give me error like
>
> Error: Plugin Upgrade could not be found.
> #0 C:\xampp\htdocs\cakephp24\lib\Cake\Core\App.php(365): 
> CakePlugin::path('Upgra
> de')
> #1 C:\xampp\htdocs\cakephp24\lib\Cake\Core\App.php(226): 
> App::pluginPath('Upgrad
> e')
> #2 C:\xampp\htdocs\cakephp24\lib\Cake\Core\App.php(547): 
> App::path('Console/Comm
> and', 'Upgrade')
> #3 [internal function]: App::load('UpgradeShell')
> #4 [internal function]: spl_autoload_call('UpgradeShell')
> #5 C:\xampp\htdocs\cakephp24\lib\Cake\Console\ShellDispatcher.php(247): 
> class_ex
> ists('UpgradeShell')
> #6 C:\xampp\htdocs\cakephp24\lib\Cake\Console\ShellDispatcher.php(198): 
> ShellDis
> patcher->_getShell('Upgrade.Upgrade')
> #7 C:\xampp\htdocs\cakephp24\lib\Cake\Console\ShellDispatcher.php(66): 
> ShellDisp
> atcher->dispatch()
> #8 C:\xampp\htdocs\cakephp24\lib\Cake\Console\cake.php(49): 
> ShellDispatcher::run
> (Array)
> #9 {main}
>
> On Sunday, 24 February 2013 18:35:52 UTC+5:30, acl68 wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE----- 
>> Hash: SHA1 
>>
>> Hi everybody, 
>>
>>
>> after getting strange error messages with the default 2.0 migration 
>> shell I tried it now with the improved version from euromark: 
>> https://github.com/dereuromark/upgrade 
>>
>>
>> Here the facts: 
>> I am running Linux with php 5.4. 
>> I downloaded cake 2.3.0 and euromarks plug-in. 
>> After unpacking the new cake version to my webroot ( and setting all 
>> rights to executable for me an my Apache) I renamed my 1.3 app to "app", 
>> adapted the cake core path in my webroot/index.php so it points to the 
>> Cake folder in the "lib" folder. I renamed app/config to app/Config and 
>> added the CakePlugin::loadAll(); to the bootstrap. 
>>
>>
>> Questions: 
>> Where do the files from the plug-in go? Do they just stay in the 
>> app/plug-in/upgrade-master folder? Or do I replace the files in the 
>> default Cake Core folders with them? 
>>
>> Can I tell the upgrade shell which app it should update, or do I have to 
>> rename it to "app"? 
>>
>> When I tried to let it run no files were changed but empty folders 
>> "Model" Controller" etc were created under /app/Console/... 
>>
>>
>> Exists there somewhere an extensive HowTo for using this plug-in? The 
>> readme doesn't answer all my questions. 
>>
>>
>> Also it works only if I call the shell with 
>> /var/www/cakephp-2.3.0/app/Console$ ./cake upgrade all 
>> and not 
>> /var/www/cakephp-2.3.0/app/Console$ ./cake Upgrade.Upgrade all 
>>
>> Thanks for any help! If I don't get this done within the next week I 
>> will stay with 1.3. *sigh* 
>>
>> Calamity Jane 
>>
>> -----BEGIN PGP SIGNATURE----- 
>> Version: GnuPG v1.4.11 (GNU/Linux) 
>>
>> iEYEARECAAYFAlEqEDAACgkQbOdiIJzHNKHn/wCeIPKqr75ECx+feuEXfwOxSIPW 
>> pEUAn2b2NDeIRnfbkfsL9lIxbPwsY5GY 
>> =QeEG 
>> -----END PGP SIGNATURE----- 
>>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to