Sunday, February 24, 2013

Re: Stuck with migration from 1.3 to 2.x / euromark plugin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If I use the cake shell in the core I get this:

anja@THOR:/var/www/cakephp-2.3.0/lib/Cake/Console$ ./cake upgrade all
- --dry-run
PHP ReflectionException: Method UpgradeShell::main() does not exist in
/var/www/cakephp-2.3.0/lib/Cake/Console/Shell.php on line 288


???


Calamity Jane

Am 24.02.2013 20:42, schrieb Anja Liebermann:
> Of course I did. About 5-6 times ;)
>
> Calamity Jane
>
>
> Am 24.02.2013 15:48, schrieb euromark:
>> You did read the readme.txt right? :)
>> It answers all of your questions above and many more..
>
>
>> Am Sonntag, 24. Februar 2013 14:05:52 UTC+1 schrieb acl68:
>>>
>> 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)

iEYEARECAAYFAlEqdEsACgkQbOdiIJzHNKHcKACbBAjP4PFK0sfocJoOgGXVjNsg
TUsAn1LJ+ENrwc4pcG75fz2We70P0/Tp
=q0Ve
-----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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: