From: Alessandro P. <al...@ti...> - 2007-12-04 16:11:13
|
Il marted=EC 04 dicembre 2007, Simon ORTET ha scritto: > Hello > > I use MapStorer 0.9 with Postgres 8.1, Php 5.1.4 and Mapserver 4.10 > > I have an error when i open the "Mapfile Import Plugin" page. > Firebug breaks on a javascript error in function.js, line 320. > I have json =3D null > > If i try the ajax manually: > http://www.xxx.yyy.zzz/mapstorer/plugin_handler.php?plugin_action=3D2050&= plug >in_data=3D%7B%7D&plugin_field=3D&plugin_module=3Dmapfile_import_plugin > > i get that response: > *No match for mapfile_import_plugin - 2050 > > Hi,=20 this is normal, it means that there is no action defined in=20 mapfile_import_plugin for the PAGE_ACTION_ONLOAD event (2050) which is=20 triggered by the onload page handler. Anyway, perhaps you've found a bug in function.js. Try to change line 320 to something like if(json && (typeof json.evalScripts !=3D 'undefined')){ then clear the browser cache and check firebug for errors. Hope it helps. =2D-=20 Alessandro Pasotti itOpen - "Open Solutions for the Net Age" w3: www.itopen.it Linux User# 167502 |