|
||||
[maplab-users] Undefined Variables?Paul Spencer pgs@magma.caFri, 16 Aug 2002 10:26:46 -0400
|
Mattias, you probably have your error_reporting in php.ini set to E_ALL. MapLab is not yet clean as far as notices are concerned (and may never be). A work-around is to change the error reporting level at run-time. Fixing this has been already been logged as an enhancement request for MapLab. In the mean-time, you should be able to avoid the warnings by setting the following in php.ini. error_reporting = E_ALL & ~E_NOTICE Cheers, Paul -- Paul Spencer Applications and Software Development DM Solutions Group Wallin, Mattias wrote: > I just installed PHP4, maplab-2.0rc2, and Mapserver 3.6.1 on Win2000 and > IIS5.0. I belive I followed all instructions exactly. Problem is that when > I start MapEdit: I get these errors: > Notice: Undefined variable: gMapEditContextMTime in > C:\msapps\maplab-2.0rc2\htdocs\mapedit\globprefs.php on line 103 > > Notice: Undefined index: in > C:\msapps\maplab-2.0rc2\htdocs\mapedit\globprefs.php on line 103 > > Notice: Undefined index: gszMapservFile in > C:\msapps\maplab-2.0rc2\htdocs\mapedit\globprefs.php on line 243 > Your browser must support frames to use this application. > MapBrowser: > Warning: mkdir() failed (No such file or directory) in > C:\msapps\maplab-2.0rc2\htdocs\mapbrowser\globprefs.php on line 275 > > Warning: OpenDir: Invalid argument (errno 22) in > C:\msapps\maplab-2.0rc2\htdocs\mapbrowser\globprefs.php on line 277 > > Notice: Undefined variable: gszServerDataPath in > C:\msapps\maplab-2.0rc2\htdocs\mapbrowser\globprefs.php on line 290 > > Warning: unable to create file > C:/msapps/maplab-2.0rc2/htdocs/mapbrowser/data/3d5c476a2fcfa/timestamp.txt > because No such file or directory in > C:\msapps\maplab-2.0rc2\htdocs\mapbrowser\globprefs.php on line 295 > > Warning: OpenDir: Invalid argument (errno 22) in > C:\msapps\maplab-2.0rc2\htdocs\mapbrowser\globprefs.php on line 300 > > GmapFactory: > > Notice: Undefined variable: gszNewAppPathPath in > C:\msapps\maplab-2.0rc2\htdocs\gmapfactory\globprefs.php on line 72 > > Notice: Undefined index: gszMapFile in > C:\msapps\maplab-2.0rc2\htdocs\gmapfactory\appframeset.phtml on line 92 > > Notice: Undefined index: gszProject in > C:\msapps\maplab-2.0rc2\htdocs\gmapfactory\appframeset.phtml on line 96 > > Notice: Undefined index: gszMapFile in > C:\msapps\maplab-2.0rc2\htdocs\gmapfactory\appframeset.phtml on line 115 > > Any idea what went wrong? > > Thanks in advance. > > Mattias. > > > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users >
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |