Blank white screen on new upload

2009-07-16 Thread Lisa
Hiya, Our client has a site built with CakePHP and has today had a prob with their previous host - so we've quickly had to move it all to a new hosting account. We've got everything uploaded and all paths seem to be ok - but when .htaccess is set to redirect to app/webroot it just returns a

Re: PHP easter eggs/ undocumented feature.

2008-04-06 Thread Lisa
thanks that's neat! but since when is obscuring your version of PHP a security measure? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com

Re: Array of named arguments(?) - pagination related

2008-04-02 Thread Lisa
maybe you mean like this? http://groups.google.com/group/cake-php/browse_thread/thread/675b44ae3a3a29f7/821fd9ba9e955b5f?hl=en#821fd9ba9e955b5f --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To

Re: How to search a hasAndBelongsToMany related table?

2008-03-09 Thread Lisa B
maybe like: this-Users-TeamsUser-findAll(array('Team.league_id' = 1)); as in: http://www.cricava.com/blogs/index.php?blog=6title=modelizing_habtm_join_tables_in_cakephp_more=1c=1tb=1pb=1 --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: RequestAction with pagination ?

2008-03-09 Thread Lisa B
I get undefined variable $paginate... I dunno if this helps but the var name in the view is $paginator (not $paginate) like in ?php echo $paginator-sort('id');? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Re: override foreign key name with HABTM

2008-03-07 Thread Lisa B
Thank you that worked! I really appreciate that and thanks for enlightening me about 'with'. I have a follow up question pretty please: now I'm having the same problem with trying to find all terms in a given context. I'm trying to use 'with' but it doesn't seem to behave or I'm missing

override foreign key name with HABTM

2008-03-06 Thread Lisa B
In my project I can't use the default 'id' name for primary key fields, I have to use 'no'. I have to change a cake I already baked from using 'no' to 'id' everywhere. I hadn't customized it much and I could easily change the database and everywhere I could see in the views and models, and most

Re: Propagating query string with paginator?

2008-03-06 Thread Lisa B
you can add stuff to the url of sort and nex/prev links with paginator, it's in the api, so a sort table header maybe something like: $paginator-sort('no','Media.no',array('url'=array($term))); hope that helps.. --~--~-~--~~~---~--~~ You received this message