MapTools.org

[maplab-users] Problem with MapBrowser

Jean-Francois.Doyon@CCRS.NRCan.gc.ca Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Wed, 25 Sep 2002 13:55:15 -0400
Hello,

I'm trying to setup rc2 on a Solaris 8 box, and am running into an error:

Warning: mkdir() failed (No such file or directory) in
/home/httpd/html/maplab-2.0rc2/htdocs/mapbrowser/globprefs.php on line 275

Warning: OpenDir: No such file or directory (errno 2) in
/home/httpd/html/maplab-2.0rc2/htdocs/mapbrowser/globprefs.php on line 277

Warning: unable to create file /data/3d91e8cb494bd/timestamp.txt because No
such file or directory in
/home/httpd/html/maplab-2.0rc2/htdocs/mapbrowser/globprefs.php on line 295

Warning: OpenDir: No such file or directory (errno 2) in
/home/httpd/html/maplab-2.0rc2/htdocs/mapbrowser/globprefs.php on line 300 

I've tracked down the problem to the fact that on on line 77 of
globprefs.php, the value returned is "empty" (gszAppPath is null), and
therefore the path is changed to "/" instead of what I defined as app_path
...

Thing is I have no idea why this is happening! I am using PHP 4.2.3 as a
CGI, configured as follows:

'./configure' '--with-config-file-path=/usr/local/apache/conf'
'--with-dbase' '--with-ttf' '--with-gd' '--enable-sysvsem'
'--enable-sysvshm' '--without-mysql' '--enable-dba' '--with-gdbm'
'--with-system-regex' '--disable-debug' '--disable-display-source'
'--with-xml' '--enable-magic-quotes' '--with-zlib'
'--enable-force-cgi-redirect' '--enable-gd-native-ttf' '--enable-xslt'
'--with-xslt-sablot' '--with-png-dir=/usr' '--with-jpeg-dir=/usr'	 

The PHP MapScript is the latest cvs from the rel-3-6-0-beta1 branch.

The MapLab "Info" page shows all green.

Help?

Jean-François Doyon
Internet Service Development and Systems Support
GeoAccess Division
Canadian Center for Remote Sensing
Natural Resources Canada
http://atlas.gc.ca
Phone: (613) 992-4902
Fax: (613) 947-2410



This archive was generated by Pipermail.