[Cartoweb-users] error undefined offset

JOALLAND jérémie j.joalland at memoris.fr
Wed Feb 24 04:12:48 EST 2010


I’m trying to install the CartoWeb Demo project on Linux Red Hat, and have
some undefined errors.

I am quite new in Linux, MapServer-CartoWeb, Open Source world and need your
help.

 

My configuration :

-          Red Hat Entreprise Linux 5.4,

-          Apache httpd 2.2.14

-          MapServer 5.4.2

-          PHP 5.2.12

-          GDAL 1.6.3 (with ECW – libecwj2-3.3)

-          GD 2.0.35

-          Curl, freetype, gettext, jpegsrc, libiconv, libmcrypt, libpng,
libxml2, mcrypt, mhash, zlib.

 

I have copied the “cartoweb3” folder in /data/www/ and execute the
cw3setup.php instruction as it is described in the documentation, with the
–profile development parameter.

 

Then when I executed access my “CartoWeb3 Demo” project, I first get an
error with Symbolset and found that I had to slightly change .map and
symbols.txt files. 

Now I get an error with Ajax prompt on my page, I can see the cartoweb page
with a map, but then nothing is working
 and I don’t what is the problem as
I didn’t change anything in the CartoWeb3 Demo project.

 

When project loading on http://x.x.x.x/cartoweb3/htdocs/demoCW3.php, I got
an alert message “Ajax response is no XML, probably a CartoWeb failure.
Click OK to show it”. I click on OK, then I can see the following traces in
the JSTrace Debugger (with 2 errors) :

 

Any idea what is wrong ?? (the print screen is joined to this mail)

 

Setting Ajaxhandler's profile to development...

 

Initiating actions

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_n...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_nw...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_w...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_sw...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_s...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_se...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_e...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_ne...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:keymap...

 

--- Action Search.DoIt triggered ---

 

Calling Search.DoIt onBeforeAjaxCall()

 

Calling plugin onBeforeAjaxCallGeneral()

Calling AjaxPlugins.Location.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Layers.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Images.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Query.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Tables.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Outline.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Search.onBeforeAjaxCallGeneral

Calling AjaxPlugins.BboxHistory.onBeforeAjaxCallGeneral

Calling AjaxPlugins.CartoMessages.onBeforeAjaxCallGeneral

 

Calling AjaxPlugins.Common.onBeforeAjaxCall()

Initiating AJAX request

Pending actions: 1

GET params:

ajaxActionRequest=Search.DoIt&

POST params:

posted=1&js_folder_idx=1&selection_type=&selection_coords=&features=&project
=demoCW3&collapse_keymap=0&fake_reset=&fake_query=&outline_label_text=your
label&tool=zoomin&switch_id=&recenter_doit=0&null=&openNodes=&layers_backgro
und=raster&layers[]=iceland&layers[]=lake_&outline_mask=no&shortcut_doit=0&r
ecenter_x=&recenter_y=&id_recenter_ids=&search_name=&search_config=countries
&search_sort_column=&search_sort_direction=asc&search_number=&search_page=&s
earch_area_min=&search_area_max=&query_clear=0&recenter_scale=0&mapsize=1&la
yers_dropdown_categ=hydro&shortcut_id=-1&id_recenter_layer=district&search_a
rea=0-999999999&

Waiting for response...

 

--- Action Search.DoIt triggered ---

 

Calling Search.DoIt onBeforeAjaxCall()

 

Calling plugin onBeforeAjaxCallGeneral()

Calling AjaxPlugins.Location.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Layers.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Images.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Query.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Tables.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Outline.onBeforeAjaxCallGeneral

Calling AjaxPlugins.Search.onBeforeAjaxCallGeneral

Calling AjaxPlugins.BboxHistory.onBeforeAjaxCallGeneral

Calling AjaxPlugins.CartoMessages.onBeforeAjaxCallGeneral

 

Calling AjaxPlugins.Common.onBeforeAjaxCall()

Initiating AJAX request

Pending actions: 2

GET params:

ajaxActionRequest=Search.DoIt&

POST params:

posted=1&js_folder_idx=1&selection_type=&selection_coords=&features=&project
=demoCW3&collapse_keymap=0&fake_reset=&fake_query=&outline_label_text=your
label&tool=zoomin&switch_id=&recenter_doit=0&null=&openNodes=&layers_backgro
und=raster&layers[]=iceland&layers[]=lake_&outline_mask=no&shortcut_doit=0&r
ecenter_x=&recenter_y=&id_recenter_ids=&search_name=&search_config=country_d
istricts&search_sort_column=&search_sort_direction=asc&search_number=&search
_page=&search_area_min=&search_area_max=&query_clear=0&recenter_scale=0&maps
ize=1&layers_dropdown_categ=hydro&shortcut_id=-1&id_recenter_layer=district&
search_area=0-999999999&

Waiting for response...

Response received!

Error: AjaxHandler.actionRequest(): received response is malformed!

Response received!

Error: AjaxHandler.actionRequest(): received response is malformed!

 

Calling AjaxPlugins.Common.onAfterAjaxCall()

Clearing DHTML drawings...

Clearing stored features...

 

Calling plugin onAfterAjaxCallGeneral()

Calling AjaxPlugins.Location.onAfterAjaxCallGeneral

Calling AjaxPlugins.Layers.onAfterAjaxCallGeneral

Calling AjaxPlugins.Images.onAfterAjaxCallGeneral

Calling AjaxPlugins.Query.onAfterAjaxCallGeneral

Calling AjaxPlugins.Tables.onAfterAjaxCallGeneral

Calling AjaxPlugins.Outline.onAfterAjaxCallGeneral

Calling AjaxPlugins.Search.onAfterAjaxCallGeneral

Calling AjaxPlugins.BboxHistory.onAfterAjaxCallGeneral

Calling AjaxPlugins.CartoMessages.onAfterAjaxCallGeneral

 

--- Action Search.DoIt complete ---

 

 

Calling AjaxPlugins.Common.onAfterAjaxCall()

Clearing DHTML drawings...

Clearing stored features...

 

Calling plugin onAfterAjaxCallGeneral()

Calling AjaxPlugins.Location.onAfterAjaxCallGeneral

Calling AjaxPlugins.Layers.onAfterAjaxCallGeneral

Calling AjaxPlugins.Images.onAfterAjaxCallGeneral

Calling AjaxPlugins.Query.onAfterAjaxCallGeneral

Calling AjaxPlugins.Tables.onAfterAjaxCallGeneral

Calling AjaxPlugins.Outline.onAfterAjaxCallGeneral

Calling AjaxPlugins.Search.onAfterAjaxCallGeneral

Calling AjaxPlugins.BboxHistory.onAfterAjaxCallGeneral

Calling AjaxPlugins.CartoMessages.onAfterAjaxCallGeneral

 

--- Action Search.DoIt complete ---

 

 

Jérémie JOALLAND

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100224/f6d175bd/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_jstrace.JPG
Type: image/jpeg
Size: 152796 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100224/f6d175bd/attachment-0001.jpeg 


More information about the Cartoweb-users mailing list