Hi all,

First try with p.mapper, it looks very nice!
OS: Ubuntu 11.04
p.mapper: 4.2.0
I get the demo working, but I still have the following error message in the
Apache error log (/var/log/apache2/error.log)

*[Tue Feb 28 15:28:58 2012] [error] [client 127.0.0.1] PHP Warning:
fopen(./pm_debug.log): failed to open stream: Permission denied in
/var/www/pmapper-4.2.0/incphp/common.php on line 115
[Tue Feb 28 15:28:58 2012] [error] [client 127.0.0.1] Cannot create debug
log file . Check permissions.*

A guess was to create pm_debug.log file into /var/log/apache2 with
www-data:users as the owner:
-rw-rw-rw-  1 www-data users    0 2012-02-28 06:44 pm_debug.log
But the error still appears...

Any idea how to solve this?
Of course I can set <debugLevel> to 0 in the config_default.xml file, but
that's not the point ; )


Thx,
BaK


Here after the detailed installation steps I have followed:

1) add the following new entry to /etc/apt/sources.list:

2)

deb http://www.pmapper.net/dl/debian binary/apt-get updateapt-cache
search pmapperapt-get install pmapper-demodataapt-get install
pmapper-4.2

The packages will be installed under the default Apache document root of
Debian /var/www/

 3) http://localhost/pmapper-4.2.0/map_default.phtml

 4) Adapt settings of /var/www/pmapper-4.2.0/config/default/pmapper_demo.map

WEB

 IMAGEPATH "/tmp/"

 IMAGEURL "/tmp/"

 5) In /etc/php5/apache2/php.ini, set parameters for PHP errors log

(line 514) error_reporting = E_ALL & ~E_NOTICE(line 552) log_errors =
On(line 636) error_log = php_errors.log

  6) Load the PHP Mapscript Extension in php.ini

(line 815) enable_dl=On (remplace enable_dl=Off)(line 942)
extension=php_mapscript.so
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to