Re: cakePHP File Download was not found or not readable

2014-01-23 Thread gabrielr
may be is because te permission of the files folder. Trt to set the permisssion to 0777 to app/webroot/files and all its files. if it works then i suggest to change the owner of the folder to the apache user and set the permissions to 0755 again -- Like Us on FaceBook https://www.facebook.com

Re: Joining tables after belongsTo Associations

2011-11-20 Thread gabrielr
By the way, thanks. I solved it unbiding the model and adding that model in the $options['joins']- On 18 nov, 10:08, phpMagpie wrote: > Never used the joins option so not sure in what order it processes model > defined associations and joins or of your can influence them?  Anyone else? > > Pa

Re: Joining tables after belongsTo Associations

2011-11-17 Thread gabrielr
First of all thanks for help me. Yes, if you have a model like this class Item extends AppModel { ... var $belongsTo = array( 'TipoPoder' => array( 'className'=> 'TipoPoder', 'foreignKey'=> 'tipo_poder_id', ) ); When you perform t

Joining tables after belongsTo Associations

2011-11-16 Thread gabrielr
Hi everybody. I have the next question: It is possible to create a join association table in theModel::find('all',$options ) and this Join perform after the belogsTo Assoc of the model. Actually if you do some like: $options['joins'] = array( array('table' => 'channels', 'alias' => 'Ch

Group By Problem with PostgreSQL

2011-09-06 Thread gabrielr
Hi everybody. I Have a problem making a GROUP BY operation with PostgreSQL Database. This is my Code $apoyosEstado = $this->EncApoyo->find('all',array( 'fields'=>array('MAX(Estado.estado_id) AS edo_id','MAX(Estado.descripcion) AS estado','COUNT(EncApoyo.enc_apoyo_id) AS total'),

Re: array fieldName length

2010-11-17 Thread gabrielr
answer cricket !!! On 17 nov, 19:09, cricket wrote: > On Wed, Nov 17, 2010 at 7:27 PM, gabrielr > wrote: > > I Found that the PostgreSQL   pg_field_name() function truncate the > > field Name, because cake add alias to that field. I Don't know if the > > answer is n

Re: array fieldName length

2010-11-17 Thread gabrielr
I Found that the PostgreSQL pg_field_name() function truncate the field Name, because cake add alias to that field. I Don't know if the answer is naming my model's class with a short name. Somebody can help me with this problem? Please Check out the new CakePHP Questions site http://cakeq

Re: array fieldName length

2010-11-17 Thread gabrielr
Any idea how solve it? Thanks On 16 nov, 14:49, gabrielr wrote: > Hi. Everybody. > > I have a problem with the length of the fieldName in the array data. > > In my Database Table Have fieldNames  with lenght of 42 words, but > when I read this row, CakePHP truncate the name

array fieldName length

2010-11-16 Thread gabrielr
Hi. Everybody. I have a problem with the length of the fieldName in the array data. In my Database Table Have fieldNames with lenght of 42 words, but when I read this row, CakePHP truncate the name of that field. For example if the field is name "total_incidencias_1_5_materias_todos_grados" CAKE

Re: "just baked" on cakephp.org

2010-09-07 Thread gabrielr
Great Site!!! a simple good idea that make life better On 7 sep, 07:19, muszek wrote: > Hi, > > I made a site (Blood Pressure Chart -http://bp-chart.com) with Cake > and I'd like to submit it to "just baked" section on cakephp.org. > It's a free tool that lets users store blood pressure records,

Re: Share hosting experience

2009-11-11 Thread gabrielr
Thanks everyone for the advices!!! -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-...@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. For more options,

Re: Share hosting experience

2009-11-10 Thread gabrielr
ess file, otherwise issues > will occur > > On Nov 10, 4:16 am, gabrielr wrote: > > > Hi everyone, > > > Do you have some experience deploying CakePHP application with this > > web hosting: > > > - ipage.com > > - fatcow.com > > - justhost.com >

Share hosting experience

2009-11-09 Thread gabrielr
Hi everyone, Do you have some experience deploying CakePHP application with this web hosting: - ipage.com - fatcow.com - justhost.com this because im planed to deploy an app, but I wanna know your experience and if you recomended someone of that or wich recommended Thanks for your answers !!!

Re: Enterprise Level App using cakephp

2009-09-24 Thread gabrielr
Thanks for answer (Y) On 24 sep, 16:20, "Larry E. Masters aka PhpNut" wrote: > Serious though,http://book.cakephp.org/view/510/Sites-in-the-wild > -- > /** > * @author Larry E. Masters > * @var string $userName > * @param string $realName > * @returns string aka PhpNut > * @access  public > */ >

Re: Enterprise Level App using cakephp

2009-09-24 Thread gabrielr
someone for answer thoose questions On 24 sep, 10:03, gabrielr wrote: > Hi everybody, > First of all, congratulations for this Framework, it mak programmer's > life easier. > Well, I have 2 Questions to this group. > > Is anybody use cakephp for developing an Enterpr

Enterprise Level App using cakephp

2009-09-24 Thread gabrielr
Hi everybody, First of all, congratulations for this Framework, it mak programmer's life easier. Well, I have 2 Questions to this group. Is anybody use cakephp for developing an Enterprise Level Application?, and What Kind of App was developed? I have Developed an aplication for Human Resource