Problem with URLs in 1.0

2006-05-02 Thread CyclopsCED
I just downloaded and unpacked the new 1.0 package and put the entire contents into a new folder in my web root, This is the same way I have done it with every other version so far. However, when I load the default welcome page the css links are being sent as /css/cake.default.css and not /myfolde

Re: using more than one model in a add_new view

2006-05-02 Thread Carlos Mauricio Samour
Exelent! Thanks for the helpfull tip! I am really impresed by the level of help and support I have received from the Cake comunnity. Another question It might be a litle off topic. If in a view I have. First Deposit input('Deposit/inicial');?> input('Deposit/final');?> Second Deposit input('Depo

Re: Are you ready for the best Cake yet?

2006-05-02 Thread Armando Sosa
Hey it's finally here! I'm glad you liked my design. Congrats to all developers, you make an awesome job, guys.On 5/2/06, Marcelo Serpa < [EMAIL PROTECTED]> wrote:Man, that´s some AWESOME news... Just read the e-mail and excited to see the new site and download the new version! You guys are the bes

Undefined property: EventsController::$modelClass

2006-05-02 Thread Michael Yevdokimov
Hello everybody I am holy novice with Cake. :) I am trying to make some example to digg into Cake.. I've created controller EventsController, model Event and view event/index. They are working seems fine except for one thing, which is shown below. Notice: Undefined property: EventsController::$

Re: pretty URL's problem

2006-05-02 Thread gwoo
you need to uncomment the mod_rewrite in apache config and then leave line 42 commented --~--~-~--~~~---~--~~ 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: using more than one model in a add_new view

2006-05-02 Thread [EMAIL PROTECTED]
Just wanted to say thanks for posting this. I have been beating my head against this problem for hours, as I usually prefer to make a single form that saves all associated models at once. This saved me a lot of time! I'd vote that this should probably be added to the manual or wiki somewhere, s

Re: created_on/by & updated_on/by implementation?

2006-05-02 Thread Jeroen Janssen
Hi, I think I can also manage with using a beforeSave function (as I was already questioning that mysefl). As for filling in the data automaticly, that was exactly the idea behind it :) I have a couple of tables that users can add/edit information from, so I want a 'generic' solution that works

Re: pretty URL's problem

2006-05-02 Thread ivan
When uncommented all paths go lost and nothing but the first list works --~--~-~--~~~---~--~~ 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: pretty URL's problem

2006-05-02 Thread Jason Lee
On 5/2/06, ivan <[EMAIL PROTECTED]> wrote: > I'm working locally, running Apache 2.x.x.x. The httpd.conf file reads > All for AllowOverride but, since the mod_rewrite module is commented, > I'm using the .httaccess files Is .httaccess (note the two t's) a typo? Just making sure... :) > In my co

pretty URL's problem

2006-05-02 Thread ivan
Hi everyone. I want pretty url's like this: http://localhost/cake/blog/posts/view/1 but I'm getting this: http://localhost/cake/blog/index.php/posts/view/1 with the 'index.php' in the middle I'm working locally, running Apache 2.x.x.x. The httpd.conf file reads All for AllowOverride but, since t

Re: IIS Problems

2006-05-02 Thread hydra12
More info (and progress). First, I discovered that you have to set the document root in your php.ini file, not just in your website config for iis. That fixed some things - styles now working where they weren't before. Also, if I type the address as index.php?url=messages, then it works. index.p

Re: Are you ready for the best Cake yet?

2006-05-02 Thread Marcelo Serpa
Man, that´s some AWESOME news... Just read the e-mail and excited to see the new site and download the new version! You guys are the best ;)- Marcelo (FFighter)On 5/2/06, Andy <[EMAIL PROTECTED]> wrote:Excellent job on getting version 1.0 out there!  Everyone who's workedon the code, site, manual

Re: IIS Problems

2006-05-02 Thread hydra12
My mistake. The route that works is: $Route->connect('/', array('controller'=>'addresses', 'action'=>'index')); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email t

IIS Problems

2006-05-02 Thread hydra12
I know I should use apache, and I do for development, but my employer uses iis, and we only have one static ip, so there you go. I'm using the newest cake (1.0.0.2685) I could find. Since I can't point the webroot to app/webroot, I created a new site running on port 8088 and pointed the document

Re: created_on/by & updated_on/by implementation?

2006-05-02 Thread [EMAIL PROTECTED]
> ...My only issue with that is if there is some kind of error > when the model performs the save, the work will have completed already > - I'd rather not assume that the save will be successful, I'd rather > let the save occur and operate off of its success...this goes back to > using afterSave()

Re: created_on/by & updated_on/by implementation?

2006-05-02 Thread [EMAIL PROTECTED]
> I don't use afterSave, but beforeValidate for two reasons: > * you can use empty($this->id) to check if we are creating/updating > * you can still have validation rules on the 'automaticly filled in > fields' (but, now thinking about it, there is probably something > conceptually wrong with this

Re: Ajax tutorial

2006-05-02 Thread Fernando
yes I have, when I put it in the appcontroler it works.. tks slavenko escreveu: Fernando wrote: Hi, I'm new to cake, and I was trying this tutorial http://www.grahambird.co.uk/cake/tutorials/ajax.php but I'm getting *Notice*: Undefined variable: _javascript_ in *E:\Arquivos

Re: Ajax tutorial

2006-05-02 Thread slavenko
Fernando wrote: > Hi, I'm new to cake, and I was trying this tutorial > http://www.grahambird.co.uk/cake/tutorials/ajax.php > > but I'm getting > > *Notice*: Undefined variable: javascript in *E:\Arquivos de > programas\VertrigoServ\www\cake\app\views\layouts\default.thtml* on line *9* > > *F

Ajax tutorial

2006-05-02 Thread Fernando
Hi, I'm new to cake, and I was trying this tutorial http://www.grahambird.co.uk/cake/tutorials/ajax.php but I'm getting Notice: Undefined variable: _javascript_ in E:\Arquivos de programas\VertrigoServ\www\cake\app\views\layouts\default.thtml on line 9 Fatal error: Call to a member functio

Re: mysqli support?

2006-05-02 Thread Luigi
Thanks for the reply, but the URL seems to be wrong. Gave me "Error try another one". --~--~-~--~~~---~--~~ 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: created and modified fields

2006-05-02 Thread scott lewis
On 2-May-06, at 2:17 AM, saavedrajj wrote: > nothing... even with the new cake release, created es a DATETIME type > and there no files at tmp/cache/models, it's weird becuase it only > happens with my database, i made the blog tutorial and "created" and > "modified" fields works fine. Double ch

Re: php4 losing ID on update

2006-05-02 Thread Eric Banford
Troy Schmidt wrote: > I think the official word is CakePHP only supports PHP > 4.3.11, but I > could be mistaken. Actually, the installation guide states: PHP4 or PHP5 (PHP >=4.3.2 is recommended): > And I did report an enhancement to finding the last insert id using > MySQL SQL command rath

Re: about jpgraph

2006-05-02 Thread Seth Dillingham
On 4/28/06, [EMAIL PROTECTED] wrote: > I have a tricky problem about cake and jpgraph.I copy > the jpgraph libs to a subdir of my cake app.But everytime I want to > include some > of the jpgraph lib files in my cotrollers so that I can output some > images, my cake framework crashes, and all I

error / exception handling?

2006-05-02 Thread Dave
Does Cake have any facility for centralized handling of errors or exceptions? For example, suppose a model has a problem on an insert. I want to escape out of whatever action is going on and just print a message to the user. Is there an official way to do this? --~--~-~--~~--

Re: Are you ready for the best Cake yet?

2006-05-02 Thread Andy
Excellent job on getting version 1.0 out there! Everyone who's worked on the code, site, manual, and everything else that makes CakePHP tick has done a fantastic job! Andy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: Are you ready for the best Cake yet?

2006-05-02 Thread Gustavo Carreno
One point O, HURRAY And the site is AWSOME Keep it up guys !!! -- < If you know Red Hat you know Red Hat, If you know Slackware you know Linux > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP"

Re: created and modified fields

2006-05-02 Thread saavedrajj
nothing... even with the new cake release, created es a DATETIME type and there no files at tmp/cache/models, it's weird becuase it only happens with my database, i made the blog tutorial and "created" and "modified" fields works fine. --~--~-~--~~~---~--~~ You re

Re: created and modified fields

2006-05-02 Thread saavedrajj
nothing... even with the new cake release, created es a DATETIME type and there no files at tmp/cache/models, it's weird becuase it only happens with my database, i made the blog tutorial and "created" and "modified" fields works fine. --~--~-~--~~~---~--~~ You re

Re: created_on/by & updated_on/by implementation?

2006-05-02 Thread Jeroen Janssen
Hi, Yesterday I did a small experiment with the following code that seems to work ok (created_on / updated_on implementation) http://cakephp.org/pastes/show/7b93a7004474afdece1ebd35e751f14d I don't use afterSave, but beforeValidate for two reasons: * you can use empty($this->id) to check if we

Re: Are you ready for the best Cake yet?

2006-05-02 Thread saavedrajj
Congratulations --~--~-~--~~~---~--~~ 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 PROTECTED] For mo