CakePHP autocomplete tutorial ajax error

2015-01-31 Thread ajt
Hi, In CakePHP, I am trying to create a autocomplete function from a textbox, using this tutorial: http://bakery.cakephp.org/articles/matt_1/2011/08/07/yet_another_jquery_autocomplete_helper_2 I keep getting a Error: AutoCompleteHelper could not be found. Undefined index: autoCompleteText

Re: 3.0 - Cakephp plugins gone from /plugins

2015-01-31 Thread Joe T.
>> plugins that were under /plugins were removed: >> >> /plugins >> - /Bake (gone) >> - /DebugKit (gone) >> - /Migrations (gone) >> >> However, there are new(?) directories under /vendor/cakephp corresponding >> to the sam

Re: How do I update cakephp existing app?

2015-01-30 Thread frocco
Thank you On Wednesday, January 28, 2015 at 11:22:26 AM UTC-5, frocco wrote: > > Hello, > > I see cakephp 3 has been updated, how do I update my current app that is > using an older version of cakephp 3? > > Thanks > -- Like Us on FaceBook https://www.facebook.com/Ca

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

2015-01-29 Thread Cake Developer
. > > Thanks in advance. > -- 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

Re: How do I update cakephp existing app?

2015-01-29 Thread Cakephp Expert
For more help, read this post: http://mark-story.com/posts/view/using-composer-in-cakephp-3-0 On Wednesday, January 28, 2015 at 9:52:26 PM UTC+5:30, frocco wrote: > > Hello, > > I see cakephp 3 has been updated, how do I update my current app that is > using an older versi

Re: How do I update cakephp existing app?

2015-01-28 Thread Leandro Machado Pereira
You can do composer.phar update Em qua, 28 de jan de 2015 14:22, frocco escreveu: > Hello, > > I see cakephp 3 has been updated, how do I update my current app that is > using an older version of cakephp 3? > > Thanks > > -- > Like Us on FaceBook https://www.facebo

How do I update cakephp existing app?

2015-01-28 Thread frocco
Hello, I see cakephp 3 has been updated, how do I update my current app that is using an older version of cakephp 3? Thanks -- 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

Re: 3.0 - Cakephp plugins gone from /plugins

2015-01-28 Thread José Lorenzo
> - /Migrations (gone) > > However, there are new(?) directories under /vendor/cakephp corresponding > to the same plugins: > > /vendor/cakephp > - /bake > - /debug_kit > - /migrations > > i've tried deleting everything in /plugins & /vendor and the composer.lo

3.0 - Cakephp plugins gone from /plugins

2015-01-27 Thread Joe T.
i recently did a *composer update* for my dev site, and all the Cake plugins that were under /plugins were removed: /plugins - /Bake (gone) - /DebugKit (gone) - /Migrations (gone) However, there are new(?) directories under /vendor/cakephp corresponding to the same plugins: /vendor

Amazon S3 with CakePHP

2015-01-26 Thread Rafael Queiroz
Hi, How best solution for Amazon S3 with CakePHP ? There are several plugins, what is the best ? -- Regards, Rafael F. Queiroz -- 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

Install CakePHP on Mac Yosemite

2015-01-25 Thread Lorne Dudley
i had a similar problem. i had to enable intl in php.ini, recycle server. -- 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 unsubs

Re: deploying CakePHP app

2015-01-25 Thread euromark
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 produc

Re: Credit card Expiry Date format in CakePHP 3

2015-01-25 Thread Vlad Demyan
Please, help. I am new to CakePHP. I am using CakePHP 3.0. FormHelper makes me crasy. I use following code: echo $this->Form->month('expirationMonth'); echo $this->Form->year('expirationYear', [ 'label' => '

Install CakePHP on Mac Yosemite

2015-01-25 Thread Vlad Demyan
When I try to run CakePHP on my notebook, it always shows: ( ! ) Fatal error: You must enable the intl extension to use CakePHP. in /Users/vlad/Sites/auth3/config/bootstrap.php on line *38* I have already intalled intl extension. My CLI shows: $ php -m | grep intl intl But the extension newer

Re: cakephp 3.0 time and date

2015-01-24 Thread Andras Kende
> Your format looks incorrect, as you're not using date() compatible format > values. > > -mark > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you

cakephp 3.0 time and date

2015-01-24 Thread mark_story
Your format looks incorrect, as you're not using date() compatible format values. -mark -- 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&

Re: deploying CakePHP app

2015-01-24 Thread Radharadhya Dasa
? rrd 2015-01-15 12:56 GMT+01:00 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 CakeP

Re: namespaces in cakePHP 3?

2015-01-23 Thread McScreech
got it, many thanx. On Friday, 23 January 2015 15:07:25 UTC-5, McScreech wrote: > > where are namespaces defined in cakePHP 3 source? > > (i'm posting on google groups cakePHP **and** stackoverflow cakePHP) > (if this is the wrong place to post this, i appologize - where

Re: namespaces in cakePHP 3?

2015-01-23 Thread Anthony GRASSIOT
it's defined here : https://github.com/cakephp/cakephp/blob/3.0/composer.json#L35 and corespond to the src folder. Le 23 janv. 2015 21:17, "McScreech" a écrit : > sorry, i meant to ask about the 'Cake' namespace specifically. thanx again. > > On Friday, 23 Janu

Re: namespaces in cakePHP 3?

2015-01-23 Thread McScreech
sorry, i meant to ask about the 'Cake' namespace specifically. thanx again. On Friday, 23 January 2015 15:07:25 UTC-5, McScreech wrote: > > where are namespaces defined in cakePHP 3 source? > > (i'm posting on google groups cakePHP **and** stackoverflow cakePHP) &g

namespaces in cakePHP 3?

2015-01-23 Thread McScreech
where are namespaces defined in cakePHP 3 source? (i'm posting on google groups cakePHP **and** stackoverflow cakePHP) (if this is the wrong place to post this, i appologize - where **should** it go?) setup: Windows 7 Business Edition Service Pack 1 Server version: A

cakephp 3.0 time and date

2015-01-23 Thread Andras Kende
Im trying to pass a logged in user current date with timezone offset in ‘Y-m-d’ format from controller to view in CakePHP 3.0. Somehow date format becomes datetime format once in the view. AppController.php - beforeFilter $dateuser = Time::now(); $dateuser

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

2015-01-23 Thread Cake Developer
this way merged conditions will have Users.active = 1 AND Users.active = 0 //No Result I believe it is really a issue. Thanks in advance. -- 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

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

2015-01-23 Thread José Lorenzo
What have you tried so far? On Friday, January 23, 2015 at 9:25:21 AM UTC+1, Cake Developer wrote: > > Hi Experts, > > Can anyone solve my problem please? > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You receiv

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

2015-01-23 Thread Cake Developer
Hi Experts, Can anyone solve my problem please? -- 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 grou

Re: CakePHP 3.0, Any chat application for cakephp?

2015-01-22 Thread Jungsuk Lee
Oh I didn't know that there is a web socket available in cakephp. Thank you!! Hi I'm working on cakephp to build a website and i'd like to add chatting > feature in it. > and I'm considering Javascript based chat application. > > Using AJAX was too slow to u

cakephp tests best practice

2015-01-22 Thread Alessandro Minoccheri
Hi all, I'm writing here to understand the right iter for cakephp tests. I mean about this issue: https://github.com/cakephp/cakephp/issues/5693#issuecomment-70532382 So my question is: How to make good tests? Because in cakephp documentation isn't explained well I think or

Iter of cakephp tests

2015-01-22 Thread Alessandro Minoccheri
Hi all I'm writing hereu to understand well cakephp tests. I mean about this issue: https://github.com/cakephp/cakephp/issues/5693#issuecomment-70532382 So my question is: How to make good tests? Because in cakephp documentation isn't exaplained well I think or I haven't unde

Re: CakePHP 3.0, Any chat application for cakephp?

2015-01-21 Thread Leandro Machado Pereira
chat than ajax. >> >> Em ter, 20 de jan de 2015 06:21, Jungsuk Lee >> escreveu: >> >>> Hi I'm working on cakephp to build a website and i'd like to add >>> chatting feature in it. >>> and I'm considering Javascript based chat appl

Re: CakePHP 3.0, Any chat application for cakephp?

2015-01-21 Thread Florian Krämer
more better for chat than ajax. > > Em ter, 20 de jan de 2015 06:21, Jungsuk Lee > escreveu: > >> Hi I'm working on cakephp to build a website and i'd like to add chatting >> feature in it. >> and I'm considering Javascript based chat application. >&g

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

2015-01-20 Thread Cake Developer
ithStatus', >>>>> ['status' => 'active']); >>>>> >>>>> Then in your table you would create your finders this way: >>>>> >>>>> public function finWithStatus($query, $options) { >>>>> i

Re: CakePHP 3.0, Any chat application for cakephp?

2015-01-20 Thread Leandro Machado Pereira
I think node.js is more better for chat than ajax. Em ter, 20 de jan de 2015 06:21, Jungsuk Lee escreveu: > Hi I'm working on cakephp to build a website and i'd like to add chatting > feature in it. > and I'm considering Javascript based chat application. > > Using

CakePHP 3.0, Any chat application for cakephp?

2015-01-20 Thread Jungsuk Lee
Hi I'm working on cakephp to build a website and i'd like to add chatting feature in it. and I'm considering Javascript based chat application. Using AJAX was too slow to use. any other way? Please help. Thank you in advance! -- Like Us on FaceBook https://www.facebook.com/Cak

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

2015-01-19 Thread José Lorenzo
ser'])) { >>>> // The user is available from the previous finder, I can add >>>> more conditions here based on that >>>> } >>>> } >>>> >>>> >>>> I guess the best way I can help you find the best strate

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

2015-01-19 Thread God bless
lp you find the best strategy is if you >>> mention what exactly you are trying to do :D >>> On Thursday, January 15, 2015 at 3:26:09 PM UTC+1, Cake Developer wrote: >>>> >>>> Hello, >>>> >>>> I am trying to get and modify query

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

2015-01-19 Thread José Lorenzo
t 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'); >>> //

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

2015-01-19 Thread Cake Developer
nd 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 abl

Re: CakePHP-Upload Plugin > FileImportBehavior: How to use ?

2015-01-17 Thread Salines
I ask the same question here http://stackoverflow.com/questions/27999313/cakephp-upload-plugin-programmatic-file-retrieval-without-a-form -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are

Re: CakePHP-Upload Plugin > FileImportBehavior: How to use ?

2015-01-17 Thread Salines
Programmatic File Retrieval without a Form http://cakephp-upload.readthedocs.org/en/latest/examples.html#programmatic-file-retrieval-without-a-form Can someone tell me what it means and how to set up $image_url, whether it is a local file or from a remote server? When I save the article, at

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

2015-01-16 Thread Cake Developer
sers.active field so this way wrong result comes, means inactive users also comes. //in this case original condition should preserve. // What I want solution is If some how I get existing condition as an array then I can modify them and can call $query->where($cond, [], ture); //As we d

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

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

2015-01-15 Thread José Lorenzo
gt; > 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 o

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

2015-01-15 Thread John Andersen
> Besides users, lots of tests are able to be tested just by searching but > not creating new record for those purposes. > > Thanks, tech_me > > > On Thursday, January 15, 2015 at 5:15:16 AM UTC+9, John Andersen wrote: >> >> Use the password hasher to hash your

Cakephp 3.0 Get and Modify Query conditions in beforeFind function

2015-01-15 Thread Cake Developer
and I am not able to convert it in condition array like we have in cakephp 2.x //what I want to achieve... //I want to modify existing conditions in query. //I want to add new condition in query } I spent last 2 days but could not figure out any solution. Thanks for any help you may be ab

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

2015-01-15 Thread tech_me
e tested just by searching but not creating new record for those purposes. Thanks, tech_me On Thursday, January 15, 2015 at 5:15:16 AM UTC+9, John Andersen wrote: > > Use the password hasher to hash your password, then save it instead of > "123" and it should work. > >

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 ser

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

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

2015-01-14 Thread John Andersen
Use the password hasher to hash your password, then save it instead of "123" and it should work. See the CakePHP book at this location for the password hasher: http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords Enjoy, John On Sunday, 11 Ja

Re: CakePHP 3: 2 Qs - Response From Filter & Helper Constructor

2015-01-14 Thread José Lorenzo
ceBook 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+unsubscr...@googlegroup

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

2015-01-13 Thread Joe T.
27;action' => 'login')); >>>>>> >>>>>> public function beforeFilter() { >>>>>> $this->Auth->allow('login', 'logout'); >>>>>> } >>>>>> >>>>>> In

Re: CakePHP 3: 2 Qs - Response From Filter & Helper Constructor

2015-01-13 Thread Chris White
Oh, and that was a simple anonymization error on my part in the post. The response data is fine. -- 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&q

Re: CakePHP 3: 2 Qs - Response From Filter & Helper Constructor

2015-01-13 Thread Chris White
José, Thank you! Simple enough; I should have tried that. Still not sure about the filter response issue for anyone else reading. Chris -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are

Re: CakePHP 3: 2 Qs - Response From Filter & Helper Constructor

2015-01-13 Thread José Lorenzo
lse, and not where you think. In your custom helper you would do: public function __construct(\MyNS\View\AppView $view, $config=[]) { And that should fix it! On Tuesday, January 13, 2015 at 3:45:41 PM UTC+1, Chris White wrote: > > Hi all, > > I'm porting a fairly sizable CakeP

CakePHP 3: 2 Qs - Response From Filter & Helper Constructor

2015-01-13 Thread Chris White
Hi all, I'm porting a fairly sizable CakePHP 1.3 app to CakePHP 3 and have run into a couple of issues with which hopefully someone can help me out. *Rejecting a Request from a Filter* First, I'm trying to reject a request from a filter. I am setting the response's type to json

Re: Cakephp rediffmail issues

2015-01-13 Thread Sudhir Pandey
resolved Remove the title form html layout -- 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

mathematical operations with forms in cakephp

2015-01-12 Thread Jorge I Pineda G
Buenas tardes, ante todo un cordial saludos para todos en el foro. tengo un inconveniente, y necesito ayuda. por favor serian tan amables de ayudarme con información , textos, ejemplos, para realizar operaciones matematicas en cakephp, el problema es que aun soy muy novato y se me complica un

CakePHP-Upload Plugin > FileImportBehavior: How to use ?

2015-01-11 Thread Salines
Hi people, How to use cakephp upload plugin, and import behavior ( https://github.com/josegonzalez/cakephp-upload ) to handle the existing images and save their name into database? I have a task to migrate data and images from joomla cms into custom CMS built into CakePHP. In joomla cms many

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

2015-01-11 Thread tech_me
>>>>> In my UsersController.php >>>>> public function login() { >>>>> if ($this->request->is('post')) { >>>>>if ($this->Auth->login()) { >>>>> re

Re: cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-10 Thread Lorne Dudley
Hi Mark ! OK, I have burned up enough time up on this. It is not clear to me whether I am dealing with a plugin or a helper. I did read up on Configure:: though, and that knowledge will be useful. I got as far as tracing entry to your FormHelper, followed by entry to the cakePHP

Re: cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-09 Thread Lorne Dudley
you answer two questions though ? ( guess that is really three :-) ) > > Should I focus on your #L44 version ? > > If I get this working, does your FormHelper.php completely replace the > function in /vendor/cakephp/cakephp/src/View/Helper/FormHelper.php ? > > Regards > >

Re: cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-09 Thread Lorne Dudley
completely replace the function in /vendor/cakephp/cakephp/src/View/Helper/FormHelper.php ? Regards Lorne On Friday, January 9, 2015 at 2:45:21 PM UTC-5, euromark wrote: > > Lorne > you can actually set a config on the user side when using sth similar I > did in my plugin (since 2

Re: cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-09 Thread euromark
Never mind my solution then. It would need a little bit more knowledge of how CakePHP works. Even though it would exactly do what you want to. Try to read the wiki documentation and study the plugin code more, that might clarify it a bit. But note that this is an extended FormHelper, not the

Re: cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-09 Thread Lorne Dudley
Hello Mark ! Thanks for this. At first glance I do not see any difference between the #L16 and the #L44 version. I have loaded the #L44 version as /src/View/Helper/FornHelper.php. I do not know where to place Configure::write('FormConfig.novalidate', 'true'); I'm

Re: cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-09 Thread euromark
Lorne you can actually set a config on the user side when using sth similar I did in my plugin (since 2.x). You can either use my Tools plugin directly, or copy and paste the relevant part: https://github.com/dereuromark/cakephp-tools/blob/cake3/src/View/Helper/FormHelper.php#L16 https

Re: cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-09 Thread Lorne Dudley
Hello José Thanks for the reference. If I interpret the manual properly, I think it wants me to store the custom widget under the /vendor/cakephp/cakephp/src/View/Widget/ directory structure ? If this is correct then would the custom widget be wiped out every time I did a "composer u

Cakephp rediffmail issues

2015-01-09 Thread Sudhir Pandey
Hi, When I am sending mail from Cakephp to rediffmail. Then in body section mailformat is also defined. I have used Cakephp Email html format. I have done following code: $email = new CakeEmail('smtp'); $email->viewVars($vars); $email->to($to); $email->subject($subject);

Re: cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-09 Thread José Lorenzo
, January 9, 2015 at 5:28:48 AM UTC+1, Lorne Dudley wrote: > > I have finally found the method to turn off browser validation so that > cakePHP can take control of the validation instead. > > This works for me. > > Form->button(__('Submit'

cakePHP 3.0-RC1, turning off HTML5 browser validation globally on user side ???

2015-01-08 Thread Lorne Dudley
I have finally found the method to turn off browser validation so that cakePHP can take control of the validation instead. This works for me. Form->button(__('Submit'), array('formnovalidate' => true)) ?> Rather than do this for every Form, is the

Re: Validation error on "baked" date field , CakePHP 3

2015-01-08 Thread euromark
Answer is here: https://github.com/cakephp/cakephp/issues/5611 Am Donnerstag, 8. Januar 2015 21:54:34 UTC+1 schrieb Lorne Dudley: > > I have a "baked" cakePHP-3.0.0 page which has a field defined as > 'date_of_birth date DEFAULT NULL' in TABLE users. > When

Validation error on "baked" date field , CakePHP 3

2015-01-08 Thread Lorne Dudley
I have a "baked" cakePHP-3.0.0 page which has a field defined as 'date_of_birth date DEFAULT NULL' in TABLE users. When I click the Submit for the "add" function I get Warning (2): preg_match() expects parameter 2 to be string, array given [CORE\src\Valid

Re: CakePHP routes always pointing to same action

2015-01-07 Thread John Andersen
t of your definition...); > > Kindly inform us whether or not that solved your problem :) > Enjoy, John > > On Wednesday, 7 January 2015 03:34:43 UTC+2, Lợi Nguyễn Đình wrote: >> >> I am facing some problems in routing under cakephp >> there are two actions in my co

Re: CakePHP routes always pointing to same action

2015-01-07 Thread John Andersen
7;, ...rest of your definition...); Kindly inform us whether or not that solved your problem :) Enjoy, John On Wednesday, 7 January 2015 03:34:43 UTC+2, Lợi Nguyễn Đình wrote: > > I am facing some problems in routing under cakephp > there are two actions in my controller > they are as b

Re: CakePHP 3: Logs being saved to webroot

2015-01-07 Thread rchavik
s > probably not good. There was no change to my code, just cake from the > update. > You probably need to update your APP config: https://github.com/cakephp/app/blob/master/config/app.default.php#L273 See https://github.com/cakephp/cakephp/issues/5489 -- Like Us on FaceBoo

CakePHP 3: Logs being saved to webroot

2015-01-07 Thread Mark Speener
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 ca

CakePHP routes always pointing to same action

2015-01-07 Thread Lợi Nguyễn Đình
I am facing some problems in routing under cakephp there are two actions in my controller they are as below: example.com/posts/show/show-by-day example.com/posts/view/slug-post I want them as: example.com/article/show-by-day.html example.com/article/slug-post.html So i routes file under config

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

2015-01-05 Thread Joe T.
} else { >>>> echo ('failed'); // Always come here... >>>> } >>>> } >>>> } >>>> >>>> public function logout() { >>>> $this->Auth-&

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

2015-01-03 Thread tech_me
ay('action' => 'login')); >>> } >>> >>> Could you give some hints, please? >>> Thank you. >>> >>> >>> On Sunday, December 21, 2014 4:48:14 PM UTC+9, tech_me wrote: >>>> >>>> 1. Yes

Validation error on date field , CakePHP 3

2015-01-03 Thread Paulo Homem
})([- /.])(?:(?:(?:0?[13578]|1[02])\2(?:31))|(?:(?:0?[1,3-9]|1[0-2])\2(29|30))|(?:(?:0?[1-9])|(?:1[0-2]))\2(?:0?[1-9]|1\d|2[0-8]$%' $check = [ 'year' => '2015', 'month' => '01', 'day' => '02' ] -> expecting String for

Re: mailchimp cakephp api

2015-01-02 Thread ajt
I can already create and save emails with cakeemail so forget about this issue . I dont have a cakephp issue I have a problem getting the API mailchimp to connect and then being able to access emails. Composer is never simple . If I am going to to get this to work then it will be easier of

Re: cakephp-3.0.0-beta3 Fatal error: Class 'Locale' not found in \cakephp-3.0.0-beta3\vendor\cakephp\cakephp\src\I18n\I18n.php on line 229

2015-01-02 Thread John Andersen
I see you got the answer in another thread, so ignore my previous post :) Enjoy, John -- 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"

Re: cakephp-3.0.0-beta3 Fatal error: Class 'Locale' not found in \cakephp-3.0.0-beta3\vendor\cakephp\cakephp\src\I18n\I18n.php on line 229

2015-01-02 Thread John Andersen
Please provide more information. How did you install and setup CakePHP 3.0.0-beta3? What does your folder structure look like? Where is the webroot folder located? Did you setup your webserver to point the documentroot at the webroot? The reason I ask, is that I just downloaded CakePHP 3.0.0

Re: CakePHP 3.0.0-beta3 released

2015-01-02 Thread Lorne Dudley
app.php. On Thursday, January 1, 2015 11:53:14 PM UTC-5, Lorne Dudley wrote: > > Hello Mark ! > > I have made a number of attempts at getting different cakephp 3.0.0-beta3 > applications to run without success. In all cases I get to this message. > *Fatal error*: Class 'Loc

CakePHP 3.0.0-RC1 Released

2015-01-02 Thread José Lorenzo
The CakePHP core team is proud to announce the first release candidate for CakePHP 3.0.0 <https://github.com/cakephp/cakephp/releases/3.0.0-rc1>. It's been an intense time since our last beta release. We have been busy polishing most of the rough edges that we could find with the

Re: CakePHP 3.0.0-beta3 released

2015-01-01 Thread Lorne Dudley
php extension. > Le 2 janv. 2015 05:53, "Lorne Dudley" > a > écrit : > >> Hello Mark ! >> >> I have made a number of attempts at getting different cakephp 3.0.0-beta3 >> applications to run without success. In all cases I get to this message. >> *

Re: CakePHP 3.0.0-beta3 released

2015-01-01 Thread Anthony GRASSIOT
you must enable intl php extension. Le 2 janv. 2015 05:53, "Lorne Dudley" a écrit : > Hello Mark ! > > I have made a number of attempts at getting different cakephp 3.0.0-beta3 > applications to run without success. In all cases I get to this message. > *Fatal error*:

Re: CakePHP 3.0.0-beta3 released

2015-01-01 Thread Lorne Dudley
Hello Mark ! I have made a number of attempts at getting different cakephp 3.0.0-beta3 applications to run without success. In all cases I get to this message. *Fatal error*: Class 'Locale' not found in *C:\Users\RedFox\Documents\web\app-master-cake3\vendor\cakephp\cakephp\src\I18

cakephp-3.0.0-beta3 Fatal error: Class 'Locale' not found in \cakephp-3.0.0-beta3\vendor\cakephp\cakephp\src\I18n\I18n.php on line 229

2015-01-01 Thread Lorne Dudley
I am a novice cakephp user who just downloaded the 3.0.0-beta3 version. I get "*Fatal error*: Class 'Locale' not found in *\cakephp-3.0.0-beta3\vendor\cakephp\cakephp\src\I18n\I18n.php* on line *229*when I attempt to access http://localhost/cakephp-3.0.0-beta3 Can anyone give

cakePHP 3.0 "out of the box" working example for the novice user ???

2015-01-01 Thread Lorne Dudley
I am a cakePHP novice and am attempting to learn by examination of a working model. So far I have downloaded two cakePHP 3 examples. Both were missing a \vendor\autoload.php component. Can anyone point me to a cakePHP 3 example that works "out of the box" without any additi

Re: mailchimp cakephp api

2015-01-01 Thread euromark
Those are all pretty common-knowledge things regarding basic CakePHP stuff, if you used it for a while. It might be best to first get a grasp on CakePHP and a few easy things, and go from there. Don't try to understand all at once. Using composer is explained on their page. You could just

mailchimp cakephp api

2014-12-31 Thread ajt
Hi, I want to be able to view emails in a cakephp page sent via mailchimp. The API is here but Here are the instructions https://github.com/dereuromark/cakephp-mailchimp 1)Install the plugin into the APP/Plugin folder, ideally via composer. //how? I just copied the extracted zip folder

Re: CakePHP 3.0.0-beta3 released

2014-12-29 Thread Farid Aditya
hi mark I have a question already can cakephp version 3 is used for the production phase for a very simple site? or I still have to use cakephp version 2. because I come from areas that do not use the English language, I use Inflector :: rules. in cakephp version 2 I put like this in Inflector

Re: CakePHP 2.5.*- Find all posts by current month and day (m-d)

2014-12-29 Thread Salines
Thank you. -- 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

Re: CakePHP 2.5.*- Find all posts by current month and day (m-d)

2014-12-29 Thread John Andersen
It does work in MySQL though, so it should work in CakePHP also :) Enjoy, John On Monday, 29 December 2014 14:42:38 UTC+2, John Andersen wrote: > > Assuming I understand it correctly, then you want to query your posts, so > that any event_date having a month = 12 and a day = 29, not ta

Re: CakePHP 2.5.*- Find all posts by current month and day (m-d)

2014-12-29 Thread John Andersen
t events. > In other words I need to show the anniversary. > > Except using virtual fields where I will show formatted date without year > (m-d), is there a more elegant solution? > > Thanks > > > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on T

Re: CakePHP 2.5.*- Find all posts by current month and day (m-d)

2014-12-29 Thread Salines
words I need to show the anniversary. Except using virtual fields where I will show formatted date without year (m-d), is there a more elegant solution? Thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this mes

Re: CakePHP 2.5.*- Find all posts by current month and day (m-d)

2014-12-28 Thread John Andersen
; 1953-12-29 > 1911-12-29 > > Please your advice, thanks > -- 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 thi

CakePHP 2.5.*- Find all posts by current month and day (m-d)

2014-12-28 Thread Salines
hanks -- 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 ca

Re: Date picker for CakePHP 2.0.3

2014-12-27 Thread Sandeep Kumar
; *$(function() {$("#datepicker").datepicker();});* > > 6. Call the date picker in your form: > > > > > > *echo $this->Form->input('expire', array( > 'id'=>'datepicker','type'=&g

Re: Cakephp: 1 core 1 app many webroot?

2014-12-24 Thread John Andersen
CakePHP uses an constant, APP_DIR, to point to where the App folder is located. My guess is that you just need to ensure that the index.php for each user webroot points to the same App folder. Check the CakePHP book at: http://book.cakephp.org/2.0/en/installation/advanced-installation.html

Re: Cakephp: 1 core 1 app many webroot?

2014-12-24 Thread Rafael Queiroz
Banny, Try it Themes in CakePHP: http://book.cakephp.org/2.0/en/views/themes.html You can choose current theme in AppController, write your logic. It's perfect to your case, read and refactoring your structure. On Tue, Dec 23, 2014 at 11:51 PM, Banny Muth wrote: > Hi I'm a new bo

<    3   4   5   6   7   8   9   10   11   12   >