|
||||
[maplab-users] tutorial does not workRaymond E. Flanery, Jr. flaneryrejr@ornl.govWed, 01 Oct 2003 14:19:15 -0400
|
I set display_error = On and get the following: Warning: [MapServer Error]: msSearchDiskTree(): Unable to open spatial index for F:/maplab-2.1-RC1/htdocs///tutorial/./data/grid.qix. In most cases you can safely ignore this message, otherwise check file names and permissions. in F:\maplab-2.1-RC1\htdocs\mapedit\preview.php on line 465 Warning: [MapServer Error]: msSearchDiskTree(): Unable to open spatial index for F:/maplab-2.1-RC1/htdocs///tutorial/./data/province.qix. In most cases you can safely ignore this message, otherwise check file names and permissions. in F:\maplab-2.1-RC1\htdocs\mapedit\preview.php on line 465 Fatal error: Call to a member function on a non-object in F:\maplab-2.1-RC1\htdocs\mapedit\preview.php(472) : eval()'d code on line 1 ----------------- I cannot find any qix files in the maplab-2.1-RC1 directory tree. Am I missing something? Ray Flanery -----Original Message----- From: Zak James [mailto:zak-ms@aiya.dhs.org] Sent: Wednesday, October 01, 2003 2:07 PM To: Raymond E. Flanery, Jr. Cc: maplab-users@dmsolutions.ca Subject: Re: [maplab-users] tutorial does not work Are you getting any php error messages? If you have display_errors turned off, they may be getting written to a file as directed by your php.ini file instead of showing up in your browser. zak -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca On Wednesday, October 1, 2003, at 01:46 PM, Raymond E. Flanery, Jr. wrote: > I just tried importing the map file > > Import 3.x map -> tutorial.map > Save Map As -> mymap.map > Load Map -> mymap.map > > Preview is still a black html page, viewing source it is identical to > what I > was getting previously. Is there anything else I can check? > > Ray Flanery > > -----Original Message----- > From: maplab-users-admin@dmsolutions.ca > [mailto:maplab-users-admin@dmsolutions.ca] On Behalf Of Zak James > Sent: Monday, September 29, 2003 4:37 PM > To: Raymond E. Flanery, Jr. > Cc: maplab-users@dmsolutions.ca > Subject: Re: [maplab-users] tutorial does not work > > Have you tried importing your map instead of just opening it (in the > file selection pull down)? There are significant differences in the > mapfiles and the tutorial map file has not been updated yet. Maplab may > open some pre-4.0 maps, but preview can still run into problems > rendering them unless they are converted first. > > -- > Zak James > Applications and Software Development > DM Solutions Group Inc. > http://www.dmsolutions.ca > > > On Monday, September 29, 2003, at 01:58 PM, Raymond E. Flanery, Jr. > wrote: > >> If I had any hair it would be pulled out by now! This should not be so >> difficult. >> >> >> >> WinXP Pro >> >> Apache 2.0.47 (Have also tried Apache 1.38) >> >> Php4.3.2 (running as cgi in Apache) >> >> Mapserver 4.0-beta2-win32-php4.3.2 (was using >> mapserver-4.1-dev-win32-php4.3.2 with same results) >> >> Maplab-2.1-RC1 (have also tried 2.0.1-release) >> >> >> >> Everything sets up fine, php test scripts show that things are >> installed >> (including mapscript 4.0 dll). >> >> I have loggin turned on in maplab and the logs are written out fine. >> >> C:/tmp/ms_apps/ contains a whole bunch of 84byte png files (e.g. >> 1064855968_6_0_20_10.png) and 6kb associated .map files. >> >> >> >> However, no matter what I modify, everytime I try to preview the map >> from >> MapEdit I get a blank page (the source for the page being displayed >> is: >> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >> >> <HTML><HEAD> >> >> <META http-equiv=Content-Type content="text/html; >> charset=iso-8859-1"></HEAD> >> >> <BODY></BODY></HTML> >> >> >> >> If I look in preview_mapedit.log, the last lines in the file are: >> >> [Mon.Sep.29.2003.13:43:20] fontset is >> F:\maplab-2.1-RC1\htdocs\tutorial\etc\fonts.txt >> >> [Mon.Sep.29.2003.13:43:20] symbolset is >> F:\maplab-2.1-RC1\htdocs\tutorial\etc\symbols.sym >> >> [Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( rosa_file ) >> starting >> >> [Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( rosa_file ) >> starting >> >> [Mon.Sep.29.2003.13:43:20] AppContext : rosa_file value is >> rosa/rosa.jar >> >> [Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( rosa_file >> ) done >> >> [Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( rosa_file ) >> done >> >> [Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( zoom_factor ) >> starting >> >> [Mon.Sep.29.2003.13:43:20] AppContext : zoom_factor value is 2 >> >> [Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( zoom_factor >> ) done >> >> [Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( min_zoom_rect >> ) >> starting >> >> [Mon.Sep.29.2003.13:43:20] AppContext : min_zoom_rect value is 5 >> >> [Mon.Sep.29.2003.13:43:20] AppContext : getContextValue( min_zoom_rect >> ) >> done >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : setTempDir() starting >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : setTempDir() done >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : restoreState() starting >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : readMapFile() starting >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : readMapFile - Open map >> file[c:/tmp/ms_tmp//3f786e4bcffd6.map] was successful >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : readMapFile() done >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : restoreState() done >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : restoreState() starting >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : readMapFile() starting >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : readMapFile - Open map >> file[c:/tmp/ms_tmp//3f786e4bcffd6.map] was successful >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : readMapFile() done >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : restoreState() done >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : processLegendTemplate() >> starting >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : processLegendTemplate() done >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : saveState() starting >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : saveState new ID = >> BBOX=-2594561.3533333,- >> 712631,3467361.3533333,3840000|SRS=|LAYERS=0,1,2,3,4, >> 5,8 >> >> [Mon.Sep.29.2003.13:43:20] MapSession_R : saveState() done >> >> >> >> What is going wrong? I have run out of ideas for settings to change. >> >> >> >> Ray Flanery >> >> > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > > _______________________________________________ > 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 |