[pmapper-users] pm_debug.log error
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 users0 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
[pmapper-users] ayuda con layer info- help layerinfo.
Hola buen dia te escribo desde Venezuela porque tengo una pequeña duda en pmapper y quisiera que por favor me ayudaras. Mi nombre es Johan Guerra y quisiera terminar mi proyecto de tesis, lastimosamente tengo un problema con el layerinfo que no se muestra y ya he intentado de muchas formas posibles y nada que doy con la configuracion. El problema es el siguiente: - Agrego el pluginslayerinfo/plugins al archivo config_defaulf.xml, de igual forma agrego el layerinfo configfile defaulf/layerinfo.xml /configfile /layerinfo - Movi el archivo layerinfo a la carpeta defaulf donde tengo mi mapfile y me muestra el siguiente error cuando hago click : Warning: simplexml_load_file(C:/ms4w/ apps/pmapper/pmapper-4.2.0/config/): failed to open stream: No such file or directory in C:\ms4w\apps\pmapper\pmapper-4.2.0\plugins\layerinfo\x_layerinfo.php on line 8 Warning: simplexml_load_file(): I/O warning : failed to load external entity C:/ms4w/apps/pmapper/pmapper-4.2.0/config/ in C:\ms4w\apps\pmapper\pmapper-4.2.0\plugins\layerinfo\x_layerinfo.php on line 8 Fatal error: Call to a member function xpath() on a non-object in C:\ms4w\apps\pmapper\pmapper-4.2.0\plugins\layerinfo\x_layerinfo.php on line 9. me surgen diversas dudas sobre si tengo que modificar el plugins infos para que se pueda mostrar la metadata. si es asi como tendria que hacerlo, ya que he revisado el explicativo de la pagina pero no comprendo muy bien como realizar los pasos. Johan Guerra caracas- Venezuela Hello good day I write from Venezuela because I have a small doubt in pmapper and would like please help me. would like to finish my thesis project, unfortunately I have a problem with the layerinfo not shown and I have tried many possible ways and nothing to give to the configuration. The problem is as follows: - Added the plugins layerinfo / plugins config_defaulf.xml file, just as I add the layerinfo configfile defaulf / layerinfo.xml / configfile / layerinfo - Movi file layerinfo folder where I have my mapfile defaulf and shows me the following error when I click: Warning: simplexml_load_file (C :/ ms4w / apps/pmapper/pmapper-4.2.0/config /): failed to open stream: No such file or directory in C: \ ms4w \ apps \ pmapper \ pmapper-4.2.0 \ plugins \ layerinfo \ x_layerinfo.php on line 8 Warning: simplexml_load_file (): I / O warning: failed to load external entity C :/ ms4w/apps/pmapper/pmapper-4.2.0/config / in C: \ ms4w \ apps \ pmapper \ pmapper-4.2.0 \ plugins \ layerinfo \ x_layerinfo.php on line 8 Fatal error: Call to a member function xpath () on a non-object in C: \ ms4w \ apps \ pmapper \ pmapper-4.2.0 \ plugins \ layerinfo \ x_layerinfo.php on line 9. I arise questions as to whether I have to modify the plugins info so you can display the metadata. if so and would have to do, since I reviewed the explanation of the website but does not quite understand how to perform the steps. really thanks a million so I can help, I'll be very grateful. excuse me for my bad English Johan G. Caracas-venezuela -- 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
Re: [pmapper-users] pm_debug.log error
just follow the installation instructions described here (especially the ones listed as IMPORTANT) http://svn.pmapper.net/trac/wiki/DocQuickinstall and it should be done On 28/02/2012 16:29, Chris forum wrote: 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 users0 2012-02-28 06:44 pm_debug.log But the error still appears... Any idea how to solve this? Of course I can setdebugLevel 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 -- 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