Re: 3.0 plugin installer path

2015-01-15 Thread Dieter Gribnitz
Never mind. I fixed the issues I had regarding the paths. I forgot that I already converted my bash scripts to cake shell scripts. It was trivially easy to update the paths since I have access to functions like Plugin::path() from within the shell. -- Like Us on FaceBook https://www.facebook.c

3.0 plugin installer path

2015-01-15 Thread Dieter Gribnitz
Hi, I have been using the composer plugin installer for some of the plugins I am working on. I see that the plugins now install to the vendor/namespace/PluginName dir instead of src/Plugins/PluginName. Is there any way for me to configure the installer to install to the Plugins dir instead of ve

Re: Cake 3 RC1 aura intl problem

2015-01-15 Thread HVan
Nope - sorry the locale changed because I tried changing it to see if it will fix anything. But it didn't. It sounds like the problem is during generation of the translations cache. On Thursday, January 15, 2015 at 7:27:49 AM UTC-8, José Lorenzo wrote: > > But I guess the problem is not the cach

CakePHP 2.6.1 Released

2015-01-15 Thread mark_story
The CakePHP core team is proud to announce the immediate availability of CakePHP 2.6.1. 2.6.1 is a bugfix release for the 2.6 release branch. A short list of the changes you can expect is: * I18nShell now correctly extracts messages with context. * Improved web test runner. All URL options now h

Re: 3.0 e mysql fields ENUM

2015-01-15 Thread Leandro Machado Pereira
I gave up using enum. Thanks. Em Thu Jan 15 2015 at 17:31:51, Leandro Machado Pereira < llperei...@gmail.com> escreveu: > Hey guy, I tried to do work my fields with mysql ENUM. > > In cake 2.0 i used this helper. > > > http://www.drawbackz.com/stack/251186/cakephp-2-0-use-mysql-enum-field-with-for

3.0 e mysql fields ENUM

2015-01-15 Thread Leandro Machado Pereira
Hey guy, I tried to do work my fields with mysql ENUM. In cake 2.0 i used this helper. http://www.drawbackz.com/stack/251186/cakephp-2-0-use-mysql-enum-field-with-form-helper-to-create-select-input.html But in cake 3.0 i'm have dificults for work fine. I received errors in this line. $modelKey

Re: Cakephp 3.0 Get and Modify Query conditions in beforeFind function

2015-01-15 Thread José Lorenzo
Even though that is possible you are tying to do it the hard way. The easiest way you can implement the same is by using the query as a "command" object, thus instructing the custom finders to do stuff based on the passed options. An example $table->find('forUser', ['user' => $user])->find('wit

Re: CakePHP 2.0 authentication(login) without ctp files but other types

2015-01-15 Thread John Andersen
You have a users table with two records, where the one with id = 1001 has the password = 123. The password needs to be changed to the hashed value that Auth/password hasher can provide to you. Make sure that your password column in the table has a definition that can contain a hashed password -

Cakephp 3.0 Get and Modify Query conditions in beforeFind function

2015-01-15 Thread Cake Developer
Hello, I am trying to get and modify query conditions in beforeFind function of Behaviour. function beforeFind(Event $event, Query $query, $options, $primary) { // here is what I tried so far. $conditions = $query->clause('where'); // this gives me Object of Expression Interface and I am not

Re: Cake 3 RC1 aura intl problem

2015-01-15 Thread José Lorenzo
But I guess the problem is not the cache, just that a random locale is being selected, no? On Thursday, January 15, 2015 at 3:36:48 PM UTC+1, HVan wrote: > > Yeah I've tried keeping it at en_US, and putting it blank. Neither worked. > Putting it blank would give me the en_US_POSIX locale (which

Re: CakePHP 2.0 authentication(login) without ctp files but other types

2015-01-15 Thread tech_me
Hi John, > Use the password hasher to hash your password, then save it instead of "123" and it should work. So could I put hasshed password to table without create new user record? I have read your link, but there is just creating user... Besides users, lots of tests are able to be tested just b

Re: Cake 3 RC1 aura intl problem

2015-01-15 Thread HVan
Yeah I've tried keeping it at en_US, and putting it blank. Neither worked. Putting it blank would give me the en_US_POSIX locale (which is by default). I've checked /tmp/cache/persistent and these files are generated and exist when the error comes up. myapp_cake_core_translations_cake_en__u_u

Re: Cake 3 RC1 aura intl problem

2015-01-15 Thread José Lorenzo
Are you changing the default locale anywhere? If not I'd suggest setting ini_set('intl.default_locale', 'en_US'); in your bootstrap.php file On Wednesday, January 14, 2015 at 11:59:35 PM UTC+1, HVan wrote: > > Can't figure why I'm having this problem: > > Aura\Intl\Exception: Package 'cake' wit

Re: deploying CakePHP app

2015-01-15 Thread Rafael Queiroz
Using git hooks (http://git-scm.com/book/be/v2/Customizing-Git-Git-Hooks) or capistrano (http://capistranorb.com/). On Thu, Jan 15, 2015 at 8:49 AM, Radharadhya Dasa wrote: > Hi, > > I have a CakePHP app hosted at github. What is the best way to deploy it > to the production server? > > rrd > >

deploying CakePHP app

2015-01-15 Thread Radharadhya Dasa
Hi, I have a CakePHP app hosted at github. What is the best way to deploy it to the production server? rrd -- 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 "Cak