I just installed mapping kit, and have successfully done some of the demo map context examples. However, if I go to add a map file I just get a blank page.

I'm on fedora 11, have the mapserver & php-mapscript packages installed. I have the cgi version symlinked to the cgi-bin directory, and going to http://thathost/cgi-bin/mapserv correctly gets info back (that is the same physical machine as my drupal installation, but a different virtual host).

The configuration for mapkit/mapserver shows that /local/drupal/sites/default/files/maps/dummy.map exists, just like it should. And it also shows that "The PHP MapScript extension is loaded". After I added the font directory /usr/share/fonts/liberation to the list on the general page, it finds the "truetype" correctly.

After setting logging to debug on the mapkit page, and going to node/add/mapfile, getting the blank page, then going back to the main drupal page, I get the following text at the top of the page:

* Logging is set to debug
* mappingkit_nodeapi prepare/mapfile
* Logging is set to debug
* Logging is set to debug
* mappingkit_nodeapi load/page
* mappingkit_nodeapi view/page
* mappingkit_nodeapi alter/page

What are some other good steps to debug this?

Comments

jpulles’s picture

If you enable php to show error you will see line number and file where the error occurs. It may also show in the drupal logs?
Note that a fatal error like referred to in http://aardbodem.nl/mantis/view.php?id=60 is already known.

jpulles’s picture

Status: Active » Fixed

Current dev release can add a map file.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.