Re: [pmapper-users] mapToolArea position and JS files compress tool

2013-02-15 Thread Chris forum
Hi Thomas,

I am almost sure to have tried this before, probably a darn cache somewhere
prevented it to work

It's ok now!  \o/

Thx a lot!

A+
Chris

On Fri, Feb 15, 2013 at 11:11 AM, Thomas RAFFIN  wrote:

> Hi Chris,
>
> You should try to extend PM.Init and not PM.Custom?
>
> Thomas
>
>
> Le 14/02/2013 14:45, Chris forum a écrit :
> > Hi all,
> >
> > I would like the"mapToolArea" div to be displayed in the "uiLayoutSouth"
> div
> > (class="ui-layout-south"), especially for the 'measure2' and 'drawing
> > (circle)' plugins. Now it shows up in the "ui-layout-center" div.
> > I hope it won't have any bad side effects.
> >
> > In javascript/src/pm.init.js there is:
> > domElements: function() {
> >  $('').id('mapToolArea').appendTo('.ui-layout-center');
> >  },
> >
> > So I guess it is where to change the code. But the pm.init.js file is
> > merged with other JS into the single pm_cjs.js file, as stated in the
> user
> > manual, using the utils/compress_js.
> > I am not able to find this utility. Is it still available somewhere?
> >
> > The manual also recommends to add any modifications into a separate JS
> > file, like /config/.../custom.js.
> > So I tried the following:
> > $.extend(PM.Custom,
> > {
> > //pm.init.js modification
> > domElements: function() {
> >  $('').id('mapToolArea').appendTo('.ui-layout-south');
> >  }
> > });
> >
> > But without success... the"mapToolArea" div stays in the
> ui-layout-center.
> >
> > Any tips would be much appreciated! : )
> >
> > regards,
> > Chris
> >
> --
> > Free Next-Gen Firewall Hardware Offer
> > Buy your Sophos next-gen firewall before the end March 2013
> > and get the hardware for free! Learn more.
> > http://p.sf.net/sfu/sophos-d2d-feb
> > ___
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >
> >
>
> --
>
>
> Thomas RAFFIN
> Chef de Projet Internet
> traf...@sirap.fr   Sirap 
>   Tel
> : 04 75 72 84 10
> Fax : 04 75 70 07 98
> Rue Paul Louis Héroult - BP 253
> 26106 Romans cedex
>
>
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] mapToolArea position and JS files compress tool

2013-02-15 Thread Thomas RAFFIN
Hi Chris,

You should try to extend PM.Init and not PM.Custom?

Thomas


Le 14/02/2013 14:45, Chris forum a écrit :
> Hi all,
>
> I would like the"mapToolArea" div to be displayed in the "uiLayoutSouth" div
> (class="ui-layout-south"), especially for the 'measure2' and 'drawing
> (circle)' plugins. Now it shows up in the "ui-layout-center" div.
> I hope it won't have any bad side effects.
>
> In javascript/src/pm.init.js there is:
> domElements: function() {
>  $('').id('mapToolArea').appendTo('.ui-layout-center');
>  },
>
> So I guess it is where to change the code. But the pm.init.js file is
> merged with other JS into the single pm_cjs.js file, as stated in the user
> manual, using the utils/compress_js.
> I am not able to find this utility. Is it still available somewhere?
>
> The manual also recommends to add any modifications into a separate JS
> file, like /config/.../custom.js.
> So I tried the following:
> $.extend(PM.Custom,
> {
> //pm.init.js modification
> domElements: function() {
>  $('').id('mapToolArea').appendTo('.ui-layout-south');
>  }
> });
>
> But without success... the"mapToolArea" div stays in the ui-layout-center.
>
> Any tips would be much appreciated! : )
>
> regards,
> Chris
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>

-- 


Thomas RAFFIN
Chef de Projet Internet
traf...@sirap.fr   Sirap  
Tel 
: 04 75 72 84 10
Fax : 04 75 70 07 98
Rue Paul Louis Héroult - BP 253
26106 Romans cedex

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] problem pmapper 5 beta2

2013-02-15 Thread Chris forum
Hi Pablo,

As said in the DocQuickInstall page: "This directory [img/legends] must be
writeable for the user that runs the web server (used for automatic update
of legend icons), otherwise the application will not run."

To do that in Linux, you have to set the directory 's owner to the user
www-data. So that the web server has the right to modify things into this
directory.

I never tried to do that on Windows, but the doc says:"On Windows and IIS
set the directory security properties to 'Modify' for user IUSR_hostname"


Try to check the following logs, that will help find where the problem is:
- Apache error
- PHP error
- Mapserver error
- PM debug

See you,
Chris

On Thu, Feb 14, 2013 at 8:42 PM, Pablo Gomez  wrote:

> Hi,
> I installed pmapper5 again, following your instructions but do not
> understand one of the steps "I only had to set (recursively) the owner of"
> img / legend "to www-data". Can you explain someone this way?
> I added the coordinate system 900913. And I changed the path CONFIG
> "PROJ_LIB" "/ ms4w/proj/nad /" to suit my system (MS4W package for windows)
> No errors in the log file. But I can not display the map. I get attached
> image.
>
> Can it be by the passage "I only had to set (recursively) the owner of"
> img / legend "to www-data"?
>
> any ideas!!
>
> Thanks for the help
>
> Pablo
>
>   --
> *De:* Chris forum 
> *Para:* Pablo Gomez 
> *CC:* "pmapper-users@lists.sourceforge.net" <
> pmapper-users@lists.sourceforge.net>
> *Enviado:* Jueves 14 de febrero de 2013 8:48
> *Asunto:* Re: [pmapper-users] problem pmapper 5 beta2
>
> Hi  Pablo,
>
> Follow this: http://svn.pmapper.net/trac/wiki/DocQuickinstall
>
> PHP.INI part
>
> That's what I set in my /etc/php5/apache2/php.ini (I am on Linux):
> error_log = /var/log/php/php_errors.log
>
> I suggest you first try to make running the demo map/ demo data, then you
> can start playing with you own data.
>
> See you,
> Chris
>
> On Wed, Feb 13, 2013 at 6:57 PM, Pablo Gomez  wrote:
>
> > I uploaded a raster layer (. Tif) and load correctly. But still the
> > shapefile is not visible.
> > I just loaded raster, I have not changed anything from the previous
> > configuration.
> > Help please!!
> >
> > thanks
> >
> >
> > 
> >  De: Pablo Gomez 
> > Para: "pmapper-users@lists.sourceforge.net" <
> > pmapper-users@lists.sourceforge.net>
> > Enviado: Miércoles 13 de febrero de 2013 18:32
> > Asunto: Re: [pmapper-users] problem pmapper 5 beta2
> >
> > Thanks for the reply Suman,
> > I've done these tests but did not solve the problem. Still see a pink box
> > in place of my shapefile. Now I get this error
> >
> > [Wed February 13 18:17:36 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name.
> > [Wed February 13 18:17:36 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name.
> > [Wed February 13 18:17:37 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> > [Wed February 13 18:17:37 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> > [Wed February 13 18:17:37 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> > [Wed February 13 18:17:38 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> > [Wed February 13 18:17:41 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> > [Wed February 13 18:17:42 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> > [Wed February 13 18:17:43 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> > [Wed February 13 18:17:44 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> > [Wed February 13 18:17:44 2013] [error] [client 127.0.0.1] Incorrect
> > setting for 'error_log' in 'php.ini'. Set to a valid file name., Referer:
> > http://localhost/montana_palentina/index.phtml
> >
> >  I made more changes in my config files. Attached these files. Any more
> > suggestions, please!
> > thank you very much
> >
> >
> >
> > 
> > De: Suman 
> > Para: pmapper-users@lists.so