single-field validation from controller

2009-11-02 Thread pigeon
Hello everyone, let me quickly explain my situation and what i'm trying to achieve. I have a User model with 5 fields having validation rules, out of these 5, 3 are required ( required = true, and they also have the notEmpty rule ) I would like to pre-validate each field, one by one, from the

Re: sql queries being executed in wrong order on db?

2008-11-15 Thread pigeon
-search(null, 'simple', null,$requestid,null,3); $r = $r[0]; it's very annoying, i dont see what i might be doing wrong. Google only revealed an un-answered message (on the same problem) to this group from 2007. thanks a lot, andrew On Nov 14, 7:58 pm, pigeon [EMAIL PROTECTED] wrote: Hello all

sql queries being executed in wrong order on db?

2008-11-14 Thread pigeon
Hello all, i have a cakePHP 1.1 app that, at a point, creates a record on a model (B) that is associated with another model (A) through A has many B then does a find on A. I've noticed that the new record in B does not show up on the find's result array from A, and checking debug revealed that

flashOut replacement for webservices?

2007-10-16 Thread pigeon
hello everyone, i'm trying to figure out a way to either make flashOut webservices- aware or replace it with something that can tell whether it should return XML or the traditional flashOut html depending on how the client is accessing the app - via the webservices interface or not. What is the

Re: Grab parent ARO from ACL

2007-09-15 Thread pigeon
:17 pm, pigeon [EMAIL PROTECTED] wrote: Query: SELECT `Aro`.`id`, `Aro`.`foreign_key`, `Aro`.`alias`, `Aro`.`lft`, `Aro`.`rght` FROM `aros` AS `Aro` WHERE `Aro`.`parent_id` = 'gds' LIMIT 1 Warning: SQL Error: 1054: Unknown column 'Aro.parent_id' in 'where clause' :-( On szept. 10, 20:17

Re: Grab parent ARO from ACL

2007-09-12 Thread pigeon
Query: SELECT `Aro`.`id`, `Aro`.`foreign_key`, `Aro`.`alias`, `Aro`.`lft`, `Aro`.`rght` FROM `aros` AS `Aro` WHERE `Aro`.`parent_id` = 'gds' LIMIT 1 Warning: SQL Error: 1054: Unknown column 'Aro.parent_id' in 'where clause' :-( On szept. 10, 20:17, Gwoo [EMAIL PROTECTED] wrote:

Re: Grab parent ARO from ACL

2007-09-11 Thread pigeon
wow thanks. i hope its not documented :-) On Sep 10, 8:17 pm, Gwoo [EMAIL PROTECTED] wrote: $this-Acl-Aro-findByParentId() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this

Grab parent ARO from ACL

2007-09-10 Thread pigeon
hey everyone, is there an easy way to read the parent ARO of any given ARO, from cake-ACL? I didnt see anything about it in the API docs, thus i must assume its not implemented.. :-( How do you go about it then? thanks! andrew --~--~-~--~~~---~--~~ You

passing the controller to SoapClient-setClass in a component.. ;-)

2007-07-23 Thread pigeon
hey everyone, i'm trying to set up SOAP webservices with the PHP-SOAP module. I'd like to export an entire controller.. perhaps this is where my logic is flawed. What i'm doing right now is importing a component into the controller (SoapController) i'd like to have made available via SOAP. The

Re: soap server

2007-07-13 Thread pigeon
thanks, i did try google cache but i couldnt retrieve the last file :( --~--~-~--~~~---~--~~ 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 To unsubscribe

Re: soap server

2007-07-09 Thread pigeon
Looks amazing , but i'm getting Your requested host www.ros-soft.net could not be resolved by DNS. when trying to follow the links for the source code. This is really pissing me off :) i've finally found a proper SOAP implementation (actually, nusoap hack which has been also

/~username/ installation

2007-06-20 Thread pigeon
hello group, is it possible to deploy cakephp to an apache userdir? i'm trying to do a dev install in /home/myusername/htdocs/, which resolves to url http://mydomain.tld/~myusername/ when i try load a method, say mycontroller/mymethod, via http://mydomain.tld/~myusername/mymethod/mycontroller

Re: /~username/ installation

2007-06-20 Thread pigeon
little bit of typo there.. the controller myCONTROLLER exists and so does the method mymethod. The production install is in http://mydomain.tld/ and it works fine from there. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: email addresses in sql queries..

2007-03-16 Thread pigeon
some error in your query code (perhaps inserting your email into a string, without quotes surrounding it?) On Mar 16, 4:30 am, pigeon [EMAIL PROTECTED] wrote: hello everyone, i've been failing to do a query (findCount) with an e-mail address on an sql database. (actually this is to check

email addresses in sql queries..

2007-03-15 Thread pigeon
hello everyone, i've been failing to do a query (findCount) with an e-mail address on an sql database. (actually this is to check if the specified user exists in the database) The e-mail address is converted to a user `domain` . `tld` format in the select statement, which of course renders the

Re: a controller+model that is accessible from all controllers / models is a ...

2006-12-13 Thread pigeon
thanks. google groups says We're sorry, but we were unable to find the topic you were looking for. Perhaps the URL you clicked on is out of date or broken? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

a controller+model that is accessible from all controllers / models is a ...

2006-12-12 Thread pigeon
plugin ? component ? vendor library ? In particular, i'd like to add a language api to my cake app. I need methods like translate($alias, $langcode) to be accessible from _anywhere_ in the application. Where do I start? All suggestions are greatly appreciated. Thanks andrew