MapTools.org

[maplab-users] Maplab configuration

Gerald Buckmaster webmaster@imagery-analyst.com
Wed, 13 Nov 2002 19:29:28 -0500
Hi,

I had this same problem...

I accidently placed a copy of php.ini in both c:/Windows and 
c:/Windows/system32.  I think my unfamiliarity with XP contributed to 
that.  Anyway, the php.ini I was editing was not even being looked at 
because my PATH led to the unedited version first.

One way to check error-reporting is to use the php function ini_set() 
within a simple php script with known "warnings" or "errors".  You can 
obviously use this ini_set() function in much the same manner 
Apache's .htaccess is used - to override values set by php.ini.

EXAMPLE: ini_set('error_reporting','E_ALL & ~E_NOTICE');

HTH

Gerald Buckmaster
Webmaster - Imagery Analysis Support Site
http://www.imagery-analyst.com

I just installed PHP4, maplab-2.0rc3, and Mapserver 3.6.3 on Win2000 
Pro and IIS 5.0.  I belive I followed all instructions exactly.

Problem is that I get these Notices & Warnings, even with the : 
error_reporting  =  E_ALL & ~E_NOTICE 
set on the PHP.ini file. 

when I start MapEdit: 

Notice: Undefined variable: gMapEditContextMTime in 
E:\Maplab\maplab-2.0rc3\htdocs\mapedit\globprefs.php on line 122 

Notice: Undefined index: in 
E:\Maplab\maplab-2.0rc3\htdocs\mapedit\globprefs.php on line 122 

Notice: Undefined index: gszMapservFile in 
E:\Maplab\maplab-2.0rc3\htdocs\mapedit\globprefs.php on line 263 

Notice: Undefined variable: msValue in 
E:\Maplab\maplab-2.0rc3\htdocs\mapedit\factory.php on line 4139 

When i start MapBrowser: 

Warning: mkdir() failed (No such file or directory) in : 
E:\Maplab\maplab-2.0rc3\htdocs\mapbrowser\globprefs.php on line 310 

Warning: OpenDir: Invalid argument (errno 22)in : 
E:\Maplab\maplab-2.0rc3\htdocs\mapbrowser\globprefs.php on line 312 

Notice: Undefined variable: gszServerDataPath in 
E:\Maplab\maplab-2.0rc3\htdocs\mapbrowser\globprefs.php on line 325 

Warning: unable to create file E:/Maplab/maplab-
2.0rc3/htdocs/mapbrowser/data/(3dd1b6b7b711d/timestamp.txt because 

No such file or directory in 
E:\Maplab\maplab-2.0rc3\htdocs\mapbrowser\globprefs.php on line 330 

Warning: OpenDir: Invalid argument (errno 22) in : 
E:\Maplab\maplab-2.0rc3\htdocs\mapbrowser\globprefs.php on line 335 

When i start GmapFactory : 

Notice: Undefined variable: gszNewAppPathPath in E:\Maplab\maplab-2.0rc3
\htdocs\gmapfactory\globprefs.php on line 91 

Notice: Undefined index: gszMapFile in E:\Maplab\maplab-2.0rc3
\htdocs\gmapfactory\appframeset.phtml on line 95 

Notice: Undefined index: gszProject in E:\Maplab\maplab-2.0rc3
\htdocs\gmapfactory\appframeset.phtml on line 99 

Notice: Undefined index: gszMapFile in E:\Maplab\maplab-2.0rc3
\htdocs\gmapfactory\appframeset.phtml on line 118 

I don't know what to do.... 

Thanks 

Miguel Malpartida 



This archive was generated by Pipermail.