Apache had the instructions to parse phtml files in the httpd.conf file as it is in ms4w (I took most of the parameters from ms4w package. I only took mysql and some starting files from xampp) After further checking I managed to reproduce the error in "controlled" conditions and I found out that it was due to the paths to the data in the mapfile. I used a relative indication, instead I had to use a (semi)absolute one. E.g. Using SHAPEPATH "/ms4w/apps/gru/htdocs/data" and then DATA "/OrthoPhoto/155110.tif" was causing the problem Using SHAPEPATH "/ms4w/apps/gru/htdocs/data" and then again DATA "/ms4w/apps/gru/htdocs/data/OrthoPhoto/155110.tif" solved the problem I do not know the reasons, but at least now is working!
Thank you for your support Laura On Oct 30, 2007 6:59 PM, Armin Burger <[EMAIL PROTECTED]> wrote: > you need to configure apache to parse .phtml files. this is written in > the installation instructions i mentioned. consider using a package like > MS4W that requires just unpacking and clicking on the batch file. there > is also a p.mapper version for the latest ms4w, a mysql installation is > not included in ms4w, though. > > armin > > Laura Poggio wrote: > > Thank you for the fast reply. I double checked the installation page and > > > all seems to be fine, but it is not working. Searching on the net I > > found a similar error happened also for other mapserver web > > applications, but I did not find a solution. > > > > thanks again > > > > Laura > > > > On Oct 30, 2007 3:09 PM, Armin Burger <[EMAIL PROTECTED] > > <mailto: [EMAIL PROTECTED]>> wrote: > > > > > > > Dear list, > > > I am trying to set up a portable (no need of installation) > > application > > > with > > > mapserver/p.mapper, MySQL and Apache. > > > By portable I mean without the need of installation of apache or > > MySQL > > > (derived from Xampp package). > > > I was successful for a part of it. I do not manage to get > p.mapper > > > working. > > > Each time I try to run it I got the following message: > > > "CGI / FastCGI has encountered a problem and needs to close" > > > And a request to send the report to Microsoft. > > > Whatever I press (send, don't send) I get a windows asking what > > to do with > > > the map.phtml file: to save or to open with some software. > > > I can use PHP and evrything work fine when using a .php page > > (connection > > > to > > > database and presentation of results) > > > > > > see > > > > > http://svn.pmapper.net/trac/wiki/DocQuickinstall#PHPMapScriptLibraryandWebServer > > > > <http://svn.pmapper.net/trac/wiki/DocQuickinstall#PHPMapScriptLibraryandWebServer > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users