Re: Your tmp directory is NOT writeable.

2011-11-11 Thread Zach
Changing the 'other' permission level to 7 (wrx) on the tmp directory did the trick! Thanks! On Nov 11, 3:23 am, AD7six wrote: > On Nov 11, 9:27 am, Zach wrote: > > > > > Hi All, > > > I hit a snag while trying to setup Linux users. Maybe you can help. >

Your tmp directory is NOT writeable.

2011-11-11 Thread Zach
Hi All, I hit a snag while trying to setup Linux users. Maybe you can help. Here's what I did: I created a user. useradd tpatel I created a group. groupadd developers I added the user to the group. usermod -G developers tpatel I changed the ownership of my app's root dev directory recursively

beginner: single view for index and add?

2009-01-18 Thread Zach
Hi All. I've gone through the blog tutorial and i'm trying to make my first cake site. My site is more or less the same as the blog tutorial, except I want the add view and the index view to be the same thing (one page that collects and displays posts, like a comment thread). Do i have to have an

Re: Leading Zeros Getting Stripped

2007-10-05 Thread Zach Cox
It's a VARCHAR(50), not an INTEGER column. On 10/5/07, Christian Winther <[EMAIL PROTECTED]> wrote: > > Try to do > > var_dump(1); > var_dump("1"); > > It�s a PHP issue > > -Original Message- > From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adam > Royle >

CakePHP Listserv App

2007-06-05 Thread zach
Has anyone built a Listserv in Cake? Or, has anyone integrated an existing listserv package into Cake? If not, is anyone interested in being contracted to do so? Thanks! -Zach --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Polymorphic Associations

2007-05-04 Thread Zach Cox
' => array( > 'foreignKey' => 'record_id', > 'conditions' => 'Photo.model = \'Group\'' > ) > ); > } > > ?> > > http://manual.cakephp.or

Re: Polymorphic Associations

2007-05-04 Thread Zach Cox
Yep for 1-1 relations that would work - I should've used a 1-n example. :) Imagine a social networking site with people, groups, & photos: - Person hasMany Photo - Group hasMany Photo - Photo belongsTo Person, Group Then you'd need to do: photos - id - person_id - group_id On 5/4/07, J

Problems with two timestamps

2007-04-25 Thread zach
-04-25 16:40:01 2007-04-25 16:32:41 Thoughts? Thanks! -Zach --~--~-~--~~~---~--~~ 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 unsubscri

Re: Prevent redirect in unit test

2007-04-14 Thread Zach Cox
Thanks Felix, that worked perfectly! Here's what I did before my controller test class: Mock::generatePartial('PeopleController', 'PeopleControllerTestVersion', array('redirect')); Then I just created the mock controller in the setUp() method: $this->controller =& new PeopleControllerTestVersi

Re: Unit Testing Emails

2007-04-04 Thread Zach Cox
Just be aware that if you can't run Fakemail on port 25 then you need to specify the port in PHP to send the email from. The EmailComponent and the PHP mail() function don't let you do that. On 4/4/07, Langdon Stevenson <[EMAIL PROTECTED]> wrote: > > Thanks for posting this link Felix. Fakemai

Re: Unit Testing Emails

2007-04-04 Thread Zach Cox
Turns out it's pretty easy to roll your own sendmail replacement: http://gregmaclellan.com/blog/sendmail-wrapper/ On 4/4/07, Chris Lamb <[EMAIL PROTECTED]> wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > I develop on a Mac and don't really want to set up a mail server and > > prog

Re: Pagination in 1.2 with method parameters

2007-01-26 Thread Zach Cox
> > > > id > > name > > attribute1 > > created > > modified > > > > > >

Re: Pagination in 1.2 with method parameters

2007-01-26 Thread Zach Cox
; > > > > which creates urls like > > > > > > /controller/action/page:2/param1/param2 > > > > > > seems to work with my action like > > > > > > function action($param1, $param2) > > > > { > > > > > > }I ge

Re: Pagination in 1.2 with method parameters

2007-01-26 Thread Zach Cox
I'd really like to avoid this: function action($pagingStuff, $param1, $param2) { } Am I missing something? The whole point of this is to paginate search results while avoiding POSTed variables. On 1/26/07, AD7six <[EMAIL PROTECTED]> wrote: > > > > On Jan 26, 1:42

Re: Pagination in 1.2 with method parameters

2007-01-26 Thread Zach Cox
That's closer but it still doesn't work right, it produces: /controller/action/page:2/param1/param2 Is there any way to get $paginator->next() to put the action parameters *before* the pagination parameters? On 1/25/07, nate <[EMAIL PROTECTED]> wrote: > > $paginator->next('Next>>', array('url'

Re: Why do plugins use separate sessions?

2006-09-26 Thread Zach Cox
Awesome - you rock!  I got around this (for now) by just using cookies but I'll try the fixes on your blog if 1.2 isn't out soon enough.I can see the rationale for having plugins use separate sessions but it's also useful for them to use the main app session.  Would be nice to choose the session to

Re: ?CAKEPHP=d550b7b78dbfe545d4afeda95d470eaa appended to all urls

2006-08-09 Thread Zach Cox
Hi Mark,Thanks for the reply!  I checked on 3 different browsers (2 different OS's) and get the same behavior - so it's not a browser issue.This is on a shared web host (jatol.com ).  What should I ask them about the server supporting setting cookies?Thanks,ZachOn 8/9/06, Mark Quinn < [EMAIL PROTEC

Re: How do you set home page title?

2006-06-29 Thread Zach Cox
Yes, as I said before, I'm aware you can use $this->pageTitle in a controller action to set the page's title.What I want to do is set the home page's title.  For example, if my site is at www.mysite.com, and I point my browser to http://www.mysite.com, Cake renders app/views/pages/home.thtml insid

Re: Add

2006-06-26 Thread Zach Cox
Hi RosSoft,I needed to link to an externally hosted js file for a Google Map so I added to your awesome HeadHelper (see attached).  I added a new register_jsexternal function and a corresponding case in print_registered(). Thanks,ZachOn 6/24/06, RosSoft <[EMAIL PROTECTED]> wrote: HeadHelper is your

Re: Web host doesn't use AllowOverride

2006-06-09 Thread Zach Cox
p/posts/view/3/posts/index/posts/indexThanks,Zach On 6/9/06, David Spitzley <[EMAIL PROTECTED]> wrote: I was having the flash calls hang as well, and discovered that I hadn't setdefine('SERVER_IIS', true);in app/config/core.php.  On the other hand, I don't recall whether or no

Re: Web host doesn't use AllowOverride

2006-06-09 Thread Zach Cox
Sorry should have mentioned: it does it in both flash() and link() calls - would they both have the same bug?On 6/9/06, nate < [EMAIL PROTECTED]> wrote:Probably a bug in flash( ).  You can submit a ticket at https://trac.cakephp.org/ --~--~-~--~~~---~--~~ You receive

Re: Web host doesn't use AllowOverride

2006-06-08 Thread Zach Cox
They said they have mod_rewrite but there's no AllowOverride in httpd.conf and they won't put it in.  Will commenting that line out still work?On 6/8/06, RosSoft <[EMAIL PROTECTED]> wrote: If you don't have mod_rewrite, uncomment define('BASE_URL' fromapp/config/core.php --~--~-~--~~--

Re: Web host doesn't use AllowOverride

2006-06-08 Thread Zach Cox
Is there anything special you have to do?  Or does Cake figure it out for you?Thanks,ZachOn 6/8/06, nate < [EMAIL PROTECTED]> wrote:You can use Cake with or without mod_rewrite (AllowOverride) enabled. --~--~-~--~~~---~--~~ You received this message because you are