Flex -> cakePHP -> database. What are pros & cons ?

2009-04-24 Thread Raja
Hi, I am evaluating flex -> PHP -> database for porting a desktop C/S application to web. We just completed test application accessing firebird database with amfPHP. Some ppl suggested us to wrap database layer in some server side PHP framework like cakePHP. We are also aware that there is flavor

Re: contain HABTM

2009-04-24 Thread brian
This doesn't work? $this->find( 'first', array( 'conditions' => array( 'Post.id' => $post_id ), 'contain' => array( 'Subject' ) ) ); On Fri, Apr 24, 2009 at 11:

Re: Website on computer works, when on ftp it doesn't

2009-04-24 Thread brian
Well, the error msg is pretty clear. It looks to me like you forgot to change the CAKE_CORE_INCLUDE_PATH define in webroot/index.php. Your server isn't a Windows box. On Fri, Apr 24, 2009 at 10:35 PM, simon...@gmail.com wrote: > > Good Evening, > > I did create my website using cakephp on Window

Re: Query question

2009-04-24 Thread brian
I don't think the number of characters in a query makes too much difference. Not compared to how the query is formulated, in any case. It's also not so much a Cake thing as between your DB and its PHP wrapper. But, again, it's likely the least thing to be concerned about. On Fri, Apr 24, 2009 at

Query question

2009-04-24 Thread Dave Maharaj :: WidePixels.com
Just doing some messing around on a site and playing with contain vs. $this->model->read($id). When I leave the controller to read the $id SQL Queries = 6 but contain spits out 8. Now the 6 queries was 2010 characters in length while the 8 queries was 400 less at 1600 characters. My question.

contain HABTM

2009-04-24 Thread Dave Maharaj :: WidePixels.com
Can someone help me with a contain using a HABTM relationship. POSTS HABTM SUBJECTS SUBJECTS POSTS_SUBJECTS I have Post HABTM SUBECTS I just want to print out the array of SUBJECTS that the POST has. I managed to get the rest of the contain for the other hasmany tables...just cant get the H

Re: Can not get CakePHP to work with iPhone web app kit "iui"

2009-04-24 Thread Teh Treag
Chris, I use iui on one of my sites. Your description of your install sound ok. Are the uris to the files correct? Iui is a little quirky, I would sugguest you temporarily elimate cakephp as potentially part of the problem and try a static HTML/php page in $app/webroot. once you can confirm that

Website on computer works, when on ftp it doesn't

2009-04-24 Thread simon...@gmail.com
Good Evening, I did create my website using cakephp on Windows XP with Xampp. It was working perfectly. Then I did send all the files to my ftp and for some reason there is a problem that I've not found the answer yet. You can see the error at this adress: http://simonjpa.olimpia.kinghost.net

Re: Plugin for MySQL Workbench: Who to contact?

2009-04-24 Thread Gwoo
The plugin is very new, seeing as how i finished it last week. It was working fine for me and jperras, but it was only tested on OSX. Maybe you are referring to the save to file, which requires more work since workbench has not open the API to the save dialog. When they add that it will be updated

Re: Tips for cutting queries and load time?

2009-04-24 Thread brian
On Fri, Apr 24, 2009 at 9:21 PM, James K wrote: > > You can modelize views just like you can tables. No need for query() > Care to give a hint? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To po

finderQuery question

2009-04-24 Thread Dave Maharaj :: WidePixels.com
I am new at this and learning new things all the time and trying them out.. I came across finderQuery and was wondering if i set up the finderQuery in a model such as this example I found online 'finderQuery' => "SELECT ".

Re: naming conventions help

2009-04-24 Thread mark_story
You have the $name set wrong on your controller. Should be 'Departments' not 'Department'. If you are on PHP5 you don't need to specify $name either. -Mark On Apr 24, 8:19 am, forrestgump wrote: > hey guys, >  I ran into a problem with the model and table naming conventions > > I have the

Re: Translate Behavior

2009-04-24 Thread Henrique Machado
Thank you! Is that =) Henrique Machado 2009/4/24 jitka (poLK) > > $label = __('Title', true); > echo $form->input('Post.title.cze', array('type' => 'text', 'label' => > $label . ' (cze)')); > echo $form->input('Post.title.eng', array('type' => 'text', 'label' => > $label . ' (eng)')); > >

RE: Tips for cutting queries and load time?

2009-04-24 Thread Dave Maharaj :: WidePixels.com
Thanks for all the advice. The ARO/ACO queries are not the factor in the time its taking so far. Mostly the requests for the related tables. Going thru unbinding them and that seems to have helped greatly. I have the toolbar installed...wondering if all the info in there is also adding to the ti

Re: Tips for cutting queries and load time?

2009-04-24 Thread James K
I'd look into re-evaluating how you're using ACL. If your ARO/ACO queries are taking that long you may be relying too heavily on Cake's built in (and horribly inefficient) ACL implementation. - James On Apr 24, 10:08 am, "Dave Maharaj :: WidePixels.com" wrote: > I was hoping to get some general

Re: Tips for cutting queries and load time?

2009-04-24 Thread James K
You can modelize views just like you can tables. No need for query() - James On Apr 24, 1:01 pm, brian wrote: > On Fri, Apr 24, 2009 at 11:10 AM, Martin Westin > > wrote: > > > Views, I haven't got my head into yet but it sounds like I probably > > should :) > > Views can make a big difference

Re: Where do I start if I was SQL injected?

2009-04-24 Thread James K
How do you know it was SQL injection? What exactly happened? - James On Apr 24, 5:04 pm, Linas wrote: > Excuse me for my lack of knowledge. I've read through discussions on > topic "sql injection", and as far as I understood, it is not likely if > you use CakePHP's way of doing things. > Howeve

Re: Auth performing logout Without Requesting It

2009-04-24 Thread rartavia
I tried lowering Security.level but still the behavior is: I login and enter the page, upload an image, reload the page (F5), window.onbeforeunload event is raised (as I havent saved the "document", images should be erased), jQuery.ajax({url:"/ uploaded_images/delete_files/img01.jpg"}), AppContro

Re: Auth performing logout Without Requesting It

2009-04-24 Thread rartavia
I tried lowering Security.level but still the behavior is: I login and enter the page, upload an image, reload the page (F5), window.onbeforeunload event is raised (as I havent saved the "document", images should be erased), jQuery.ajax({url:"/ uploaded_images/delete_files/img01.jpg"}), AppContro

Re: Auth performing logout Without Requesting It

2009-04-24 Thread rartavia
I tried lowering Security.level but still the behavior is: I login and enter the page, upload an image, reload the page (F5), window.onbeforeunload event is raised (as I havent saved the "document", images should be erased), jQuery.ajax({url:"/ uploaded_images/delete_files/img01.jpg"}), AppContro

Re: Using jQuery.ajax - Sending non-forms values to server

2009-04-24 Thread rartavia
In Controller I do "$this->Denouncement->saveAll($this->data)" and all saves correctly excepting for one relation: Denouncements hasMany Sections and Sections hasMay SectionParts. Sections saved correctly (Denouncement hasMany Section) but SectionParts are not being saved, i guess because I'm incl

Re: CakePHP - MySQL Connection issue

2009-04-24 Thread Sam Sherlock
do you get Cake is able to connect to the database. (also displayed in a green box) if so proceed to the blog tutorial http://book.cakephp.org/view/219/Blog search this group when you get in a stitch; refer to book.cakephp.org & bakery.cakephp.org - S 2009/4/24 Venki > e fixed the Security.

file streams in a plugin

2009-04-24 Thread adam
I want to have files in my vendors folder within a plugin and was wondering what I would supply to fopen for the $include_path to start a file stream? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. T

Can not get CakePHP to work with iPhone web app kit "iui"

2009-04-24 Thread cpeele
Hey guys, I have been trying to get CakePHP to work with the iPhone web app js and css library "iui" and always run into problems with it when it comes to CakePHP finding the files. I was able to do this without CakePHP. I know it is my lack of understanding of how best to include a third party

Re: Where do I start if I was SQL injected?

2009-04-24 Thread Miles J
Doesn't cake stop mysql injection? Its a pretty easy thing to do. What exactly happened. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com

Re: MeioUpload Problem

2009-04-24 Thread Arak Tai'Roth
Anyone at all? I could really use some help on this. On Apr 21, 1:02 pm, "Arak Tai'Roth" wrote: > Anyone have any ideas on this topic? > > On Apr 20, 5:16 pm, "Arak Tai'Roth" wrote: > > > Yup, the exact same permissions as the banners directory > > > On Apr 20, 4:09 pm, brian wrote: > > > > Ar

Re: Where do I start if I was SQL injected?

2009-04-24 Thread Chris M
Hi, I don't have that much Cake experience, but I would always start with the logs for the website and see how they did the injection. Maybe you've already done that to get to the point where you know that this is the faulty code. From: Linas To: CakePHP S

Re: Distributing a translation memory of the CookBook

2009-04-24 Thread Pierre MARTIN
Hi nuto, We also plan to share our French TM across French translators, and I would be interested in the information you have about it. Did you find an easy collaborative way for sharing it with a seamless OmegaT integration? Thanks in advance for the information you will provide, be sure it wil

Where do I start if I was SQL injected?

2009-04-24 Thread Linas
Excuse me for my lack of knowledge. I've read through discussions on topic "sql injection", and as far as I understood, it is not likely if you use CakePHP's way of doing things. However my site was SQL injected. I only write data using the model's save() method. Where do I start to look for possi

Re: Web Service

2009-04-24 Thread Dave
Rest is built into CakePHP. http://book.cakephp.org/view/476/REST We've been investigating Web Services as well, and a Java implementation performs a lot better than Apache/PHP, although it is a fair bit more complex to get running. Worth thinking about if it's going to be a highly loaded service

Re: Help with cakephp conform sql query

2009-04-24 Thread brian
Note that you're fields will not be under 'UsersBook' in the array because you're using DATE_FORMAT and COUNT. Do a debug() on the result to see what I mean. On Fri, Apr 24, 2009 at 2:48 PM, harpax wrote: > > Hi, > > The following should do the job: > > [..] > // for the controller > $params['fi

Re: Call Validate routines manually from controller

2009-04-24 Thread Zoltan
http://book.cakephp.org/view/410/Validating-Data-from-the-Controller On Apr 24, 12:32 am, Temujin wrote: > I know this will make some MVC purists out there cringe, but is there > a way to manually call Validate routines from within the controller? > > I have a simple form that needs to validate

Re: Translate Behavior

2009-04-24 Thread jitka (poLK)
$label = __('Title', true); echo $form->input('Post.title.cze', array('type' => 'text', 'label' => $label . ' (cze)')); echo $form->input('Post.title.eng', array('type' => 'text', 'label' => $label . ' (eng)')); --~--~-~--~~~---~--~~ You received this message becau

Re: Help with cakephp conform sql query

2009-04-24 Thread harpax
Hi, The following should do the job: [..] // for the controller $params['fields'] = array( 'DATE_FORMAT(created, '%d.%m.%Y') AS sdate', 'COUNT(savedtime) AS saved', 'COUNT(encashedtime) AS encashed'); $params['conditions'] = array( 'voucher_id' => array(8, 124, 120), 'created

CakePHP - MySQL Connection issue

2009-04-24 Thread Venki
Hi I am new to CakePHP. I have installed the following in my ubuntu machine. PHP - 5.2.6-2ubuntu4.2 Apache2 MySQL 5.0.67 CakePHP - 1.2.2.8120 Everything went okay, my first CakePHP page came up fine (With two warnings, Security.salt and database connection). I have fixed the Security.salt issu

Re: Pulling data to use in default.ctp menu

2009-04-24 Thread blake
Thanks for the advice. Interesting idea to use a component and helper. I might give that a shot and see where it gets me. The link looks like a pretty good head start anyway. -Blake On Apr 24, 5:55 am, BlueC wrote: > On Apr 22, 3:58 pm, blake wrote: > > > What controller would I use the comp

Re: Tips for cutting queries and load time?

2009-04-24 Thread brian
On Fri, Apr 24, 2009 at 11:10 AM, Martin Westin wrote: > > Views, I haven't got my head into yet but it sounds like I probably > should :) Views can make a big difference. Well worth looking into. Unfortunately, they require using query(). I thought I saw something about being able to query view

Re: Configuring CSS

2009-04-24 Thread brian
If you have a stylesheet in app/webroot/css/main.css your layout file should have: echo $html->css('main'); Note that you do not include the extension, nor the directories. If your stylesheet is in a subdirectory, app/webroot/css/some_dir/main.css: echo $html->css('some_dir/main'); It's pretty

Re: naming conventions help

2009-04-24 Thread brian
Bump your debug up to 2 in core.php. I suspect the 404 you're seeing is due to debug being at 0. There's likely an error in there somewhere. On Fri, Apr 24, 2009 at 8:19 AM, forrestgump wrote: > > hey guys, >  I ran into a problem with the model and table naming conventions > > I have the fo

Re: Modelling associations, 2 tables/models

2009-04-24 Thread brian
In your DishType model, you have var $belongsTo = 'DishType'; It should be var $belongsTo = 'Dish; yes? On Fri, Apr 24, 2009 at 4:58 AM, holub.mic...@gmail.com wrote: > > Hi allI've got the following data model > > dishes >  - id (PK) >  - name >  - dish_type_id (FK to dish_types) > > dish

Re: Tips for cutting queries and load time?

2009-04-24 Thread Martin Westin
Views, I haven't got my head into yet but it sounds like I probably should :) That is a lot of time for so few queries IMHO. Possibly one or a few are taking very long because they return many rows. Whenever I return more than 20 rows of anything I usually just want to count them or somehow pull

Re: Tips for cutting queries and load time?

2009-04-24 Thread Alexandru Ciobanu
On 04/24/2009 05:08 PM, Dave Maharaj :: WidePixels.com wrote: > > Can someone provide info on how to speed things up beyond what I have been > doing? > I don't know what you have been doing but here's Matt's '8 Way for speed' http://www.pseudocoder.com/archives/2009/03/17/8-ways-to-speed-up-ca

Re: CakePHP not working - cake.generic.css not found

2009-04-24 Thread Nature Lover
What can I do for the online server There owner cannot be changed Permissions I have assigned But still not working Thanks for the reply! On Apr 24, 8:02 pm, Faza wrote: > Make sure that the directory is chown to www server's user. > > e.g. in my Debian I did: > chown -R www-data:www-data /pat

Re: CakePHP not working - cake.generic.css not found

2009-04-24 Thread Martin Westin
Most likely: Mod Rewrite not running or .htaccess files missing. On Apr 24, 4:47 pm, Nature Lover wrote: > Hi! > > I have downloaded CakePHP latest stable release. > extracted on the test server with 755 permission on everything and 777 > on tmp folder. > > The home page is showing with the d

Re: CakePHP not working - cake.generic.css not found

2009-04-24 Thread Faza
Make sure that the directory is chown to www server's user. e.g. in my Debian I did: chown -R www-data:www-data /path/to/cake/ chmod -R 755 /path/to/cake chmod -R 777 /path/to/cake/tmp Never had any permission-related issues. Nature Lover pisze: > Hi! > > I have downloaded CakePHP latest stable

Help with cakephp conform sql query

2009-04-24 Thread voocake
Hello, I have nice SQL query which makes most of the work for me, but i have no plan how to convert it to a cakephp conform condition array. I'm aware of the possibility to make a custom query, but i'm trying to avoid this. May someone can help me with this? Here is the statement: SELECT DATE_

CakePHP not working - cake.generic.css not found

2009-04-24 Thread Nature Lover
Hi! I have downloaded CakePHP latest stable release. extracted on the test server with 755 permission on everything and 777 on tmp folder. The home page is showing with the default layout but not stylesheet coloring. In the FireBug HTML coding the 404 errors is return for default stylesheet of c

Re: Tips for cutting queries and load time?

2009-04-24 Thread Faza
I use database views, at least for the view pages, if possible. It's faster to perform joins db-side, and then return just a simple view to CakePHP. My 0.02USD Dave Maharaj :: WidePixels.com pisze: > I was hoping to get some general tips on how to speed up load time and cut > down on the numb

Tips for cutting queries and load time?

2009-04-24 Thread Dave Maharaj :: WidePixels.com
I was hoping to get some general tips on how to speed up load time and cut down on the number of queries in a request. I have for example 18 queries took 123 ms for 1 page. I have been cleaning up find queries to use contain and only query fields I need cleaning out ones not needed, unbind model

Re: cakephp auth component password field always empty why ??

2009-04-24 Thread Stu
Just for the heck of it, try changing your field's name to something else. It's possible that cake handles 'password' fields a particular way. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post

Translate Behavior

2009-04-24 Thread Henrique Machado
Hello Guys.. I'm two days tryin to understand and trying to get Translate Behavior working.. I've folowing the manual (http://book.cakephp.org/view/92/Translate) OK, i have a table i18n and my model is ok. After few hours looking for a example how to translate my records i found this test: htt

Re: cakephp auth component password field always empty why ??

2009-04-24 Thread Malcolm Krugger
I have not set security set hash anywhere Im using the following $this->Auth->userModel = 'Member'; $this->Auth->loginAction = array('controller' => 'members'); $this->Auth->autoRedirect=true; $this->Auth->allow('register'); --~--~-~--~~~

naming conventions help

2009-04-24 Thread forrestgump
hey guys, I ran into a problem with the model and table naming conventions I have the following: 1)model: department.php :- 2)contoller: deparments_conrtoller.php :- 3)View folder: departments and index.php:- TEST!!! here is the problem when i view the page (appname)/deparments i get

img tags and autolink

2009-04-24 Thread donnerbeil
Hi, On my site i have a forum and i would like to permit users to add images to their posts. So first I had a web-editor for html. And I'm considering an BBcode editor for security reasons. But for both solutions there is a problem: The img tags are saved in the DB, for example: http://www.examp

Re: cakephp auth component password field always empty why ??

2009-04-24 Thread John Andersen
As Miles J asked you about, has you changed the encryption function - like Security::setHash('md5'); - to something else? What other settings have you set in the Auth component? I ask because we know that the password is submitted, but only gets into the $this->data array, when Auth is not activ

Re: Set::extract and Set::combine - help needed

2009-04-24 Thread Faza
Mister, I'll be damn. Works perfectly, and - what is more than expected - I understand why! Thanks a bunch. Damn. Awesome :D > Some of what you want to do is possible with the set class; other bits > would be more complicated. > > With this approach, the best you could achieve would be a nasty

Re: Set::extract and Set::combine - help needed

2009-04-24 Thread grigri
Some of what you want to do is possible with the set class; other bits would be more complicated. With this approach, the best you could achieve would be a nasty mess of array_combine, array_keys and various set calls, all nested and difficult to follow. Although I love the Set class with all my

Re: cakephp auth component password field always empty why ??

2009-04-24 Thread Malcolm Krugger
Miles Configure::write('Security.level', 'medium'); /** * A random string used in security hashing methods. */ Configure::write('Security.salt', 'DsssggYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'); ALSO IN DEBUGGING output 1 DESCRIBE `members` 2 SELECT `member`.`id`, `member`.`u

Re: CakeFest Berlin 2009 officially announced

2009-04-24 Thread AgBorkowski
We will be there big rgd AgBorkowski http://lowcy.com.pl On 24 Mar, 06:24, Nate wrote: > After much hype and speculation, the next CakeFest event, which will > take place in Berlin beginning July 9th, has been officially > announced.  You can read the full details, along with some other > impor

Re: Model Association Not Creating Query Joins

2009-04-24 Thread Walther
In cases like what you are looking at it tends to work a bit better if you rather do the find on the model you want to filter. Something like: $alert_ids = $this->Alert->AccountAlert->find ( 'all', array ( 'conditions'=> array ( 'Acco

Re: How to install cakephp

2009-04-24 Thread Walther
The installation is the same regardless of windows or Linux. Put it into the document root for your server software and change the required files. On Apr 24, 12:10 pm, "Faza" wrote: > Hello there! > > I did my first install following the below tutorials: > > http://book.cakephp.org/view/29/Insta

Re: cakephp auth component password field always empty why ??

2009-04-24 Thread John Andersen
Try also debug($_POST); just to see if it is received from the browser! Turn off Auth and see if the data comes into the controller! John On Apr 24, 10:29 am, Malcolm Krugger wrote: > Ok here is the view > > echo $form->create('Member' ,array('controller' => 'Members' , > 'action' => 'regist

Re: Pulling data to use in default.ctp menu

2009-04-24 Thread BlueC
On Apr 22, 3:58 pm, blake wrote: > What controller would I use the component in to pass the data through > to default.ctp? I'm also new to cake but since noone else is answering I would guess in the AppController (/app/app_controller.php) I also have a Menu component and a Menu helper that I ca

Re: How to install cakephp

2009-04-24 Thread Faza
Hello there! I did my first install following the below tutorials: http://book.cakephp.org/view/29/Installation-Preparation http://book.cakephp.org/view/32/Installation (NB it's for Linux) Don't have any experience with CakePHP installed on Windows, so probably someone could provide a link for

Model Association via "conditions" fails!

2009-04-24 Thread ohneworte
Hello Together, I want to link two Models without using a Foreign Key, but using some Conditions instead. Here is my example: Model: - class Category extends AppModel { var $name = "Category"; var $actsAs = array("Containable"); var $hasMany = array(

Re: cakephp auth component password field always empty why ??

2009-04-24 Thread Miles J
What is your security salt, or your encrypting function set to? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this

DomDocument and XPath

2009-04-24 Thread nlte
I'm new to PHP, with little practice of OOP, and I'm trying to extend the DomDocument class (in DOM) with a method that runs an XPath selection: class ExtDomDocument extends DomDocument { public function selectNodes($xpath) { $processor = new DOMXPath($this);

Adsense Authentication

2009-04-24 Thread Marco.z
Good morning, I have a problem and seems that there is no answer in internet. I have a site ( http://www.festeoneste.com ) whit some pages reserved to the registered users. I want google adsense to crawl also that pages, and it's possible to set in the adsense settings, an username and a password.

Immutable params in Dispatcher::_invoke()

2009-04-24 Thread Reuben Helms
Hi all I was wanting to know if it is by design that the $params argument is immutable in Dispatcher::_invoke()? I'm working on a SEF solution where I'd like to do the slug translation in the beforeFilter of my App Controller, and then set $this->params['pass'][0] to be the id of my translated slu

How to install cakephp

2009-04-24 Thread gukan
I try so many manual but i can't how to install cakephp any one help to me , it have any exe file or what it done after install . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group

Scaffold problem

2009-04-24 Thread Mike
Hi everybody, I am just getting started with Cake and ran into something that is stumping me. If I build a controller this way everything works fine: --- Would you like to build your controller interactively? Warning: Choosing no will

Re: Configuring CSS

2009-04-24 Thread christopher
Thats great I have that done, I am struggling more with the correct code to place in the default.ctp and if I have to call the CSS any where else. Thanks for your reply so far. On Apr 24, 1:49 am, brian wrote: > By default, your stylesheets should be in webroot/css. > > > > On Thu, Apr 23, 2009

Re: Auth Unexpected Behavior

2009-04-24 Thread AgBorkowski
i have the same problem most of them in many ajax (suggest) request, strategy is simple my script after 4th+n request return sql debug after that every action were logged out at past i create fit request controler for eg. xhr_controller > controller, so my fit controler loks like XhrController

Modelling associations, 2 tables/models

2009-04-24 Thread holub.mic...@gmail.com
Hi allI've got the following data model dishes - id (PK) - name - dish_type_id (FK to dish_types) dish_types - id (PK) - name menus - id (PK) dish_menus - id (PK) - dish_id (FK to dishes) - menu_id (FK to menus) now, my associations look like the following... class Dish extend

Re: Plugin for MySQL Workbench: Who to contact?

2009-04-24 Thread rich...@home
I never even KNEW there was a CakePHP plugin for WB! Damn, that's going to save me even more time! :-) On Apr 23, 3:01 pm, Karsten Wutzke wrote: > I'm referring to > > http://forums.mysql.com/read.php?155,258646,258824#msg-258824 > > The CakePHP plugin for MySQL Workbench is supposed to be wor

Set::extract and Set::combine - help needed

2009-04-24 Thread Faza
Hello again, this is the array I'm working on: Array ( [0] => Array ( [Design] => Array ( [id] => 39 [design_no] => 1 [job_title] => gjgfjyjgyjf [expected_date] => 2009-04-14

Using SSL Proxy (access from two different URL's)

2009-04-24 Thread Galdan
Hi together, i need your help for changing the configuration i can use the free SSL Proxy of my Webhost. My "normal" URL i call my webapplication is (for example) this: http://www.mydomain.com/myapplication/ if i want to use a SSL secured connection to my application i've the possibilitie to u

Re: cakephp auth component password field always empty why ??

2009-04-24 Thread Malcolm Krugger
Ok here is the view create('Member' ,array('controller' => 'Members' , 'action' => 'register')); echo $form->input('Member.username'); echo $form->input('Member.password'); echo $form->input('Member.firstname'); echo $form->input('Member.lastname'); echo $form->input('Member.emailid'); echo $fo

Re: Merge results of model->findAll with an array returned by function

2009-04-24 Thread Faza
Read the article on Containable, implemented it and DAMN! works like a charm! Meanwhile, I've also added a slight modification to the table, so I can make a hasMany relation. Now, all I need is to learn to use Class::Set, to modify the array I have. Thanks for help so far! *thumbs up* > > 2009