[Cartoweb-users] error undefined offset

Oliver Christen oliver.christen at camptocamp.com
Wed Feb 24 06:07:43 EST 2010


hello

“Ajax response is no XML, probably a CartoWeb failure. Click OK to show it”
When you clicked ok, it should have displayed a new content block in the
html at the bottom of the page. Scroll down and let me know what the error
message is.
(the block disappear when you clic on it, so if you want to copy the error
message, you can clic-down, select text, type ctrl-c and then release the
mouse button)

You can also see the same error message if you enable Firebug and look at
the Respons tab in the last query posteds (should be displayed in red in the
list)

regards
Oliver


2010/2/24 JOALLAND jérémie <j.joalland at memoris.fr>

>  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_background=raster&layers[]=iceland&layers[]=lake_&outline_mask=no&shortcut_doit=0&recenter_x=&recenter_y=&id_recenter_ids=&search_name=&search_config=countries&search_sort_column=&search_sort_direction=asc&search_number=&search_page=&search_area_min=&search_area_max=&query_clear=0&recenter_scale=0&mapsize=1&layers_dropdown_categ=hydro&shortcut_id=-1&id_recenter_layer=district&search_area=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_background=raster&layers[]=iceland&layers[]=lake_&outline_mask=no&shortcut_doit=0&recenter_x=&recenter_y=&id_recenter_ids=&search_name=&search_config=country_districts&search_sort_column=&search_sort_direction=asc&search_number=&search_page=&search_area_min=&search_area_max=&query_clear=0&recenter_scale=0&mapsize=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
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100224/a20202c3/attachment-0001.htm 


More information about the Cartoweb-users mailing list