Re: 3.0 - How to add a form data using its primarykey to its associated tables

2014-12-11 Thread Md Bayezid Alam
HI May i get a suggestion on this? I did google but found nothing. Thanks Bayezid On Thu, Dec 11, 2014 at 10:07 PM, Md Bayezid Alam wrote: > > Hi, > > > i have Tables : > > Units hasOne costs & hasOne fixed_costs > > i want to add data to costs and fixed_costs table using units's primary > key

Re: CakePHP 3.0, how to change user password?

2014-12-11 Thread euromark
The same as in 2.x basically applies. You hash your form field and save it. If you want to send an email for "password forgotten", use a token and let the user afterwards chose a new one. Don't send the plain password. You can also look into https://github.com/dereuromark/cakephp-tools/blob/cake

Re: moving cakephp to a new server

2014-12-11 Thread John Andersen
Hi Enrique Is your webserver setup so that the root of your site points to the \app\webroot folder? You have to give us more information on how your setup is; what CakePHP version you are using; etc. :) Enjoy, John On Wednesday, 10 December 2014 07:15:25 UTC+2, Enrique Martinez wrote: > > I'm

Re: Auth infinite redirect

2014-12-11 Thread John Andersen
Hi Felipe Turn on debugging and tell us what this $this->Auth->redirectUrl() returns in your login method. Enjoy, John On Thursday, 11 December 2014 19:36:30 UTC+2, Felipe Silveira wrote: > > Hello everybody, > > I have a problem with Auth which is well known, researched enough but > found not

Auth infinite redirect

2014-12-11 Thread Felipe Silveira
Hello everybody, I have a problem with Auth which is well known, researched enough but found nothing that would solve my problem, anyway. I'm using a database that is not in the Cake convention, then set up the Auth according to the existing structure already and when I try to access the system (

Re: CakePHP 3 - Need File upload example

2014-12-11 Thread frocco
Thanks, Do I just use PHP move_uploaded_file command or does CakePHP 3 have it's own methods? On Thursday, December 11, 2014 9:04:24 AM UTC-5, José Lorenzo wrote: > > Create a form with a file input. Make sure that you call > $this->Form->create($entity, ['file' => true]); when creating that

CakePHP 3.0, how to change user password?

2014-12-11 Thread frocco
Hi All, Looking for an example that allows users to change their password. 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 unsubsc

3.0 - How to add a form data using its primarykey to its associated tables

2014-12-11 Thread Md Bayezid Alam
Hi, i have Tables : Units hasOne costs & hasOne fixed_costs i want to add data to costs and fixed_costs table using units's primary key from units Controller. i did below things but its creating a new record at unit Table instead of using primaryKey Form at unitsController: Form->create($uni

Re: CakePHP 3 - Need File upload example

2014-12-11 Thread José Lorenzo
Create a form with a file input. Make sure that you call $this->Form->create($entity, ['file' => true]); when creating that form On Thursday, December 11, 2014 2:45:38 PM UTC+1, frocco wrote: > > Let me rephrase this. What do cakephp 3 users use for file upload? > > On Tuesday, December 9, 2014

Re: CakePHP 3 - Need File upload example

2014-12-11 Thread frocco
Let me rephrase this. What do cakephp 3 users use for file upload? On Tuesday, December 9, 2014 9:17:18 AM UTC-5, frocco wrote: > > Hello, > > Can someone point me to a tutorial explaining this? > > Thanks > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitt

moving cakephp to a new server

2014-12-11 Thread Enrique Martinez
I'm moving a cake php to a windows server but it is not on iis7 When I copied the files over and go to the directory my templates load The only problem is when I try to load my index.php it says page not found What can i try to solve this problem -- Like Us on FaceBook https://www.facebook.com

Moving cake php application to another server

2014-12-11 Thread Enrique Martinez
Hello Everyone I'm having trouble with a application When i type the url http://couri2.utep.edu/abstract It returns this error Error: The requested address '/abstract/index.php/abstract' was not found on this server When i try to comment //Configure::write('App.baseUrl', env('SCRIPT_NAME')); a