Re: Some talk about complex Applications with CakePHP

2013-11-12 Thread Dakota
Take a look at https://github.com/infinitas/infinities for an example of an complex cakephp application. Also take a look at custom paginator methods. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because yo

Re: AclNode::node() - Couldn't find Aro node identified by "Array ( [Aro0.model] => Group [Aro0.foreign_key] => 1 )

2013-11-12 Thread Thiago Ramos
Feeling the dumbest guy in the world right now! Figured out I had the same problem after 1 hour going through every single line of the tutorial again... Thanks Rob! On Tuesday, April 2, 2013 3:31:41 PM UTC-3, Robert Denomme wrote: > > I had this same error message, what I had done was create a

Cakephp 2.3.5 - Edit data gets "Integrity constraint violation: 1062 Duplicate entry"

2013-11-12 Thread Diego Lopes
I have an model with hbtm and was working fine, but about an day, when i try do edit an Record, the query try to SET the primary key and "Erro: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4472' for key 'PRIMARY'". Any ideas ? -- Like Us on FaceBook https://www.facebo

How to add class at checkbox in cakePHP 2.0?

2013-11-12 Thread kushal i s
How to add class at check box.? *Code* echo $this->Form->select('user_list', $user_options, array( 'multiple' => 'checkbox', 'name' => 'data[GroupUser][user_id]', 'class' => 'validate[maxCheckbox[1]]',)); *output:-* rahim basheer ram kumar riyas khan ramesh krishna *I need the following format o

cakephp session lost and sometimes refresh webpage it can be get

2013-11-12 Thread paul chen
like login I write $this->Session->write('custpyzm',$verifyCode); and I submit then in users_controller I write $this->Session->read('custpyzm'); but sometimes it can't be getted; and if I refresh webpage sometime it can be getted sometimes can't ? what's on earth ?help someone can

CakePHP 2.x running on Lighttpd

2013-11-12 Thread Riccardo Trombini
Hi Did someone successfully manage to run CakePHP 2.x on a lighttp server? I am having troubles accessing javascript and css-files. I run into an error 404. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message be

Re: Some talk about complex Applications with CakePHP

2013-11-12 Thread Ighor Martins
Thank you for your answer. I know the problem is on my code, that's why I came here to ask that. I use cake for almost 2 years now, and everywhere I look on the internet, I see people writing bunch of codes on controllers. I never really seen an application really active record oriented with Cake

Pagination option url question

2013-11-12 Thread heohni
Hi, I used this code: $this->Paginator->options(array('url' => array($this->params->url))); and later on: echo $this->Paginator->link('5',array('limit' => '5'), $options = array('escape' => false)); and echo $this->Paginator->sort('price', $text, $options = array('escape' => false, 'direction'=