Hi All,

I've just set up our CP application to a Linux server and it seems
that several XMLHttpRequest won't fire correctly. I get in the subject
meant Errors, and I don't know why.

When I get the site not using an XMLHttpRequest it fires as expected,
but with XMLHttpRequest is fails, I get only a HTML site with the
description of the 411 status code.

Meanwhile I've find out that the missing Content-length of the Ajax
request can cause this, but I don't know exactly where to add this
header information to the request in CP.

Does anybody have an idea for this, or a tip where to go on?

thx in advance
Alex

Example is where I try to create a menu for Extjs and build a
json_data for it!:
fucntion menu(){
                vendor('json');
                $obj_json = new Services_JSON();
                $user = $this->Session->read('User');
                $x = str_replace('"MN_menuClick"', 'MN_menuClick', $obj_json-
>encode($this->user->getmenu($user['id'],$user['username'])));
                $this->set('result',$x);
                $this->render('saveuseraccess','ajax');
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to