Re: Email Attachments Don't Work (1.2)

2008-04-25 Thread Doug @ Straw Dogs
For anyone else suffering this problem the solution is: For some reason Cake won't do attachments unless you state the filePaths first. This is the case even if you are using an absolute path for your attachments. Thanks. On Apr 21, 2:47 pm, Doug <[EMAIL PROTECTED]> wrote: > I've done a scount

Bakery Article Submission - Broken?

2008-03-04 Thread Doug @ Straw Dogs
I'm trying to submit an article/component in the Bakery but its returning a blank screen on submission. I'd give more information but thats as much as there is. Nothing. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

FormHelper::input() has no size option??

2008-02-22 Thread Doug @ Straw Dogs
I'm a bit suprised to find that the input method of the form helper doesn't have a size attribute. Am I missing it or do I need to hack it in myself? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Re: saveAll() Problems

2008-02-22 Thread Doug @ Straw Dogs
oked at the book section on associations and saving > data?http://book.cakephp.org/view/66/models#associations-78 > > Sam D > > On Thu, Feb 21, 2008 at 5:41 AM, Doug @ Straw Dogs > > > > <[EMAIL PROTECTED]> wrote: > > > I've been banging my head again

saveAll() Problems

2008-02-21 Thread Doug @ Straw Dogs
I've been banging my head against a wall trying to get $this->Model- >saveAll() working. I'm hoping someone has the answers. I've tried formating the data in the following ways: Array ( [Customer] => Array ( [site_url] => Array ( [0] =

Re: Segmentation fault on baking controller

2008-02-02 Thread Doug @ Straw Dogs
I've found the solution to this: You must build the models and controllers for 'parent' tables (those that haveMany) before you build their childrens controllers. On Feb 3, 12:08 am, "Doug @ Straw Dogs" <[EMAIL PROTECTED]> wrote: > On Cake 1.2 beta:: >

Segmentation fault on baking controller

2008-02-02 Thread Doug @ Straw Dogs
On Cake 1.2 beta:: When I bake a controller that has belongsTo associations I get a segmentation fault. This gets printed to the screen after asking the creation questions. Specifically "Would you like to create the methods for admin routing". Any ideas? :( --~--~-~--~~--

Re: Baked Views have no fields...

2008-02-02 Thread Doug @ Straw Dogs
This is on version 1.1 - the currently available stable download. The pattern appears to be: Any table of two words like "widget_types" or "incoming_calls" fails to bake views with fields. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are

Fatal error: Call to a member function schema() on a non-object

2008-02-02 Thread Doug @ Straw Dogs
I'm having loads of problems using bake in 1.2 beta. The above error ("Fatal error: Call to a member function schema() on a non-object") occurs when I attempt to bake a view for my tables called "apps". It has multiple relationships to other tables. Mainly "hasMany" relationships. I've created

Baked Views have no fields...

2008-02-01 Thread Doug @ Straw Dogs
Hello all When I generate MVCs using the bake.php script for tables of two words my view ends up having no form fields. I can't find any info on this - has this happened to anyone before? For example I have a table called: "incoming_calls" and my generated model is called: "IncomingCall". My c

Business Benifit?

2008-01-24 Thread Doug @ Straw Dogs
I'm a developer by heart and know I'd love to code in CakePHP. However, I'm failing to see any solid business benifit in using it that can help me sell it to the directors. The site states features - but not benifits and certainly not business benifits. Imagine there's a small company with 2 dev