|
||||
[Chameleon] Newbie Startup QuestionTracy Howlett thowlett@whistlermuseum.orgWed, 10 Dec 2003 12:56:49 -0800
|
Nearly got it sorted. Now all of the images load except the main map which says it is loading but just sits there forever. I've narrowed the problem down to this line (this is the resultant index.phtml code) which really doesn't look right to me. Does anyone know how and where I can make the change. content = "<img name=\"MapLayerDivImg\" src=\"C:/apps/cwc2/htdocs/common/wrapper/drawmap.php?map_session_mode=0&run_ query=0&sid=3fd784eea640a&dummy=0.01302500+1071088879\" width=\"400\" height=\"300\" border=\"0\" onload=\"CWCDHTML_HideLayer('ActivityLayer');CWCDHTML_ShowLayer('MapLayerDiv ')\">"; CWCDHTML_CreateLayer("MapLayerDiv", gMapWhspc, gMapWvspc, gMapWiWidth, gMapWiHeight, true, content); Thanks Tracy -----Original Message----- From: chameleon-admin@lists.maptools.org [mailto:chameleon-admin@lists.maptools.org] On Behalf Of nicolas.fortin@ec.gc.ca Sent: Wednesday, December 10, 2003 12:20 PM To: thowlett@whistlermuseum.org; nicolas.fortin@ec.gc.ca; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] Newbie Startup Question Tracy, If your problem is the images, try checking in the View Source and searching for <img to see what's wrong with the images href. Nic -----Message d'origine----- De : Tracy Howlett [mailto:thowlett@whistlermuseum.org] Envoyé : Wednesday, December 10, 2003 3:15 PM À : nicolas.fortin@ec.gc.ca; spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE: RE : [Chameleon] Newbie Startup Question Thanks Nicolas, I did actually take all of those things into consideration but there must be something else somewhere. The closest I've got to having the application run is to have the chameleon_sample application load but with all the images missing. Now I'm getting a blank screen or a 'page not found' error. I'll let you know if I figure it out. Tracy -----Original Message----- From: nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Sent: Wednesday, December 10, 2003 12:08 PM To: nicolas.fortin@ec.gc.ca; thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc: chameleon@lists.maptools.org Subject: RE : RE : [Chameleon] Newbie Startup Question Sorry about the format...nevertheless it looks good when I sent it with outlook... Second try... extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Nic -----Message d'origine----- De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé : Wednesday, December 10, 2003 3:03 PM À : thowlett@whistlermuseum.org; spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE : [Chameleon] Newbie Startup Question Hi Tracy, XP is so different ... the changes I wrote with some extra notes for XP: extension_dir = "C:\PHP\extensions" Depends on your PHP installation directory -> [PHP install]\extensions doc_root = "C:\Inetpub\wwwroot" Mine is doc_root = Better if you have a virtual directory for chameleon session.save_path = C:\Inetpub\wwwroot\tmp (must exist...or C:\cwc2\htdocs\tmp) \tmp dir must exist and have write permissions for IUSR_ cgi.force_redirect = 0 no comments browscap = "C:\winnt\system32\inetsrv\browscap.ini" On winXP it's C:\WINDOWS\system32\inetsrv\browscap.ini Hope this helps Nicolas -----Message d'origine----- De : Tracy Howlett [mailto:thowlett@whistlermuseum.org] Envoyé : Wednesday, December 10, 2003 2:50 PM À : spencer@dmsolutions.ca Cc : chameleon@lists.maptools.org Objet : RE: [Chameleon] Newbie Startup Question Hi, Actually I have gone through the documentation put together by Nicolas (I'm on XP with IIS) and now the application won't load at all!! All was fine until I made the changes to the PHP.ini file. I'm now going back and undoing each change one by one to see where the problem is. Tracy -----Original Message----- From: Paul Spencer [mailto:pagameba@magma.ca] Sent: Tuesday, December 09, 2003 6:41 PM To: thowlett@whistlermuseum.org Cc: spencer@dmsolutions.ca; chameleon@lists.maptools.org Subject: Re: [Chameleon] Newbie Startup Question Tracy did you see the recent emails regarding setup with IIS? Did this solve your problem? Cheers, Paul Tracy Howlett wrote: > Windows XP with IIS > > -----Original Message----- > From: Paul Spencer [mailto:pagameba@magma.ca] > Sent: Friday, December 05, 2003 10:32 AM > To: thowlett@whistlermuseum.org > Cc: chameleon@lists.maptools.org > Subject: Re: [Chameleon] Newbie Startup Question > > Tracy, what platform are you running on (windows/linux) and web > server? > > Cheers, > > Paul > > Tracy Howlett wrote: > >>Thanks for the encouragement!! I noticed you posted a question about >>getting the sample app to work - did you ever get a response? I am >>having the exact same issue and it doesn't seem to matter what paths I >>put in to my phtml file I always end up with those same errors. >> >> >> >>How did you end up resolving your problems? >> >> >> >>Also - this is probably a really silly question but where can I find >>the web server error log? >> >> >> >>Tracy >> >> >> >>---------------------------------------------------------------------- >>-- >> >>*From:* chameleon-admin@lists.maptools.org >>[mailto:chameleon-admin@lists.maptools.org] *On Behalf Of *Ryan >>Belcher >>*Sent:* Thursday, December 04, 2003 2:47 PM >>*To:* thowlett@whistlermuseum.org; chameleon@lists.maptools.org >>*Subject:* RE: [Chameleon] Newbie Startup Question >> >> >> >>I had the same problem when I was first trying to get chameleon >>running. If you look at demo.php, it's just a redirect to cwc2.php >>which doesn't come with chameleon 1.1.x and I think that's why you're >>getting the page not found error. What you need to do is download the >>sample application and install it right along with chameleon. Then >>you will probably need to edit index.phtml in htdocs and correct the >>paths to chameleon.php and your map file. Then try to load >>index.phtml >> >> >> >>I think that was all I had to do besides correcting paths in my config >>file. Be sure to check the error log of your web server for more >>information on any errors you are getting. Hope that helps. >> >> >> >>Ryan >> >> -----Original Message----- >> *From:* chameleon-admin@lists.maptools.org >> [mailto:chameleon-admin@lists.maptools.org]*On Behalf Of *Tracy > > Howlett > >> *Sent:* Thursday, December 04, 2003 3:35 PM >> *To:* chameleon@lists.maptools.org >> *Subject:* [Chameleon] Newbie Startup Question >> >> Hi, >> >> >> >> I'm a complete beginner with all things MapServer/MapScript/PHP >> related so please bare with me. >> >> >> >> I've had MapServer 3.6 running for a couple of weeks with no >> trouble. It was recommended to me that I upgrade and install >> Chameleon for some enhanced features. I have installed MapServer >> 4.0.1 and PHP 4.3.4 and both seem to be working fine. I am, >> however, having trouble with the Chameleon install. I'm sure that >> the problem is with the paths I've set in the config file. When I >> try to open http://localhost/cwc2/chameleon.php I get a blank page. >> When I try to open http://localhost/cwc2/demo.php I get a page not >> found error. Should I be putting absolute or relative paths in my >> config file? Is there something I'm missing? I don't have >> wmsparse.exe installed because despite all documentation to the >> contrary, it was not included in my installation package and I >> haven't installed the GDAL component. >> >> >> >> I'd appreciate any help that anyone might be able to offer. I've >> done a lot of searching for help in the documentation but a lot of >> it seems incomplete. Perhaps I'm looking in the wrong place. >> >> >> >> Thanks, >> >> >> >> Tracy Howlett >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |