Re: afterFind() dillemna - eats memory for breakfast

2008-01-17 Thread AD7six
On Jan 18, 3:52 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > cake 1.2.0.6311-beta, PHP 5.2.4 > > I'm trying to use afterFind() in order to massage some data for a > model and am seeing PHP max out the memory limit (32MB). I'm only > using a subset of just 1000 records (about 5%) from the

Re: alphaNumeric validation in cakephp 1.2.0.6311-beta

2008-01-17 Thread AD7six
On Jan 18, 3:39 am, Rajesh <[EMAIL PROTECTED]> wrote: > I have a field called comment which is of type text in db. And i have > the validation rule as alphaNumeric, required=true and message=>'some > message' in the model. The field is rendered as text area. Now if i > enter the value of comment

dAuth v0.3

2008-01-17 Thread volve
Hey all, I'm trying to get dAuth v0.3 working but am constantly presented with "Login failed: Credentials mismatch.". I added a slew of debug output to the component and sure enough my password hash and the one submitted are completely different. Some log_debug output from a login attempt: 2008

i don't know why

2008-01-17 Thread allenxie
Missing controller You are seeing this error because controller CakeController could not be found. Notice: If you want to customize this error message, create app\views/ errors/missing_controller.thtml. Fatal: Create the class below in file : app\controllers \cake_controller.php --~--~

alphaNumeric validation in cakephp 1.2.0.6311-beta

2008-01-17 Thread Rajesh
I have a field called comment which is of type text in db. And i have the validation rule as alphaNumeric, required=true and message=>'some message' in the model. The field is rendered as text area. Now if i enter the value of comment as "sometext", this works fine and gets stored in db, but when

Re: Auth Component encrypting password before validation.

2008-01-17 Thread nate
No. Disabling password hashing is Evil with a capital "E". That's why I don't let you do it. On Jan 17, 11:03 am, dizz <[EMAIL PROTECTED]> wrote: > Thanks to both of you, I thought of this, but I thought it would be > easier to disable the AuthComponent::hashPasswords and then do what > Baz did

Ajax help

2008-01-17 Thread jenson
Hello guys, I need help regarding ajax with cake php ..I Can't really get a nice tutorial.. tutorial has expired(http://grahambird.co.uk/cake/tutorials/ajax.php) and the place where this page takes me is bit advanced for me. Can some one refer some other link? with regards, jenson rajan.A --

Re: afterFind() dillemna - eats memory for breakfast

2008-01-17 Thread b logica
On Jan 17, 2008 9:52 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > cake 1.2.0.6311-beta, PHP 5.2.4 > > I'm trying to use afterFind() in order to massage some data for a > model and am seeing PHP max out the memory limit (32MB). I'm only > using a subset of just 1000 records (about 5%) from

Re: Saving model without saving associated models

2008-01-17 Thread Tim Wild
Thanks for the idea Chris. I've looked at this -> data in my debugger and there's no associated data, so clearing it wouldn't make any difference. After just getting my debugger working (which is far harder than it is in any other language) I can see the problem's caused by an error I made wri

afterFind() dillemna - eats memory for breakfast

2008-01-17 Thread [EMAIL PROTECTED]
cake 1.2.0.6311-beta, PHP 5.2.4 I'm trying to use afterFind() in order to massage some data for a model and am seeing PHP max out the memory limit (32MB). I'm only using a subset of just 1000 records (about 5%) from the prod. DB membership table. I'm using a technique that I saw given to create a

Re: Saving model without saving associated models

2008-01-17 Thread Chris Hartjes
On Jan 17, 2008 6:36 PM, Tim W <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm doing a save of a model, it has an association and the key is > being used in a join during the update, so that field isn't being > saved. I need to disable the join for the save so I can update the > field. Can anyone t

Re: No Debugging chapter!

2008-01-17 Thread Chris Hartjes
On Jan 17, 2008 6:37 PM, Raistlin Majere <[EMAIL PROTECTED]> wrote: > > I wrote the first question wrong. I can not edit it. I will try > telling what I want again, but differently and completely. > > If I write a code to save a form data with CakePHP like "save($this- > >data)", I will base on th

Re: No Debugging chapter!

2008-01-17 Thread Raistlin Majere
I wrote the first question wrong. I can not edit it. I will try telling what I want again, but differently and completely. If I write a code to save a form data with CakePHP like "save($this- >data)", I will base on the codes written to create CakePHP like the ones in "app\config\acl.ini.php". I

Saving model without saving associated models

2008-01-17 Thread Tim W
Hi all, I'm doing a save of a model, it has an association and the key is being used in a join during the update, so that field isn't being saved. I need to disable the join for the save so I can update the field. Can anyone tell me how to do this? I think I can do this using the unbindModel() m

Re: how can i use beforeFind to return a field name AS something else?

2008-01-17 Thread [EMAIL PROTECTED]
You could always write a custom sql script to do what you want to do: $sql="SELECT * FROM something AS somethingelse WHERE conditions"; $results = $this->yourmodel->query($sql); You could also have your ajax call submit a form with a hidden input that contains the id of the call, that way you ca

Re: Scriptaucolous effect.fade wont work

2008-01-17 Thread [EMAIL PROTECTED]
> Thanks for the inputs guys... Coupling both of these resolves the issues. > I am having another AJAX problem.. with the below said string when i click > some other tab, the images on the foucsed tab fade but the images for the > new tab start appearing one by one. I want that they dont appear on

Re: Scriptaucolous effect.fade wont work

2008-01-17 Thread Novice Programmer
you are right chris, i am venturing a little bit towards that... Please pardon me as i know its a bit off topic, but i can't resist asking the help from experts on this forum. Thanks On 1/18/08, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > > On Jan 17, 2008 4:47 PM, Novice Programmer <[EMAIL PRO

Re: Scriptaucolous effect.fade wont work

2008-01-17 Thread Chris Hartjes
On Jan 17, 2008 4:47 PM, Novice Programmer <[EMAIL PROTECTED]> wrote: > Thanks for the inputs guys... Coupling both of these resolves the issues. > I am having another AJAX problem.. with the below said string when i click > some other tab, the images on the foucsed tab fade but the images for the

Re: Scriptaucolous effect.fade wont work

2008-01-17 Thread Novice Programmer
Thanks for the inputs guys... Coupling both of these resolves the issues. I am having another AJAX problem.. with the below said string when i click some other tab, the images on the foucsed tab fade but the images for the new tab start appearing one by one. I want that they dont appear one by one

Re: Scriptaucolous effect.fade wont work

2008-01-17 Thread francky06l
Use new with Effect : 'loading' => 'new Effect.Fade(\'ajaxtabloader\')', hth On Jan 17, 10:02 pm, "Novice Programmer" <[EMAIL PROTECTED]> wrote: > Hello Guys, > > I am upto developing a tabbed application. It loads tabs with images. on > clicking another tab, I have written ajax link that fetc

Re: Scriptaucolous effect.fade wont work

2008-01-17 Thread [EMAIL PROTECTED]
It should work, I think your problem is with 'update'=>array('ajaxbloader'). I seem to remember coming across this. I don't think that Cake likes it when you pass a single value as an array to update in the ajax link, try changing it to 'update' =>'ajaxbloader' instead. Dave On Jan 17, 2:02 pm,

Scriptaucolous effect.fade wont work

2008-01-17 Thread Novice Programmer
Hello Guys, I am upto developing a tabbed application. It loads tabs with images. on clicking another tab, I have written ajax link that fetches the thumbs specific to those tabs and loads them. Here is the ajax link that i have written in my template. link('Random', '/main_tabs/index/random', a

Re: Bug in cake beta 1.2 model

2008-01-17 Thread Chris Hartjes
On Jan 16, 2008 10:56 AM, Nina <[EMAIL PROTECTED]> wrote: > > Hi All > > I found (and fixed) a bug in the model.php file, and I can't report it > in the trac system, so I thought I'd report it here in case someone > sees it and can fix it. Nina, Is that "can't" or "won't" report the bug? It tak

Re: Bug in cake beta 1.2 model

2008-01-17 Thread [EMAIL PROTECTED]
Wow, I'm really glad you found this. I read this yesterday and thought "well, I guess I'll leave it the way it is until I see problems" Then today I was testing my code and found major problems with saving HABTM data. I thought it was because I was storing extra data in the join tables but then I

Re: Ajax Image Switch

2008-01-17 Thread J_Zar
Really thank you Martin! Your answer is really useful to me. I'm actually new to ajax and I thought images would be loaded by client- server without any cache. Ok, I'm stupid. I'm thinking to use the javascript method you show me in the example. Thank you! --~--~-~--~~~-

Re: FPDF and FPDI with CakePHP

2008-01-17 Thread Gianluca Gentile
How-to integrate FPDF and FPDI in my component? With "vendors" var? Thanks, Gianluca On 15 Gen, 19:35, Takuo SHIONO <[EMAIL PROTECTED]> wrote: > Hello Gianluca, > > I am also using FPDF with cakePHP. > > I think the problem is that the program output the white spaces in the > layout template bef

Re: Array Structure using alias Fieldnames in findAll() Method

2008-01-17 Thread Fraed
Thank you both for your reply. Sense was to reduce the iterations above the fetched data. First Cake iterates to present the data. After that i iterate over it to preprocess the data. Finally the json_encode-Method iterates over it. Maybe i will test to overwrite the fetchResult-Method, but i nee

Re: No Debugging chapter!

2008-01-17 Thread Chris Hartjes
On Jan 17, 2008 2:05 PM, Raistlin Majere <[EMAIL PROTECTED]> wrote: > > If I write some lines of code with a bug, will the error message about > the bug ever contain the many lines of code used to create CakePHP? > Why is there no Debugging chapter with error messages and their > meanings??? That

Components Session cakephp 1.2

2008-01-17 Thread Rogério Oliveira
hello friends. are with difficulty to record and to rescue session in that version 1.2 somebody could help myself. thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, s

No Debugging chapter!

2008-01-17 Thread Raistlin Majere
If I write some lines of code with a bug, will the error message about the bug ever contain the many lines of code used to create CakePHP? Why is there no Debugging chapter with error messages and their meanings??? --~--~-~--~~~---~--~~ You received this message be

view blob image(succeeded)

2008-01-17 Thread DonGato
allright!... I succeeded in displaying blob images to a cake-php page, thanks to francky06l for explaining his method and to [EMAIL PROTECTED] and Dr. Tarique Sani for their conversation, here's what I did: the layout: the view: the model: the controller: View->findById($id); $this-

Re: another custom query 1.2 pagination question...

2008-01-17 Thread chad
Ok.. worked on this a bit more and figured out a solution that works for now. Just need to make it more dynamic and i'll be good to go. Maybe someone else can find this useful. in my model: function paginate($conditions = null, $fields = null, $order = null, $limit = null, $page = 1, $re

Orleans Public Defenders seeks experienced PHP developer (telecommuting is ok)

2008-01-17 Thread Gráinne O'Neill
Orleans Public Defenders is seeking a talented and motivated programmer to help us build our case management system. The case management system is currently being developed using Cakephp. The position is contract – the hourly rate is dependent upon experience. The Orleans Public Defenders prefers t

Re: sessions being dropped on redirect or whenever i call a new page

2008-01-17 Thread BravoFoxtrot
I found the problem with my code using 1.2 beta. There was a destroy('Menu'); method that was called. The intent was to only delete part of the session that referred to the menu. I replaced this with delete('Menu'); and it works. I have no idea how this working in 1.2 pre beta but it did... --

Re: HABTM Save - Something with cake or me?

2008-01-17 Thread rtconner
Oh and this is on the latest svn beta. --~--~-~--~~~---~--~~ 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 from this group, send email to [EM

CakePHP 1.2 - session

2008-01-17 Thread pamp_php
Estou com um probleminha aqui, vê se pode me ajudar No meu controller (LoginController): Após fazer o registro da variável de sessão, se eu fizer um render() ou render('index'); O Cake recarrega a pagina de login, mas não registra a sessão. Agora se eu fizer um render('/login'), o cak

Re: What is {n}?

2008-01-17 Thread Gonzalo Servat
On Jan 17, 2008 2:26 PM, Raistlin Majere <[EMAIL PROTECTED]> wrote: > > I meant {n}, not (n). > This was discussed very recently on the list. I've searched the archives for you: http://groups.google.com/group/cake-php/browse_thread/thread/1b0b0fa943a96e66/4e29a489b61da82d?lnk=gst&q=%7Bn%7D#4e29a

Re: What is {n}?

2008-01-17 Thread Raistlin Majere
I meant {n}, not (n). On 17 jan, 13:10, Raistlin Majere <[EMAIL PROTECTED]> wrote: > CakePHP 1.1.19.6305 > MySQL 4.1.9 > PHP 4.3.10 > > At the chapter models of the CakePHP Manual, there is an example of a > function "to generate a list of roles based on your Role model, keyed > by their integer

Re: What is {n}?

2008-01-17 Thread grigri
{n} represents the numeric index. For example, if you do a findAll(), your result array could be like this: array( [0] => array('Person' => array('name' => 'Caramon', 'class' => 'Fighter', 'note' => 'Fat drunk')), [1] => array('Person' => array('name' => 'Sturm', 'class' => 'Paladin', 'note'

Session.cookie value? What can/should it be?

2008-01-17 Thread aranworld
Should I alter the Session.cookie value, which is set at CAKEPHP by default? If I have a bunch of different cake apps running in my browser at the same time how does cake differentiate between each app's session? Is it with the Session.cookie string? or does it use the Security.salt as a way of

how can i use beforeFind to return a field name AS something else?

2008-01-17 Thread papajoe
I'm using Ajax calls from the same table and field twice in the same form. To differentiate between the two ajax call, the [modelname] [fieldname] needs to be different. Since I can't change the way the Ajax method makes the call, I though I'd use beforeFind in the model to return "SELECT fieldnam

Re: Auth Component encrypting password before validation.

2008-01-17 Thread aranworld
Here is another somewhat way to do it. Your real password field is called: passwd In your form, place a field called: new_password Now call these lines in your controller: $this->data['User']['new_password_hash'] = $this->Auth- >password( $this->data['User']['new_password']); $this->User->save(

Re: Problem with Plugins > Controller Missing?

2008-01-17 Thread MrTufty
The problem here is the mismatch between the name of the plugin and the default controller name. For this to work, you need to rename contents_controller.php to content_controller.php (and obviously amend the class name within that). Additionally the views/contents/ folder needs to be renamed. T

What is {n}?

2008-01-17 Thread Raistlin Majere
CakePHP 1.1.19.6305 MySQL 4.1.9 PHP 4.3.10 At the chapter models of the CakePHP Manual, there is an example of a function "to generate a list of roles based on your Role model, keyed by their integer ids" The function is generateList and (n) is used twice in its parameters. What is {n}? $this->R

Differing Array structures with HABTM find requests? Multiple Views?

2008-01-17 Thread designvoid
Hi all, I have a page that displays a list of projects, projects can habtm teams and vice versa, when the page first loads the $projects array is populated via: $this->set('projects', $this->Project->findAll()); Which returns ALL projects. Now on the page there is a select box that posts back t

Re: Array Structure using alias Fieldnames in findAll() Method

2008-01-17 Thread grigri
D'oh! Read 'mssql' as 'mysql'. My bad. The cake MS SQL datasource does a similar thing to postgres (with the double underscore), but it looks like you won't be able to use the same workaround because the field mappings are pre-calculated. You can still use a behavior though, or extend the DboMss

Re: Auth Component encrypting password before validation.

2008-01-17 Thread dizz
Thanks to both of you, I thought of this, but I thought it would be easier to disable the AuthComponent::hashPasswords and then do what Baz did above. Anyways thanks again for the help. -Andrew On Jan 17, 10:45 pm, Baz <[EMAIL PROTECTED]> wrote: > Yep, > > Use a different field, eg. new_passwor

Re: swfupload cakephp 302 error

2008-01-17 Thread booboobenny
Yeah the upload is working except that i get a 302 error. So the file is uploaded ok, copied to the right folder and the correct info I need is stored in my db. On Jan 14, 6:43 pm, rloaderro <[EMAIL PROTECTED]> wrote: > On Jan 14, 3:00 pm, booboobenny <[EMAIL PROTECTED]> wrote: > > >swfuploaddo

Re: Environment settings

2008-01-17 Thread booboobenny
I also use Ant. I have a set of properties file for each environment and all settings are placed in here as constants. This file is then loaded by bootstrap so the constants are available. This is great for the developers working on the project as there is one place, and one place only to put in

Re: Auth Component encrypting password before validation.

2008-01-17 Thread Baz
Yep, Use a different field, eg. new_password or something. (I'm assuming you're validating when creating a password. No need for login) Here's assuming you have a model called User: // needed for validation for some reason $this->User->set($this->data); if ($this->validates($this->data)) {

Re: Sessions, Webserivce and Ajax

2008-01-17 Thread nate
Dude, you're confusing some very unrelated things. On Jan 17, 9:38 am, lordG <[EMAIL PROTECTED]> wrote: > Hey Chris, > > Thanks for the input. I did review that, but could not find valid > cause that it was that. The cake Route class if it finds that the url > is Ajax, sets the $params['bare'] va

Re: Auth Component encrypting password before validation.

2008-01-17 Thread Chris Hartjes
On Jan 17, 2008 10:31 AM, dizz <[EMAIL PROTECTED]> wrote: > > Hello, > > I am using the auth component and before my model can validate the > password the auth component already encrypts the password so making it > impossible to use the between built in valid method. > > Is there any work around f

Auth Component encrypting password before validation.

2008-01-17 Thread dizz
Hello, I am using the auth component and before my model can validate the password the auth component already encrypts the password so making it impossible to use the between built in valid method. Is there any work around for this? --~--~-~--~~~---~--~~ You recei

Re: Where's my environment.rb??

2008-01-17 Thread Alfredo
If anyone gets to this thread here's the perfect solution http://groups.google.com/group/cake-php/browse_thread/thread/fd5fd9d30fb1c343/2316245e32c91097?lnk=gst On Dec 26 2007, 3:03 pm, nate <[EMAIL PROTECTED]> wrote: > See app/config/core.php or app/config/bootstrap.php > > On Dec 26, 1:36 pm

Re: Environment settings

2008-01-17 Thread Alfredo
If anyone bumps into this thread here is a great solution http://groups.google.com/group/cake-php/browse_thread/thread/fd5fd9d30fb1c343/2316245e32c91097?lnk=gst On Jan 8, 1:51 pm, Langdon Stevenson <[EMAIL PROTECTED]> wrote: > Personally I use an Ant build task (through Eclipse) to deploy my >

Re: using configuration file

2008-01-17 Thread Alfredo
I went and tried it out but instead of loading the settings on the AppController's beforeFilter I did it in the config/bootstrap.php, and the Configure object is accesible pretty much everywhere. thanks a bunch for the tip On Jan 17, 7:19 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > Yes

Re: Array Structure using alias Fieldnames in findAll() Method

2008-01-17 Thread grigri
mysql resultsets identify the originating table and field name (table can be aliased), and cake uses this information to build the array. So if you have SELECT `Thing`.`eggs` FROM things AS `Thing` ... Then cake knows that field is from the `Thing` model and puts it in the appropriate array. Thi

Re: Inserting multiple records into the same model from one form

2008-01-17 Thread hydra12
I wrote a tutorial on this awhile back. You can find it here: http://www.ntatd.org/mark/?p=28. It's a little bit strange because of the date stuff I was also having to deal with (it's just working code from a project I had), but maybe it will help a little. Let me know if I can help. hydra12

Re: Installation/htaccess problems

2008-01-17 Thread hydra12
Why did you change the .htaccess file? I'm assuming that cakeblog is actually your cake folder, with cake and app inside? If so, then you should be able to go to http://localhost/~reuben/cakeblog/ and everything should work without changing the .htaccess file at all. If you have a different dir

Re: Ajax Image Switch

2008-01-17 Thread [EMAIL PROTECTED]
I know how much fun it is to get a question in return but here I go: Why exactly do you want to use an ajax-call for an image replacement? What you will be doing iscreating two server-calls from the browser. 1. replacing one image-tag with another 2. which causes the browser to start loading the

Re: Array Structure using alias Fieldnames in findAll() Method

2008-01-17 Thread hydra12
I can't help you with mssql or aliases, but I might be able to help with the json stuff. If I understand you correctly, you are wanting to get your data into a good json format (ie - not have the data nested in so many arrays). You might Set::extract(). You can find a short tutorial here: http

Re: Sessions, Webserivce and Ajax

2008-01-17 Thread lordG
Hey Chris, Thanks for the input. I did review that, but could not find valid cause that it was that. The cake Route class if it finds that the url is Ajax, sets the $params['bare'] value to 1. As a result, the session component when checking if it should start the session checks if $params['bare'

Re: Redirect to a wrong url when i login successfully

2008-01-17 Thread hydra12
It would help if you could post your code. What address did you tell your page to redirect to? If you just want to redirect to http://www.test.com/app/, you could try redirecting to '/'. I hope that helps. hydra12 On Jan 16, 8:03 am, KnightE <[EMAIL PROTECTED]> wrote: > Hi, I'm new to cakephp

Re: cakephp directory structure

2008-01-17 Thread hydra12
There are several different ways to approach this, but I've never heard the one you just heard. The way you are doing it is a standard way if you only want to have 1 app - you put your controller in /app/ controllers, your model in /app/models, and your views in /app/views/ controllername/. If y

Re: Problem with Postgresql 8.2 on Windows XP

2008-01-17 Thread Chris Hartjes
On Jan 17, 2008 2:13 AM, williamn <[EMAIL PROTECTED]> wrote: > > Yes I did the extension=php_pgsql.dll in my php.ini. My other web app > (not using cakephp) can connect to postgresql with no problem. > > I use cakephp 1.1.19.6305 > > Thank you. > --William The problem isn't Cake, the problem is t

Re: Sessions, Webserivce and Ajax

2008-01-17 Thread Chris Hartjes
On Jan 17, 2008 6:37 AM, lordG <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > Does anyone know why the webservices or ajax calls have not been > maintained across sessions? Will they be, or am I missing something? I believe this is related to previous discussions about the user agent being different

Re: testing the new beta

2008-01-17 Thread Dardo Sordi Bogado
I will give you a clue, look at the error message: "Permission denied", "app/tmp"... On Jan 16, 2008 11:00 PM, Helton Uchoa <[EMAIL PROTECTED]> wrote: > Hi, > > I´m testing the new version CakePHP 1.2.0.6311 beta and I´m having a problem > that didn´t happen in version CakePHP 1.2.0.5875 pre-beta

Re: A little help with redirection

2008-01-17 Thread [EMAIL PROTECTED]
Hi, You don't need to do much. create an appropriate controller/method... say a LogController with a link method You would point your external links to something like: http://test.site/log/link?go=http://www.google.com/search?q=cakephp I prefer putting the redirection-url in a normal query (usi

Re: using configuration file

2008-01-17 Thread Dardo Sordi Bogado
Yes, but depends. First, all of your controllers (should) inherit from AppController, second almost anything you will be interested in to get access to Configure methods, gets executed after the beforeFilter in AppController. Always remember when you overwrite beforeFilter() in your controllers to

Re: Problems with Plugins

2008-01-17 Thread Dr. Tarique Sani
On Jan 17, 2008 3:27 PM, NilsR <[EMAIL PROTECTED]> wrote: > When i now try to access example.com/contents/index it tells me the > controller is missing. What's Wrong? Try example.com/contents/contents/index - or upgrade to the latest cake HTH Tarique --

Problem with Plugins > Controller Missing?

2008-01-17 Thread NilsR
I can't access the default controller of my plugin. Cake tells me, that the controller is missing. My Structure looks like the following: app/ plugins/ content/ content_app_controller.php content_app_model.php controllers/

Problems with Plugins

2008-01-17 Thread NilsR
I can't access the default controller of my plugin. Cake tells me, that the controller is missing. My Structure looks like the following: /plugins /plugins/content /plugins/content/content_app_controller.php /plugins/content/content_app_model.php /plugins/content/model /plugins/content/model/co

cakephp directory structure

2008-01-17 Thread aamir
Hello, I have created a small address book in cakephp and I have used the default directory structure of cakephp. E.g. I have stored my addresses_controller.php in cakephp\app\controllers\addresses_controller.php and address.php ( model ) in cakephp\app\models\address.php and views files in v

Re: Sessions, Webserivce and Ajax

2008-01-17 Thread lordG
Hi Guys, Does anyone know why the webservices or ajax calls have not been maintained across sessions? Will they be, or am I missing something? Thanks, Greg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: ACL question regarding inherited permissions

2008-01-17 Thread alex.tomes
Thanks a milion, it works now! --~--~-~--~~~---~--~~ 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 from this group, send email to [EMAIL PROT

Re: Sharing Session across Different Applications

2008-01-17 Thread Adam Royle
Yes, here is one method of making it more secure. So have you two sites, siteA.com and siteB.com. User is browsing siteA.com and you want them transferred to siteB.com They click a link: eg. siteA.com/blah/redirectem/ In your redirectem method you get the current session id and save it into yo

Re: no script tag but javascript is working

2008-01-17 Thread Julien
Oh my... I totally forgot this built-in javascript function because I never use it! :-S thanks a lot! julien On 16 jan, 00:05, "b logica" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 9:56 PM, Julien <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, I'm very new to cake. > > > I'm currently doing the

Re: Problem with Postgresql 8.2 on Windows XP

2008-01-17 Thread williamn
Yes I did the extension=php_pgsql.dll in my php.ini. My other web app (not using cakephp) can connect to postgresql with no problem. I use cakephp 1.1.19.6305 Thank you. --William --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G