[Proto-Scripty] Re: IE 8 Error: The data necessary to complete this operation is not yet available

2010-08-12 Thread Eric
I am kind of sure all browser has a size limit on GET method
parameters.
IE6 just happens to have the smaller one.

On a general way, there is very few advantage to use GET instead of
POST, so you should not use GET except in some very specific cases
like sending an username or a fixed size's session ID[1]

However, you should know that there is also a size limit in POST
parameters on the server side.
Default value for those is often around 8 or 16 MB (which should be
enough).
Note also that some server-side technologies (like PHP) have another
limit for the size of uploaded files.
This means that if this limit is 2MB, you will not be able to send a
3MB file in your form, even if you fixed the POST limit size to
8MB[2].

Eric

[1] I said it would work. Not that it would be safe to do it :o)
[2] I lost a lot of time on this one first time I met this issue...

On Aug 11, 3:47 am, KammylandSoftware kammyl...@gmail.com wrote:
 I found the solution, actually.

 As it happens IE 6 has a payload length limit when using the GET
 method. As it just so happens, I was in fact using the GET method to
 send some parameter data to the server in an ajax request (using
 prototype). Hence, the ajax request would not go through; then, when I
 assayed to access ajaxRequest.transport.responseText, I appeared to
 get the The data necessary to complete this operation is not yet
 available error, as it indeed was not available since the ajax
 request never went through; not withstanding I did send the Ajax
 request as asynchronous, it was thrown.

 The solution apparently was to use the POST method instead of GET, as
 IE 6 does not seem to have a similar limit on POST's payload as it
 does on GET's.

 Thanks anyhow fellows.

 On Aug 4, 1:12 pm, Eric lefauv...@gmail.com wrote:

  I think IE8 features a not that bad javascript debugger.
  If you activate it and reload your page, it will stop on the faulty
  line.

  On Jul 30, 10:45 pm, KammylandSoftware kammyl...@gmail.com wrote:

   Using the latest Prototype and Scriptaculous scripts hereto (July,
   2010) I am getting this error in IE 8:

   The data necessary to complete this operation is not yet available.

   As IE does not give us a script filename but only a all-scripts-
   aggregate line number where the error occured, I have no idea what
   could be causing this. I did a Google search, but the only reasonable
   hit I got does not seem to exists anymore.

   Regards.



-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: IE 8 Error: The data necessary to complete this operation is not yet available.

2010-08-10 Thread KammylandSoftware
I found the solution, actually.

As it happens IE 6 has a payload length limit when using the GET
method. As it just so happens, I was in fact using the GET method to
send some parameter data to the server in an ajax request (using
prototype). Hence, the ajax request would not go through; then, when I
assayed to access ajaxRequest.transport.responseText, I appeared to
get the The data necessary to complete this operation is not yet
available error, as it indeed was not available since the ajax
request never went through; not withstanding I did send the Ajax
request as asynchronous, it was thrown.

The solution apparently was to use the POST method instead of GET, as
IE 6 does not seem to have a similar limit on POST's payload as it
does on GET's.

Thanks anyhow fellows.

On Aug 3, 10:21 am, KammylandSoftware kammyl...@gmail.com wrote:
 Using the latest Prototype and Scriptaculous scripts hereto (July,
 2010) I am getting this error in IE 8:

 The data necessary to complete this operation is not yet available.

 I did do some tracing and I found the error to be occurring inside the
 prototype.js file itself. The error seems to occur inside the
 Object.extend(String.prototype block for the String class. I think it
 may be occurring inside the String.inspect() or even the
 String.evalJSON() methods.

 Anyone have any clues at all?

 Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: IE 8 Error: The data necessary to complete this operation is not yet available

2010-08-10 Thread KammylandSoftware
I found the solution, actually.

As it happens IE 6 has a payload length limit when using the GET
method. As it just so happens, I was in fact using the GET method to
send some parameter data to the server in an ajax request (using
prototype). Hence, the ajax request would not go through; then, when I
assayed to access ajaxRequest.transport.responseText, I appeared to
get the The data necessary to complete this operation is not yet
available error, as it indeed was not available since the ajax
request never went through; not withstanding I did send the Ajax
request as asynchronous, it was thrown.

The solution apparently was to use the POST method instead of GET, as
IE 6 does not seem to have a similar limit on POST's payload as it
does on GET's.

Thanks anyhow fellows.


On Aug 4, 1:12 pm, Eric lefauv...@gmail.com wrote:
 I think IE8 features a not that bad javascript debugger.
 If you activate it and reload your page, it will stop on the faulty
 line.

 On Jul 30, 10:45 pm, KammylandSoftware kammyl...@gmail.com wrote:

  Using the latest Prototype and Scriptaculous scripts hereto (July,
  2010) I am getting this error in IE 8:

  The data necessary to complete this operation is not yet available.

  As IE does not give us a script filename but only a all-scripts-
  aggregate line number where the error occured, I have no idea what
  could be causing this. I did a Google search, but the only reasonable
  hit I got does not seem to exists anymore.

  Regards.

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: IE 8 Error: The data necessary to complete this operation is not yet available

2010-08-10 Thread KammylandSoftware
I found the solution, actually.

As it happens IE 6 has a payload length limit when using the GET
method. As it just so happens, I was in fact using the GET method to
send some parameter data to the server in an ajax request (using
prototype). Hence, the ajax request would not go through; then, when I
assayed to access ajaxRequest.transport.responseText, I appeared to
get the The data necessary to complete this operation is not yet
available error, as it indeed was not available since the ajax
request never went through; not withstanding I did send the Ajax
request as asynchronous, it was thrown.

The solution apparently was to use the POST method instead of GET, as
IE 6 does not seem to have a similar limit on POST's payload as it
does on GET's.

Thanks anyhow fellows.


On Aug 4, 1:12 pm, Eric lefauv...@gmail.com wrote:
 I think IE8 features a not that bad javascript debugger.
 If you activate it and reload your page, it will stop on the faulty
 line.

 On Jul 30, 10:45 pm, KammylandSoftware kammyl...@gmail.com wrote:

  Using the latest Prototype and Scriptaculous scripts hereto (July,
  2010) I am getting this error in IE 8:

  The data necessary to complete this operation is not yet available.

  As IE does not give us a script filename but only a all-scripts-
  aggregate line number where the error occured, I have no idea what
  could be causing this. I did a Google search, but the only reasonable
  hit I got does not seem to exists anymore.

  Regards.

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: IE 8 Error: The data necessary to complete this operation is not yet available

2010-08-04 Thread Eric
I think IE8 features a not that bad javascript debugger.
If you activate it and reload your page, it will stop on the faulty
line.


On Jul 30, 10:45 pm, KammylandSoftware kammyl...@gmail.com wrote:
 Using the latest Prototype and Scriptaculous scripts hereto (July,
 2010) I am getting this error in IE 8:

 The data necessary to complete this operation is not yet available.

 As IE does not give us a script filename but only a all-scripts-
 aggregate line number where the error occured, I have no idea what
 could be causing this. I did a Google search, but the only reasonable
 hit I got does not seem to exists anymore.

 Regards.

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.