Re: Edit forms in Internet Explorer
Wow, that's pretty obscure. Yes, I'm using mod_auth_sspi. It was so easy to set up, I hate to change to LDAP, but it looks like that's going to be necessary. Thanks for the suggestion, I'll give it a try. On Sep 12, 6:32 pm, Niko <[EMAIL PROTECTED]> wrote: > I was having the exact same problem until I disable the mod_auth_sspi > module. I then replaced it with mod_authnz_ldap and everything works > fine. Maybe you can check something at a module level. When I set a > proxy between the web server and IE I found out that when it got stuck > all the server got was GET request and no PUT. If you wait a couple of > seconds and hit the submit button you got a PUT request, as expected. > Hope that helps. > Nico. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Edit forms in Internet Explorer
I was having the exact same problem until I disable the mod_auth_sspi module. I then replaced it with mod_authnz_ldap and everything works fine. Maybe you can check something at a module level. When I set a proxy between the web server and IE I found out that when it got stuck all the server got was GET request and no PUT. If you wait a couple of seconds and hit the submit button you got a PUT request, as expected. Hope that helps. Nico. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Edit forms in Internet Explorer
There is no Javascript in the page whatsoever. If you read through the controller logic, the only way that the form will return to itself without doing anything is if $this->data is not set (i.e. empty($this- >data)). Here is the controller: Domain->recursive = 0; $this->set('domains', $this->paginate()); } function view($id = null) { if (!$id) { $this->Session->setFlash(__('Invalid Domain.', true)); $this->redirect(array('action'=>'index')); } $this->set('domain', $this->Domain->read(null, $id)); } function add() { if (!empty($this->data)) { $this->Domain->create(); if ($this->Domain->save($this->data)) { $this->Session->setFlash(__('The Domain has been saved', true)); $this->redirect(array('action'=>'view','id'=>$this->Domain- >getInsertID())); } else { $this->Session->setFlash(__('The Domain could not be saved. Please, try again.', true)); } } $groups = $this->Domain->Group->find('list'); $nodes = $this->Domain->Node->find('list'); $this->set(compact('groups', 'nodes')); } function edit($id = null) { if (!$id && empty($this->data)) { $this->Session->setFlash(__('Invalid Domain', true)); $this->redirect(array('action'=>'index')); } if (!empty($this->data)) { if ($this->Domain->save($this->data)) { $this->Session->setFlash(__('The Domain has been saved', true)); $this->redirect(array('action'=>'view','id'=>$id)); } else { $this->Session->setFlash(__('The Domain could not be saved. Please, try again.', true)); } } if (empty($this->data)) { $this->data = $this->Domain->read(null, $id); } $groups = $this->Domain->Group->find('list'); $nodes = $this->Domain->Node->find('list'); $this->set(compact('groups','nodes')); } function delete($id = null) { if (!$id) { $this->Session->setFlash(__('Invalid id for Domain', true)); $this->redirect(array('action'=>'index')); } if ($this->Domain->del($id)) { $this->Session->setFlash(__('Domain deleted', true)); $this->redirect(array('action'=>'index')); } } } ?> and here is the view link(__('Back To Domain', true), array('action'=>'view', $this->data['Domain']['id']));?> create('Domain');?> input('id'); echo $form->input('name'); echo $form->input('username', array('label'=>'Username (OS)')); echo $form->input('grp', array('label'=>'Group (OS)')); echo $form->input('environment'); ?> label('Restricted?'); echo $form->checkbox('restricted'); ?> input('Group'); echo $form->input('Node'); ?> end('Submit');?> On Sep 9, 10:15 am, scs <[EMAIL PROTECTED]> wrote: > I suggest posting the view and controller. The first thing I would > look at is there any JavaScript that IE is having issue with. > > On Sep 9, 10:46 am, chicklin <[EMAIL PROTECTED]> wrote: > > > Hello, using cake_1.2.0.7296-rc2 under Apache/PHP5/Windows > > > I'm having a problem where when I submit a form to edit a database > > entity, the controller sometimes does not recognize $this->data as > > being set and sends me back to the orignal edit form. The weird thing > > is, that if I try it a couple times, it eventually works and saves the > > updates. It seems like if I wait several seconds between modifying > > the form and hitting submit it works more reliably. If I make the > > form change and click submit quickly, I can do this over and over > > without ever getting the update saved. > > > The other weird thing is that this only happens in Internet Explorer, > > not Firefox. My form and controller were generated with bake. Any > > ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--
Re: Edit forms in Internet Explorer
I suggest posting the view and controller. The first thing I would look at is there any JavaScript that IE is having issue with. On Sep 9, 10:46 am, chicklin <[EMAIL PROTECTED]> wrote: > Hello, using cake_1.2.0.7296-rc2 under Apache/PHP5/Windows > > I'm having a problem where when I submit a form to edit a database > entity, the controller sometimes does not recognize $this->data as > being set and sends me back to the orignal edit form. The weird thing > is, that if I try it a couple times, it eventually works and saves the > updates. It seems like if I wait several seconds between modifying > the form and hitting submit it works more reliably. If I make the > form change and click submit quickly, I can do this over and over > without ever getting the update saved. > > The other weird thing is that this only happens in Internet Explorer, > not Firefox. My form and controller were generated with bake. Any > ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Edit forms in Internet Explorer
Hello, using cake_1.2.0.7296-rc2 under Apache/PHP5/Windows I'm having a problem where when I submit a form to edit a database entity, the controller sometimes does not recognize $this->data as being set and sends me back to the orignal edit form. The weird thing is, that if I try it a couple times, it eventually works and saves the updates. It seems like if I wait several seconds between modifying the form and hitting submit it works more reliably. If I make the form change and click submit quickly, I can do this over and over without ever getting the update saved. The other weird thing is that this only happens in Internet Explorer, not Firefox. My form and controller were generated with bake. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---