Hi

I have just started on p.mapper. Might be a perfect tool for my
purpose. However, I keep on getting a strange error opening the
map.phtml from pmapper-demodata-2.zip in Firefox 1.5.0.12:



<the_error>

Warning: [MapServer Error]: msProcessProjection(): no system list,
errno: 2 in /home/www/ms_data/pmapper-3.1.0/incphp/globals.php on line 58

Warning: Failed to open map file
/home/www/ms_data/pmapper-3.1.0/config/default/pmapper_demo.map in
/home/www/ms_data/pmapper-3.1.0/incphp/globals.php on line 58

Warning: fopen(/home/etc/php/pm_debug.log) [function.fopen]: failed to
open stream: Permission denied in
/home/www/ms_data/pmapper-3.1.0/incphp/common.php on line 215

Fatal error: Call to a member function getAllGroupNames() on a
non-object in /home/www/ms_data/pmapper-3.1.0/incphp/init/initmap.php
on line 107

</the_error>



Please pay attention to the "[...] fopen(/home/etc/php/pm_debug.log)
[...] Permission denied [...]" bit. Since my PHP error_log is set as:

error_log = /home/etc/php/log

in /etc/php5/apache2/php.ini, and writeable for www-data group, why is
p.mapper trying to write to /home/etc/php instead? The exact ownership
of my PHP log dir is:

drwxrwx--- 2 shoofi www-data 4096 2007-07-04 16:03 log

The error pops up when I reload the page in Firefox. It works OK until
then. After the error crops out, I have to restart apache2 to get rid
of the error.

Using p.mapper 3.1.0 with the pmapper-demodata-2.zip dataset. Ubuntu
Dapper, apache 2.0.55 and php 5.1.2 from standard Dapper repos,
mapserver+mapscript 4.10.2 built from source.

Maciek

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to