Logs for #cakephp

Page 27 of 36,922, showing 100 records out of 3,692,143 total, starting on record 2,601, ending on 2,700

# At Username Text
# Aug 7th 2008, 07:56 alkemann u got a java uploader for big files?
# Aug 7th 2008, 07:56 lqdice__ i think swf upload automatically chops the files up and uploads it
# Aug 7th 2008, 07:57 alkemann http://www.jupload.biz/ is nice
# Aug 7th 2008, 07:57 lqdice__ that is pretty fancy
# Aug 7th 2008, 07:57 lqdice__ not sure what ill use yet.. ill take a look at it
# Aug 7th 2008, 07:57 lqdice__ looks nice
# Aug 7th 2008, 07:57 alkemann yea it is
# Aug 7th 2008, 07:57 alkemann multiple files, image size, u name it
# Aug 7th 2008, 07:59 Coenraad im having a problem with the Auth component, it isnt redirecting me properly after logging in even tho i set the $this->Auth->loginRedirect. Anybody who thinks he can help me out?
# Aug 7th 2008, 08:00 Kitara ACTION hits Coenraad with a hamer
# Aug 7th 2008, 08:00 Coenraad omg
# Aug 7th 2008, 08:00 Coenraad RUN!
# Aug 7th 2008, 08:00 Coenraad D
# Aug 7th 2008, 08:00 Kitara i help you you help me ? :P
# Aug 7th 2008, 08:00 Coenraad gheeh
# Aug 7th 2008, 08:01 Coenraad depends
# Aug 7th 2008, 08:01 tesh hi, I want to set a form input's class when a validation error occurs instead of setting a error value to display - how can this be done?
# Aug 7th 2008, 08:01 Kitara pm :)
# Aug 7th 2008, 08:01 Coenraad •alkemann•
# Aug 7th 2008, 08:03 sokar007 hi, in cakephp manual http://book.cakephp.org/view/303/file-fields $this->data['Documents']['submittedfile'] is array with few few fields. i tried it and i have only filename - why ?
# Aug 7th 2008, 08:08 pgcd sokar: make sure your form's enctype is set to multipart/form-data
# Aug 7th 2008, 08:08 lqdice__ tesh: when there is an error i think it sets the class to error already
# Aug 7th 2008, 08:08 pgcd sokar: if you create the form with type='file' cake will do it for you
# Aug 7th 2008, 08:10 tomas- im trying to have an img placed inside an $html->link .... but its encoding it so it shows up literally.....any idea how i can fix it so it shows up properly? (as interpreted html)
# Aug 7th 2008, 08:11 sokar007 pgcd: its my form echo $form->create('Document', array('action' => 'add', 'type'=>'file'));
# Aug 7th 2008, 08:11 sokar007 and in controller $this->params['form'] is empty array
# Aug 7th 2008, 08:12 pgcd sokar: in the controller, i think you can use $this->data
# Aug 7th 2008, 08:12 sokar007 $this-data i have only filename
# Aug 7th 2008, 08:12 pgcd tomas: add "false" as the last parameter in the call to link()
# Aug 7th 2008, 08:13 pgcd sokar: did you try a full debug on this->data?
# Aug 7th 2008, 08:13 atula I was wondering, I have some views using ajax layout, but with the debug turns on... it's not parsing at all due to the extra html.... is there a way to tell debug to not show itself in ajax views ?
# Aug 7th 2008, 08:13 alkemann Coenraad: yea?
# Aug 7th 2008, 08:13 sokar007 pgcd: im doing print_r($this->data)
# Aug 7th 2008, 08:13 Coenraad •alkemann• wrong button, sorry (-;
# Aug 7th 2008, 08:14 pgcd atula: been there yesterday. use Configure::set('debug',0) in the action
# Aug 7th 2008, 08:14 alkemann k
# Aug 7th 2008, 08:14 pgcd sokar: and all the fields show up properly except for submittedfile?
# Aug 7th 2008, 08:15 atula pgcd: thank you, pgcd !
# Aug 7th 2008, 08:16 slartibartfast76 Still having trouble with the URLs at my webspace. Local on my Maschine it works without htaccess Files. But on the webspace cake is still writing wrong URLs even without htaccess files.
# Aug 7th 2008, 08:16 pgcd atula =)
# Aug 7th 2008, 08:16 altos slartibartfast76: If your host is using aliasing i found it screwed up cakephp entirely.
# Aug 7th 2008, 08:16 altos Instead of virtualhosts
# Aug 7th 2008, 08:16 atula pgcd: is it set or write ?
# Aug 7th 2008, 08:17 pgcd atula: might be write, actually =)
# Aug 7th 2008, 08:18 atula yep. that was it
# Aug 7th 2008, 08:18 sokar007 pgcd: yes all fields ok but submittedfile only filename
# Aug 7th 2008, 08:18 fourcs Having problem getting radio button in a view. Have success using same code in one view but not in another. Can anyone give me some ideas?
# Aug 7th 2008, 08:18 pgcd yep, write
# Aug 7th 2008, 08:18 pgcd sokar: and you are positive that the form has the correct enctype in the html?
# Aug 7th 2008, 08:19 pgcd sokar: this is what i'm using, and it works 100% - echo $form->create('Image', array('type'=>'file', 'action' => 'edit'));
# Aug 7th 2008, 08:19 fourcs what's the http for bin?
# Aug 7th 2008, 08:19 slartibartfast76 @altos: I have a subdomain for that project.
# Aug 7th 2008, 08:19 sokar007 pgcd: i see what is cousing problem i have two forms one in other
# Aug 7th 2008, 08:19 pgcd sokar =)
# Aug 7th 2008, 08:21 altos Man... Setting up fckeditor out of the box in cakephp is being a pita
# Aug 7th 2008, 08:21 altos Keep getting JSController errors
# Aug 7th 2008, 08:22 fourcs thx, url: 3911123
# Aug 7th 2008, 08:23 fourcs that code works in one view to get radio buttons but not in another view.
# Aug 7th 2008, 08:23 Coenraad •altos• i really like tinymce, its really easy to set up too
# Aug 7th 2008, 08:25 pgcd anybody knows what the name of the much-overrated image display thingy is (i mean the one with the layer that dims the rest of the page) and if there's a ready-made solution for cake?
# Aug 7th 2008, 08:29 nilsel pgcd: are you talking about lightbox? there's a helper for that
# Aug 7th 2008, 08:31 depinko hello, how could I determine if I'm on a homepage? I need pass some ID to body, so I can use different stylig based on where I am
# Aug 7th 2008, 08:32 pgcd nilsel: i don't know the name, but it's a very very common (over-exposure, methinks) way to go from thumbnails to fullsize images
# Aug 7th 2008, 08:33 florent when I set a validation rule for a password confirm field for example, is it mandatory that this field also exists in the table?
# Aug 7th 2008, 08:33 stevieboy ACTION votes for ~logs for the whole life - replaying is better then reminding
# Aug 7th 2008, 08:35 florent in other words, does validation works on a field that is not defined in the schema?
# Aug 7th 2008, 08:35 pgcd nilsel: yep, that's the one
# Aug 7th 2008, 08:35 lqdice__ florent: i dont believe so because I have created contact forms that did not follow those rules
# Aug 7th 2008, 08:35 lqdice__ as in, did not have a column for a field
# Aug 7th 2008, 08:35 depinko any ideas?
# Aug 7th 2008, 08:36 florent lqdice__, ok
# Aug 7th 2008, 08:37 KyJace hello...anybody familiar with ACL?
# Aug 7th 2008, 08:37 Coenraad im having a problem with the Auth component, it isnt redirecting me properly after logging in for the first time. I specified the $this->Auth->loginRedirect. Anybody who thinks he can help me out?
# Aug 7th 2008, 08:38 fourcs Anyone have any words?
# Aug 7th 2008, 08:38 lqdice__ Coenraad: i believe it will redirect to the page that sent it there or if no page sent it there then to the one specified in loginRedirect.. but im not 100% sure.. you should be able to force the loginRedirect page by doing a $this->redirect($this->Auth->loginRedirect) in the login() action
# Aug 7th 2008, 08:40 Coenraad ok, im gonna give it a try
# Aug 7th 2008, 08:40 Coenraad oh
# Aug 7th 2008, 08:40 Coenraad i already wrote that ^_^
# Aug 7th 2008, 08:40 Coenraad although, i had: $this->redirect($this->Auth->loginRedirect());
# Aug 7th 2008, 08:40 Coenraad but still the weird redirect..
# Aug 7th 2008, 08:41 lqdice__ i dont think loginRedirect is a function
# Aug 7th 2008, 08:41 perilousapricot pgcd: it's called lightbox
# Aug 7th 2008, 08:42 perilousapricot pgcd: there's a tutorial somewhere on the internet of integrating it with cake
# Aug 7th 2008, 08:42 Coenraad •lqdice__• i rewrote it to $this->redirect($this->Auth->loginRedirect);
# Aug 7th 2008, 08:42 perilousapricot pgcd: oh, scratch that, I see someone replied down lower
# Aug 7th 2008, 08:42 Coenraad but still it acts weird
# Aug 7th 2008, 08:44 KyJace $this->Acl->allow('visitors', '/') returns Warning (512): DbAcl::allow() - Invalid node [CORE/cake/libs/controller/components/acl.php, line 367]. I added visitors as a group in ARO and '/' in ACO
# Aug 7th 2008, 08:45 florent lqdice__, the validation is indeed working as expected. the error was somewhere else.
# Aug 7th 2008, 08:45 Coenraad •lqdice__• somehow it picks the name of a totally different controller to redirect you to
# Aug 7th 2008, 08:46 pgcd perilousapricot: thank you anyway - i'm trying to use it right now...
# Aug 7th 2008, 08:46 perilousapricot just trying to help :)
# Aug 7th 2008, 08:47 picca Is it possible to make Auth component using id as username?
# Aug 7th 2008, 08:47 Coenraad •picca• yes it is, you can specify the fields yourself
# Aug 7th 2008, 08:48 fourcs Can anyone give me an idea why some radio button code in one view won't work in another view?, url 3911123
# Aug 7th 2008, 08:48 picca Coenraad: I know, $this->Auth->fields, but Auth does not accept this field.
# Aug 7th 2008, 08:48 TommyO fourcs: if you paste the whole url we'd have something to click rather than the extra work of rebuilding the url
# Aug 7th 2008, 08:49 picca Coenraad: I think it does not accept id field because it is auto_increment
# Aug 7th 2008, 08:49 Coenraad •picca• ah ok.. sucks
# Aug 7th 2008, 08:49 fourcs http://bin.cakephp.org/view/3911123
# Aug 7th 2008, 08:49 TommyO much more likely to get help now :)