Hi Piotr,
See below.
----- Original Message -----
From: "Piotr Wander" <gr...@wp...>
To: <dyn...@li...>
Sent: Tuesday, July 22, 2003 1:53 PM
Subject: [Dynapi-Help] object not found - dynapi257
> Hallo, I work with dynapi 2.5.7.
I'm not too familiar with 2.5.7. Mostly I've been working with DynAPI 3.
But your question may be about the more general topic of JavaScript.
> There is a fragment of stat from server:
> ip - - time "GET /poland/[object] HTTP/1.1" 404
> 2748 "" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
> .... X 100 for one website invoke.
>
> files not found (8/8)
> </new/poland/[object]> 2132 24.47% 0 0.00% 5721 33.35%
> </poland/[object]> 179 2.05% 0 0.00% 467 2.72%
> </new/poland/null> 85 0.98% 0 0.00% 228 1.33%
> </new/emu/[object]> 12 0.14% 0 0.00% 32 0.19%
> </emu/[object]> 8 0.09% 0 0.00% 21 0.13%
> </emu/index.html> 3 0.03% 0 0.00% 8 0.05%
> </sumthin> 1 0.01% 0 0.00% 3 0.02%
> </poland/null> 1 0.01% 0 0.00% 3 0.02%
> Full: 2421 27.79% 0 0.00% 6484 37.80%
>
> dynapi is invoked from new/poland
>
> What about it ? What is a "sumthin" or "null" or "object"?
> Website work correct but stat files are great :(
> and something is wrong.
First, it might be helpful to provide a URL to a page on which the error
occurs. Or even better, if you can find the page, isolate the exact error,
and create a much more simplified version of the page. It is helpful for
your understanding if you can learn where the error occurs, and recreate the
error.
About the "[object]" and "null" errors, these would seem to be basic
JavaScript errors. To understand these errors, try making a simple page
with a script as follows, and view it in the same browser as the errors (MS
IE 6):
var is_null;
var is_object = new Object();
var is_array = new Array();
alert(
'is_null is: ' + is_null + '\n' +
'is_object is: ' + is_object + '\n' +
'is_array is: ' + is_array
);
In MS IE 6, this should open an alert box with output something like:
is_null is: null
is_object is: [object]
is_array is: [object]
What all of this means is that somewhere on that page, some JavaScript is
accessing a variable as a string (in the URL) with a null or an object
value, which is incorrect. I have no idea what might cause the error
without seeing the page. The missing "index.html" and "sumthin" don't seem
to be the same sort of error. On the pages with those errors, try searching
for those strings to find the lines related to those errors.
Hope this helps a bit.
Leif
> Thanks,
> peter
>
> --------------------------------------------------------------------------
> Świat Librii nie zna wojen, nienawiści, miłości...
> "Equilibrium" 25 lipca w kinach < http://film.wp.pl/p/film.html?id=2156 >
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Dynapi-Help mailing list
> Dyn...@li...
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>
|