Re: using models in elements

2007-02-19 Thread AD7six
On Feb 20, 5:29 am, tompouce <[EMAIL PROTECTED]> wrote: > Hi! > > A year ago I coded an app with cakephp, and in my elements > I was using this syntax: > > $bleh = new Modelname; > > for using stuff from the dabatase Modelnames. > > But now its not working anymore because I must be missing somet

Re: habtm does not work with find when I specify fields

2007-02-19 Thread AD7six
On Feb 20, 2:06 am, "codecowboy" <[EMAIL PROTECTED]> wrote: > anyone know if this is true? Well not really ;). The way you are specifying fields can only work for the first query - by design anything other than a hasOne or belongsTo isn't in the first query. To achieve what you want you can

Re: [C] Passing a value from view to controller

2007-02-19 Thread apacheuk
Obvious really will give it a try later. Still getting to grips with cake at the moment, thanks for your help John David Anderson (_psychic_) wrote: > > > > On Feb 19, 2007, at 3:54 PM, apacheuk wrote: > >> >> >> OK, I might be missing something here >> >> I have a form based on my

route and parameter

2007-02-19 Thread Sergei
Hello, I have Posts controller and View(id) action. Simple. How can I make a route url to access it: /topic/123.html where "123" is the ID parameter of View action? Tried different variants but no luck. Thank you. --~--~-~--~~~---~--~~ You received this messa

Date validation not working

2007-02-19 Thread regi
Hi, I am new to Cakephp. Ihave a problem with date validation.End date should always be greater than Start date. I have done the validation in my model ie; 'end_date' => array(VALID_NOT_EMPTY,'rule' =>array('comparison', '>', 'start_date') ) But when I submit the form, I get the validation erro

ajax functions using problem

2007-02-19 Thread anandrv
Hi all, What are the procedures are using ajax functionalities. i am reading in http://grahambird.co.uk/cake/tutorials/ajax.php this manual please give me sample coding Thanks and Regards, anand --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Need help reading data from a session

2007-02-19 Thread [EMAIL PROTECTED]
Thanks Eric, That worked great! --Patrick On Feb 19, 5:06 pm, "Eric C Blount" <[EMAIL PROTECTED]> wrote: > Oh, and if it's still an array, then your $someone['User'] is an array. Use > print_r($someone['User']);, or in the view, > print_r($this->controller->Session->read('User'); to figure out

Re: Location of custom php.ini

2007-02-19 Thread basic612
Hi, when running php as CGI in Apache suEXEC environment, the php.ini needs to be located in the directory housing the script that being exectuted - ie: if your application is running (as per default settings) from: ./app/webroot/index.php then the location would be ./app/webroot/php.ini any

using models in elements

2007-02-19 Thread tompouce
Hi! A year ago I coded an app with cakephp, and in my elements I was using this syntax: $bleh = new Modelname; for using stuff from the dabatase Modelnames. But now its not working anymore because I must be missing something, any ideas? Like if i want to include a sidebar to a website. I in

Re: Need help reading data from a session

2007-02-19 Thread Grant Cox
Using $this->controller->Session->read() in a view is deprecated, use $session->read() instead. --~--~-~--~~~---~--~~ 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@googleg

Re: Application version control - including Cake core and any modifications

2007-02-19 Thread Grant Cox
Ok, I've decided to go with AD7Six's suggestion of using an external for the Cake core, and a combined diff file of my changes. It's simple to keep up to date, the diff contains the revision number it was intended for, and it means I can get back to doing some code rather than trying to get my he

Re: mod_gzip

2007-02-19 Thread Olwen Williams
While we are now getting OT the response from my hosting company was interesting: "Mod gzip isn't installed. The last time (several years back) we had it installed it didn't actually reduce bandwidth usage for indivdual sites, the end user bandwidth graphs etc calculated usage on uncompressed dat

Re: productizing application

2007-02-19 Thread cammo
Thanks for your help, I will give it a shot and see how I go. Cheers, On Feb 19, 6:16 pm, "francky06l" <[EMAIL PROTECTED]> wrote: > There is one article describing in details a production configuration > using one cake version and multiple sites.. However it's in French, > but quite simple chec

Re: Application version control - including Cake core and any modifications

2007-02-19 Thread Grant Cox
Actually, now I am not so sure... It appears that the main issue is just that SVN cannot merge across different repositories, so there is a requirement for me to have a local mirror of the Cake repository, in the same repository as my app. The tutorials I've seen seem to list the setup steps as:

Recursive Association joins with conditions 3+ deep

2007-02-19 Thread lloydhome
I posted some questions on the group and on the IRC in late October and early November. http://groups.google.com/group/cake-php/browse_thread/thread/7ac86a4ad74198b4/8f2cbc16312a05e4?lnk=gst&q=recursive+query&rnum=1#8f2cbc16312a05e4 I'd post IRC archive links but I can't seem to connect to irc.c

habtm does not work with find when I specify fields

2007-02-19 Thread codecowboy
Here is the code : $arrSqlConditions = array('id'=>$departmentId); $arrSqlFields = array('CollegeDepartment.name', 'Organization.user_id', 'Organization.name'); $arrDepartmentOrganizations = $this->Col

Re: Need help reading data from a session

2007-02-19 Thread Eric C Blount
Oh, and if it's still an array, then your $someone['User'] is an array. Use print_r($someone['User']);, or in the view, print_r($this->controller->Session->read('User'); to figure out where the array is coming from. Eric --~--~-~--~~~---~--~~ You received this mess

Re: Need help reading data from a session

2007-02-19 Thread Eric C Blount
It works if you use $this, not $read: Welcome controller->Session->read('User') ?> HTH, Eric On 2/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hey there bakers! > > I just added session security into my application, which is working > nicely, however I'd like to have a message at t

Re: HABTM find() results in SQL error

2007-02-19 Thread Langdon Stevenson
Hi Bret I would probably still go with the core modification myself. Then you get to benefit from Cake's automatic query generation which will save you a mountain of work over generating queries by hand for "finderQuery". This is for me one of the greatest advantages of Cake. Upgrading to a

Re: Application version control - including Cake core and any modifications

2007-02-19 Thread Grant Cox
Thanks for the responses. Reading that link, I think that vendor branching is exactly what I want - thanks Felix, I will let you know how I go. While I do currently update the Cake core every day, this is just out of habit, and will certainly stop once the app is deployed anywhere (still a bunch

Re: mod_gzip

2007-02-19 Thread Olwen Williams
Have already put the support ticket in. Thanks very much On 20/02/07, Eric C Blount <[EMAIL PROTECTED]> wrote: > Ask your host. They may be able to turn it on, or they may tell you how to > do so. > > Eric > --~--~-~--~~~---~--~~ You received this message because

Re: mod_gzip

2007-02-19 Thread Eric C Blount
Ask your host. They may be able to turn it on, or they may tell you how to do so. Eric On 2/19/07, Olwen Williams <[EMAIL PROTECTED]> wrote: > > > Sorry, I had searched the bakery, but not the group. It doesn't seem > to be working so maybe not available on my host. Looks like I have to > see

Need help reading data from a session

2007-02-19 Thread [EMAIL PROTECTED]
Hey there bakers! I just added session security into my application, which is working nicely, however I'd like to have a message at the top of every authenticated page that indicates that we know who is logged in. My authentication is loading data using the following (straight from the cakePHP m

Re: mod_gzip

2007-02-19 Thread Olwen Williams
Sorry, I had searched the bakery, but not the group. It doesn't seem to be working so maybe not available on my host. Looks like I have to see if there are other ways to optimise the site. On 20/02/07, Eric C Blount <[EMAIL PROTECTED]> wrote: > Please search the group before posting. This topic

Re: mod_gzip

2007-02-19 Thread Eric C Blount
Please search the group before posting. This topic was discussed four days ago: http://groups.google.com/group/cake-php/browse_frm/thread/8f76155c2195430/e8d5092ebee61d79?lnk=gst&q=gzip&rnum=1&hl=en#e8d5092ebee61d79 As mentioned, depending on your server, you may only need to add the following to

Re: Problem with htmlhelper table generators

2007-02-19 Thread Eric C Blount
Try this: tableHeaders(array('col1','col2')); echo $html->tableCells(array('row1a','row1b')); echo $html->tableCells(array('row2a','row2b')); ?> HTH, Eric On 2/19/07, thequietlab <[EMAIL PROTECTED]> wrote: > > > Hi! > > my piece of code looks like this : > > echo $html->tableHeaders(array('c

Re: Passing a value from view to controller

2007-02-19 Thread John David Anderson (_psychic_)
On Feb 19, 2007, at 3:54 PM, apacheuk wrote: > > > OK, I might be missing something here > > I have a form based on my model and this is working wonderfully I > can save > records and edit them. > > I'm having trouble in that I want to include a checkbox on the form > that has > no DB fi

Passing a value from view to controller

2007-02-19 Thread apacheuk
OK, I might be missing something here I have a form based on my model and this is working wonderfully I can save records and edit them. I'm having trouble in that I want to include a checkbox on the form that has no DB field or model, but I want to use the value of that checkbox to do some

Re: Bakery Source

2007-02-19 Thread Ethan
Hi, I had this problem as well. Here is the way around it: go to File->export->SQL Create Script ... In the "Export SQL Script" dialog, make sure that "Order Tables by Foreign Keys" is not checked. The circular relation error should now go away when you create the script. Ethan On Jan 7, 3:

mod_gzip

2007-02-19 Thread Olwen Williams
I'm not sure if I'm asking this question in the right place. I have some pages that output a reasonable amount of information. When I run a speed report it tells me that "This site is not using HTTP compression, otherwise called content encoding using gzip. Consider compressing your textual cont

Location of custom php.ini

2007-02-19 Thread Duncan
Hello, I've the common PHP problem of my upload_max_filesize = 2M being too small for my needs. Due to my host's restrictions I can't set value this through the .htaccess file. (Nor does ini_set appear to work when placed in, say, app/config/core.php) As I'm using PHP4, I can't just place a cu

Re: HABTM find() results in SQL error

2007-02-19 Thread Bret Kuhns
I'm using CakePHP version 1.1.13.4450. I figured I could always modify the core code, but that makes updating the core a hassle. I was hoping someone might be able to figure out a better solution. I'm still leaning toward the "finderQuery" key in $hasAndBelongsToMany, but I have no idea how it wor

Re: HABTM find() results in SQL error

2007-02-19 Thread Langdon Stevenson
Hi Bret, What version of Cake are you running? I had this issue when running MySQL 3.23. In the end, I just modified the Cake core code so that Cake included the 'INNER'. Not an ideal solution, but it did solve the problem for MySQL 3.23 Regards, Langdon Bret Kuhns wrote: > I have the exa

Re: Menu element

2007-02-19 Thread Jon Bennett
> Well what i want accomplish is pretty easy, I have a table > categories.. and i want to create links from the table categories in a > menu. And this menu has to be on every page no matter what the url is. hmm, easiest thing would be to do this in the beforeFilter of your app_controller. class

Re: Menu element

2007-02-19 Thread Mech7
Well what i want accomplish is pretty easy, I have a table categories.. and i want to create links from the table categories in a menu. And this menu has to be on every page no matter what the url is. On Feb 19, 8:31 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > Ah i see, but normally you woul

RE: Twisting a little bit afterSave() use...

2007-02-19 Thread Mariano Iglesias
o create new tables, but if you might need to alter the 'X' part of the Entity_X tables...) so I must make the Model somehow aware of the controller action that was requested. As far as I know this Model awareness of the controller is not possible with cake, right? Does anybody can help me

Re: Patch feedback: Disabling sessions

2007-02-19 Thread Brad Daily
Great news, Nate. Tx for the update... On Feb 19, 2:29 pm, "nate" <[EMAIL PROTECTED]> wrote: > Hey Brad, that's an issue that's actually being worked on now, but > we're approaching it from a slightly different angle that involves > reworking some lower-level code in order to maintain cleaner > s

HABTM find() results in SQL error

2007-02-19 Thread Bret Kuhns
I have the exact problem as in this topic: http://groups.google.com/group/cake-php/browse_thread/thread/1522701f158e90b8/a25f475b8f5230ee?lnk=gst&q=habtm+JOIN+query+error&rnum=2#a25f475b8f5230ee - Query: SELECT `State`.`id`, `State`.`name`, `State`.`abbr` FROM `states` AS `State` JOIN `states

Re: Menu element

2007-02-19 Thread Jon Bennett
> Ah i see, but normally you would load the function of the controller > through the url blog/post where index would be the function. But how > can you load this function without having it in the url? > I could think that maybe i can put it in the constructor of > appcontroller but this would not

Re: Twisting a little bit afterSave() use...

2007-02-19 Thread the_woodsman
Isn't the choice between add/edit determined by whether the Model's id field is set? Could you not look at the Cake source to see how they decide if it's an add or edit, and copy it? Wood On Feb 19, 7:11 pm, "mindcharger" <[EMAIL PROTECTED]> wrote: > Hello! > > Here's the thing, I'm a couple of

Re: Patch feedback: Disabling sessions

2007-02-19 Thread nate
Hey Brad, that's an issue that's actually being worked on now, but we're approaching it from a slightly different angle that involves reworking some lower-level code in order to maintain cleaner separation between objects. We'll keep you posted. On Feb 19, 2:10 pm, "Brad Daily" <[EMAIL PROTECTED

Re: Database Driver: pear-ldap

2007-02-19 Thread Jon Bennett
> anyone successfully used PEAR:Ldap with cake? > > I tried it with a config/database.php entry like: > > var $ldap = array('driver' => 'pear-ldap', > 'connect' => 'ldap_connect', > 'host' => '127.0.0.1', > 'login' => 'cake', > 'password' => 'passwd', > 'database' => '', > 'prefix' => '');

Re: Passing values between objects

2007-02-19 Thread jamieh
Thanks for the feedback everyone, much appreciated. I now have in my Users::Add() method the following: $user_id = $this->User->getLastInsertID(); // Get the assigned user id to pass to project record $this->Session->write('user_id', $user_id); $this->redirect('projects/add/'); And in my Proje

Problem with htmlhelper table generators

2007-02-19 Thread thequietlab
Hi! my piece of code looks like this : tableHeaders(array('col1','col2')); echo $html->tableCells(array('row1a','row1b')); echo $html->tableCells(array('row2a','row2b')); ?> instead of a table I get my values returned as a string (no html formatting) like this : 'col1 col2 row1a row1b row2a row

Patch feedback: Disabling sessions

2007-02-19 Thread Brad Daily
Hi everyone! Some time ago, I submitted a patch[1] that allowed you to disable sessions for either an entire controller or a subset of actions within a controller. My thinking was (and is) that turning AUTO_SESSION off is overkill when all you want to do is disable sessions for a limited number of

Twisting a little bit afterSave() use...

2007-02-19 Thread mindcharger
Hello! Here's the thing, I'm a couple of weeks from deploying my application and for this first version we will be using scaffolding for a "lesser- used" system part...so the 'quit scaffolding and code it by hand' is not an option (at least for a timely delivery...). In my system, when you creat

Database Driver: pear-ldap

2007-02-19 Thread NaNT
hi anyone successfully used PEAR:Ldap with cake? I tried it with a config/database.php entry like: var $ldap = array('driver' => 'pear-ldap', 'connect' => 'ldap_connect', 'host' => '127.0.0.1', 'login' => 'cake', 'password' => 'passwd', 'database' => '', 'prefix' => ''); but got the erro

Re: Menu element

2007-02-19 Thread Mech7
Ah i see, but normally you would load the function of the controller through the url blog/post where index would be the function. But how can you load this function without having it in the url? I could think that maybe i can put it in the constructor of appcontroller but this would not be really

Re: Menu element

2007-02-19 Thread Jon Bennett
> Ok so i render it now in default.thtml so it is everywhere, does that > mean that i must do the data handeling in app/app_controller.php yes, or in each controller if you want it to change. You could set a a default value for the array in the app_controller, which you can then override in your

Re: Menu element

2007-02-19 Thread Mech7
Ok so i render it now in default.thtml so it is everywhere, does that mean that i must do the data handeling in app/app_controller.php On Feb 19, 5:11 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > Yes that i found but where should it get the array from ? > > ahh, ok. In your controller, you wo

Re: Menu element

2007-02-19 Thread Jon Bennett
> Yes that i found but where should it get the array from ? ahh, ok. In your controller, you would do this: $menu_data = array('lorem','ipsum','etc'); $this->set ('menu_data', $menu_data); then in your view you would do: echo $this->renderElement ('menu', array('data'=>$menu_data)); then, in

Re: Error javascript?

2007-02-19 Thread Mech7
Thanks yes the tutorial did not say that i had to create app_controller :) On Feb 19, 4:52 pm, "palPalani" <[EMAIL PROTECTED]> wrote: > hi, > > you should add the following line in app/app_controller.php file. > > var $helpers = array('Javascript'); > > On Feb 19, 8:06 pm, "nate" <[EMAIL PROTECTE

Re: Error javascript?

2007-02-19 Thread palPalani
hi, you should add the following line in app/app_controller.php file. var $helpers = array('Javascript'); On Feb 19, 8:06 pm, "nate" <[EMAIL PROTECTED]> wrote: > That means either you haven't added "Javascript" to your $helpers list > in your controller *or* you're missing something like a cl

Re: Menu element

2007-02-19 Thread Mech7
Yes that i found but where should it get the array from ? On Feb 19, 4:17 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > Hi i am trying to make a menu, it renders fine in the default.thtml > > but how can i get data in the menu.thtml. Does it get's it's data from > > a component or a controller

Re: 1.2 apache error (WAMP)

2007-02-19 Thread MrTufty
In this case, I reckon the problem is the same one I had with Vertrigo - sounds like the Zend Accelerator problem that caused my Apache to crash every time I tried to access a Cake 1.2 site. Simple solution, just disable the Accelerator. On Feb 19, 2:08 pm, "nate" <[EMAIL PROTECTED]> wrote: > Eas

Re: Menu element

2007-02-19 Thread Jon Bennett
> Hi i am trying to make a menu, it renders fine in the default.thtml > but how can i get data in the menu.thtml. Does it get's it's data from > a component or a controller ? as i see that for example pagination is > stored under app/pagination and not under controller or models ? > I can't find a

Re: Error javascript?

2007-02-19 Thread nate
That means either you haven't added "Javascript" to your $helpers list in your controller *or* you're missing something like a class or database table. Starting out, your best bet is to wrap your two echo statements in wrote: > I have tried to add the javascript links in the way it says in many

Re: Error javascript?

2007-02-19 Thread Samuel DeVore
have you added var $helpers = array('Javascript'); you may need more then Javascript, I will often also have Form, Html, Time, Text, MyUberHelper as well On 2/19/07, Mech7 <[EMAIL PROTECTED]> wrote: > > I have tried to add the javascript links in the way it says in many > tutorials like: > > ec

Error javascript?

2007-02-19 Thread Mech7
I have tried to add the javascript links in the way it says in many tutorials like: link('prototype')); echo ($javascript->link('scriptaculous')); ?> But everytime it throws up an error? Notice: Undefined variable: javascript in E:\xampp\htdocs\portfolio\app \views\layouts\default.thtml on line

Re: CakePHP and PHPDoctrine

2007-02-19 Thread Alexandre
Hi Chistian, is possible download your code. Christian Winther [cwi.dk] ha escrit: > Hey > > Im currently working on a semi-port of phpdoctrine for CakePHP - and was > wondering if anyone would like to help out or give some feedback on the > level of compat there should be between CakePHP model

Re: [C] 1.2 validation - This field cannot be left blank

2007-02-19 Thread Tijs Teulings
Since this might save someone some time i implemented your (b) option in a semi-generalized way here: http://bin.cakephp.org/view/152660210 the past includes a demo validate array and an addon to validates that works with optional fields for which i misuse the allowEmpty variable. feel free to

Re: 1.2 apache error (WAMP)

2007-02-19 Thread nate
EasyPHP has a long history of having issues with Cake, so it wouldn't surprise me if it was that, but Cake also doesn't support 3.23. You need to install 4 or higher. On Feb 19, 5:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Let me just add, that I am having this problem only with cak

Re: Passing values between objects

2007-02-19 Thread [EMAIL PROTECTED]:
my apology. if thats the case, using session should help. On 2/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I also think storing it in the session is the best way > > > > > -- [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because

Re: bake.php script writes models, but not controller or views

2007-02-19 Thread lukemack
i had the same problem when the model contained associations. commenting out the associations did the trick. On 25 Jan, 13:18, "biesbjerg" <[EMAIL PROTECTED]> wrote: > Hi miggs, > > I recently had this problem. Turns out I had made a copy of a model > (backed up app/models/media_folder.php as app

Saving hasMany relation in edit view

2007-02-19 Thread zafoeta
Hi all, I am quite new in CakePHP. I actually read all the documentation about models, controllers and views in CakePHP. I have been doing some nice programming, but I get stuck on following problem. I have a view which assembles two tables which are realted to each other. Table users has many p

Menu element

2007-02-19 Thread Mech7
Hi i am trying to make a menu, it renders fine in the default.thtml but how can i get data in the menu.thtml. Does it get's it's data from a component or a controller ? as i see that for example pagination is stored under app/pagination and not under controller or models ? I can't find anything ab

Re: Application version control - including Cake core and any modifications

2007-02-19 Thread Felix Geisendörfer
And as I always recommend at this point of the discussion: Take a look at vendor branching in SVN . It adds a little overhead to development, but I use it for pretty much all projects that are more than a 30-minutes-hack. I highly recommend again

Re: Application version control - including Cake core and any modifications

2007-02-19 Thread AD7six
On Feb 19, 12:23 pm, "AD7six" <[EMAIL PROTECTED]> wrote: > On Feb 19, 12:00 pm, "Grant Cox" <[EMAIL PROTECTED]> wrote: > > > > > I'm just getting to the deployment stage of our application, and have > > realised that simply checking out our application from version control > > on the server is p

Re: Application version control - including Cake core and any modifications

2007-02-19 Thread jitka
For such as situations (when usage of SVN external is 'not enough') I am using tool named SVK from http://svk.bestpractical.com - short example how to use it with project based on cake is here: http://bin.cakephp.org/saved/160 With usage of SVK from this example You can have mirror of used cake's

Problem with custom validation

2007-02-19 Thread vidya
Hai, I have one problem with custom validation. In my model class validater function is function validates() { // Validation code goes here if($error) return false; } Validation worked for me, but i can't display the error message on the view using tagErrorMsg. ie; echo $html->t

Onfocus event for textbox

2007-02-19 Thread [EMAIL PROTECTED]
How to give onfocus event for a textbox --~--~-~--~~~---~--~~ 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

Re: Problama com a função Session->setflash no I.E. Preciso de ajuda!!!

2007-02-19 Thread AD7six
On Feb 18, 6:55 pm, "Guga" <[EMAIL PROTECTED]> wrote: > Salve, salve galera!!! Eu estou começando a aprender como utilizar o > cake e estou com algumas dúvidas espero que vc´s possam me ajudar. > > Resumo: Estou com um probleminha. Quando eu utilizo a função > $this->Session->setFlash("Mensagem

Re: 1.2 apache error (WAMP)

2007-02-19 Thread AD7six
On Feb 19, 11:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Let me just add, that I am having this problem only with cake1.2x > > allmy other projects cake 1.1x and others works just fine... > > the system is: > windows xp sp2 > apache 1.3.33 > PHP Version 4.3.10 > mySQL 3.23.49 > > t

Re: Passing values between objects

2007-02-19 Thread [EMAIL PROTECTED]
I also think storing it in the session is the best way --~--~-~--~~~---~--~~ 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,

Re: Application version control - including Cake core and any modifications

2007-02-19 Thread AD7six
On Feb 19, 12:00 pm, "Grant Cox" <[EMAIL PROTECTED]> wrote: > I'm just getting to the deployment stage of our application, and have > realised that simply checking out our application from version control > on the server is pretty neat. However, the way I've got the > repository set up, my app

Application version control - including Cake core and any modifications

2007-02-19 Thread Grant Cox
I'm just getting to the deployment stage of our application, and have realised that simply checking out our application from version control on the server is pretty neat. However, the way I've got the repository set up, my app does not include the Cake core (which is it's own repository, as I gen

Re: 1.2 apache error (WAMP)

2007-02-19 Thread [EMAIL PROTECTED]
Let me just add, that I am having this problem only with cake1.2x allmy other projects cake 1.1x and others works just fine... the system is: windows xp sp2 apache 1.3.33 PHP Version 4.3.10 mySQL 3.23.49 the package was installed with easyPHP 1.8 --~--~-~--~~~---~

1.2 apache error (WAMP)

2007-02-19 Thread [EMAIL PROTECTED]
Hi! I tryed to move my 1.1x branch app to 1.2x and I was getting an APACHE error: apache.exe has encountered a problem and needs to close. We are sorry for the inconvenience. When clicking on details I get that the error was caused by php4ts.dll The weird thing is I had no apache error when a

Re: Passing values between objects

2007-02-19 Thread Sergei
he says variable must be hidden. On 19 фев, 10:17, "[EMAIL PROTECTED]:" <[EMAIL PROTECTED]> wrote: > $this->redirect("/projects/add/{$idTemporary}"; --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Re: Build Single view use scaffolding for many models

2007-02-19 Thread mindcharger
As far as I understand your problem, you have a "scaffolding" problem. Scaffolding should be used for testing the models and DB structure. If you need that level of custom adaption it's time to quit scaffolding and supply your own VIEWS and CONTROLLERS. If you create your own view you can use th

Re: Problama com a função Session->setflash no I.E. Preciso de ajuda!!!

2007-02-19 Thread mindcharger
You shouldn't post your questions in any other language than English. If you stick your posts to English everybody will be able to understand what you say and help you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou