Re: Cake not saving, latest build, wamp server (on vista)

2009-07-01 Thread Lamonte
?> Password Again input("Users.pass.2", array('type' => 'password', 'label' => '')); ?> Email Address input("Users.address.1&qu

Cake not saving, latest build, wamp server (on vista)

2009-07-01 Thread Lamonte
When I submit the form: Array ( [Users] => Array ( [username] => test [email] => t...@gmail.com [password] => 098f6bcd4621d373cade4e832627b4f6 ) ) Debug info outputs what it should output: users model array( 'em

Re: Poll: what do you hate about CakePHP?

2009-06-07 Thread Lamonte
Lack of a proper documentation Lack of a support forum On Fri, Jun 5, 2009 at 1:32 PM, Celso wrote: > > We love cakePHP ! > But...I hope something like this: > > --> $javascript->validate() > --> $ajax->form(.., array( validate => 'myvalidateFunc' ) ) > --> $javascript->datepicker() > --> $javas

Re: File Upload Limit?

2009-01-27 Thread Lamonte
Great support AD7six your response helped me 2x as much as everyone else. I thank you. On Tue, Jan 27, 2009 at 4:36 PM, AD7six wrote: > > > > On Jan 27, 11:29 pm, Lamonte wrote: > > @Smelly_Eddie - waste of vps rofl... please refrain to personal > attacks > > I d

Re: File Upload Limit?

2009-01-27 Thread Lamonte
@Smelly_Eddie - waste of vps rofl...I only got a vps for my image host that hosts over 40k images. Because I'm not 100% linux literate doesn't mean its a waste please refrain to personal attacks please and thankyou. Anyways I've updated these values on my clients server since thats where the file

Re: File Upload Limit?

2009-01-26 Thread Lamonte
yeah I own a vps On Mon, Jan 26, 2009 at 3:23 PM, Jon Bennett wrote: > > > upload_max_filesize2M2M > > there's ya problem then! can't upload a 9mb file if the limit is set > at 2M. Do you have permission to change it? if not, looks like a > switch of host is required. > > j > > -- > > jon bennet

Re: File Upload Limit?

2009-01-26 Thread Lamonte
upload_max_filesize2M2Mmax_execution_time3030 max_input_nesting_level6464 max_input_time6060 Hmm On Mon, Jan 26, 2009 at 2:13 PM, brian wrote: > > What are your php.ini settings? Did you check those? > > On Mon, Jan 26, 2009 at 3:01 PM, Lamonte wrote: > > Okay so the file

Re: File Upload Limit?

2009-01-26 Thread Lamonte
Okay so the file is 9mb in size. I try to upload the pdf file in firefox it sends me back to the upload page. When uploading smaller files like 1mb it works fine. Any solutions? On Sun, Jan 25, 2009 at 8:56 AM, Smelly_Eddie wrote: > > What exactly is 'dont work out well'? > > By default Apac

File Upload Limit?

2009-01-24 Thread Lamonte
My client has problems uploading a file that is a rough 70mb to the server using cakephp's file data" $real_name = substr(sha1( $this->data['File']['pdf']['name'] . time() . rand(1,99) ), 0, 12) . ".pdf"; if( move_uploaded_file( $this->data['File']['pdf'

Logout not working Syntax Error with Cake 1.2

2009-01-10 Thread Lamonte
Fatal error: Call to undefined method stdClass::logout() in C:\wamp\www \Subscriptions\app\controllers\users_controller.php on line 17 is the error I get yet my controller is setup like follows: Auth->loginRedirect = array('controller' => 'members', 'action' => 'home'); } public

Re: the Gift of 1.2 Final

2008-12-25 Thread Lamonte
Will play. On Thu, Dec 25, 2008 at 6:06 PM, kiang wrote: > > Congratulations and Merry Christmas! :) > > I've translated part of the news to Traditional Chinese here: > http://twpug.net/modules/news/article.php?storyid=236 > > And, have some thoughts on the next step of CakePHP. > > First, a new

Re: Newbie questions about model relations

2008-10-18 Thread Lamonte(Scheols/Demonic)
Yeah cake its strict on everything so you can't name your id "design_id" stupid? Yes I know. On Sat, Oct 18, 2008 at 11:06 AM, Marritza <[EMAIL PROTECTED]> wrote: > > > Ok, let me clarify finally. (Never used newsgroups before so pardon lack of > complete information :P ) > > class Design extend

Re: jquery validation

2008-10-11 Thread Lamonte(Scheols/Demonic)
required: true, minlength: 2, remote: "users.php" }} }); Fixed.. On Sat, Oct 11, 2008 at 9:59 AM, Lamonte(Scheols/Demonic) <[EMAIL PROTECTED] > wrote: > Ever tried the Error Console in FireFox?

Re: jquery validation

2008-10-11 Thread Lamonte(Scheols/Demonic)
Ever tried the Error Console in FireFox? var validator = $("#UserSignupForm").validate({ rules: { firstname: "required", lastname: "required", data[User][username]: { required: true,

Re: Custom views based on action parameters?

2008-10-06 Thread Lamonte(Scheols/Demonic)
; In your case $this->redirect('profile/edit', null, true); > > Hope this helps. > > GrandiJoos > > On 4 okt, 17:41, Lamonte <[EMAIL PROTECTED]> wrote: > > How do you switch "views" within a controller action? I have something > > setup like

Re: Trouble with the HtmlHelper and $scripts_for_layout

2008-10-06 Thread Lamonte(Scheols/Demonic)
Just to help others who might help you, are you running the latest version of Cake? On Mon, Oct 6, 2008 at 10:34 AM, Marc Campeau <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > I'm having trouble with the HtmlHelper and the $scripts_for layout. > Basically, I use the helper to add CSS inline ($h

Re: Custom views based on action parameters?

2008-10-06 Thread Lamonte(Scheols/Demonic)
Got it. On 10/6/08, Fran Iglesias <[EMAIL PROTECTED]> wrote: > > > Hi, > > El 04/10/2008, a las 17:41, Lamonte escribió: > > > How do you do it. > > > controller->render('view_name'); > > > -- > Fran Iglesias > [EMAIL

hasMany unsure

2008-10-04 Thread Lamonte(Scheols/Demonic)
Hi, I'm trying to connect 2 tables together with "has" many, basically what I want to do is select all the votes from the votes table and order them by total votes. How exactly am I supposed to do that using cakes hasMany relation. I have the following: array( 'classname' => 'Votes'

Re: Custom views based on action parameters?

2008-10-04 Thread Lamonte(Scheols/Demonic)
Okay so I got it working using $this->render(view) from someone in the IRC, how do I work with multiple views ? On Sat, Oct 4, 2008 at 10:41 AM, Lamonte <[EMAIL PROTECTED]> wrote: > > How do you switch "views" within a controller action? I have something > setup li

Custom views based on action parameters?

2008-10-04 Thread Lamonte
How do you switch "views" within a controller action? I have something setup like the following example.com/users/profile then I might want to do example.com/users/profile/edit I want to change views inside the profile action based on the parameter which is set, possible? It yes, How do you do it.