after further testing it seems like "upgrade locations" is causing
this
all other subroutines are working
but this one is finished immediately without any output and then the
two core files are missing

other things i noticed:
- "upgrade request" seems only to modify "app components". it should
probably check plugin ones, too - as well as all controllers (where
$this->data should also be changed afaik)
- "upgrade helpers" dies with some missing plugin error - although the
plugins are there. do we have to "enable" plugins in the bootstrap
already in order to run this shell script?




On 19 Okt., 01:30, euromark <[email protected]> wrote:
> i have another question
>
> after running
> E:\...\trunk2\lib\Cake\Console>cake -app E:\...\trunk2\site upgrade
> all
> why does the shell delete itself?
>
> Console/AppShell.php
> Console/Shell.php
> are missing after that operation! very strange
>
> and it also only fixed __() and other minor stuff
> seems like no relocating took place...
>
> On 19 Okt., 00:22, "#2Will" <[email protected]> wrote:
>
>
>
>
>
>
>
> > I did this yesterday.  Similar process - i wasn't sure how to run the
> > upgrade shell,
>
> > I ended up replacing the app folder with my 1.3 app, and then running
> > the shell.  I don't have it in my path so instead i cd'd to my app
> > folder and ran ../lib/Cake/Console/cake upgrade all
>
> > which renamed a lot of folders and stuff.
>
> > After that it was a lot of fixing $html  to $this->Html (yes, i know -
> > shouldn't have done it like that)  and putting turnery operators
> > instead of ife functions (especially in things like slug-able
> > behaviours etc) and replacing file with spf.
>
> > Iv'e got most of a fairly complex app running in a day.  Still got
> > some ajax pagination stuff to fix tomorrow.  but all in al its not too
> > difficult at all.
>
> > Thanks to the team that made the migration docs, the upgrade script
> > and the new 2.0 release - its all v awesome!
>
> > w
>
> > On Oct 19, 4:31 am, "Larry E. Masters" <[email protected]> wrote:
>
> > > Thanks for updating your progress here. I hope this will help others as 
> > > they
> > > start migrating to 2.0. If you find anything that can help us improve the
> > > upgrade process at the core level let us 
> > > knowhttp://cakephp.lighthouseapp.com/dashboard
>
> > > --
> > > Larry E. Masters
>
> > > On Tue, Oct 18, 2011 at 12:27 PM, Jeremy Burns | Class Outfit <
>
> > > [email protected]> wrote:
> > > > I got it to work.
>
> > > > Firstly, I didn't have my path set up correctly. To remedy it, I changed
> > > > the .profile file in my home directory as follows:
>
> > > > export
> > > > PATH=/usr/local/mysql:/user/bin:/Data/jeremyburns/Sites/CakePHP/cake:/Data/
> > > >  jeremyburns/Sites/CakePHP_2_0/lib/Cake/Console:$PATH
>
> > > > -> this being the important piece:
> > > >  :/Data/jeremyburns/Sites/CakePHP_2_0/lib/Cake/Console
>
> > > > Then I created a new CakePHP 2.0 site and replaced the entire /app 
> > > > folder
> > > > with my 1.3.13 /app folder.
>
> > > > Then I navigated to the /app folder in Terminal and ran: cake upgrade 
> > > > all
>
> > > > When I visit the new site I'm getting a few errors that I am working
> > > > through and will post progress.
>
> > > > Jeremy Burns
> > > > Class Outfit
>
> > > >http://www.classoutfit.com
>
> > > > On 18 Oct 2011, at 17:21, rchavik wrote:
>
> > > > I'm guessing here, but I find that having directories in app/plugins/ 
> > > > may
> > > > cause the upgrade shell to give errors. Try removing the plugins in that
> > > > directory.
>
> > > > I have also managed to perform upgrade by renaming the app/config to
> > > > app/Config, and implicitly load the plugins by CakePlugin::loadAll()
> > > > Note: it will upgrade the plugins too. So that might not be what you 
> > > > want.
>
> > > > --
> > > > Our newest site for the community: CakePHP Video Tutorials
> > > >http://tv.cakephp.org
> > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
> > > > others with their CakePHP related questions.
>
> > > > To unsubscribe from this group, send email to
> > > > [email protected] For more options, visit this group
> > > > athttp://groups.google.com/group/cake-php
>
> > > >  --
> > > > Our newest site for the community: CakePHP Video Tutorials
> > > >http://tv.cakephp.org
> > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
> > > > others with their CakePHP related questions.
>
> > > > To unsubscribe from this group, send email to
> > > > [email protected] For more options, visit this group
> > > > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to