Re: [pmapper-users] excel download

2013-02-05 Thread Armin Burger


On 02/05/2013 12:24 PM, Gillen wrote:
> Hi all,
> The excel export plugin is not working in my pmapper 4.2.0. I have
> installed the pear packages and at first it was working fine but now the
> php release changed in our server and maby because of that is not working.
> When I tell to my pmapper application to download any data table to
> excel, the download button doesn´t appear and I can´t download it, but
> the file is created in the tmp folder.
> I think that the release is php 5, does anybody know how can I solve it?

maybe re-install the required Pear packages...?

--
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] pmapper5 demo working 50%

2013-02-05 Thread Armin Burger
without knowing anything about the configuration you're using it's only 
possible to make some guessing... one could e.g. guess that you have a 
Google layer defined, and without downloading the required Google 
Javascript API due to missing Internet connection you will just get 
errors from OL.



On 02/04/2013 05:25 PM, Suman wrote:
> Hi Chris,
>
> I am using ms4w v3.0.6. , mapserver v6.0.3 and PHP v5.4.3.
> thanx a lot for reply. I don't know how but that problem solved. Now It is
> perfectly running.
> But it is running only when internet connection is available. If there is
> vector and raster data in my own hard drive why it's not running without
> internet connection? I mean to say that no any content is being loaded.
> like..
> 
>
> Thank you again.
> Suman
>
>
>
> --
> View this message in context: 
> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025011.html
> Sent from the pmapper-users -- p.mapper users mailing list mailing list 
> archive at Nabble.com.
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> ___
> 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


[pmapper-users] excel download

2013-02-05 Thread Gillen
Hi all,
The excel export plugin is not working in my pmapper 4.2.0. I have 
installed the pear packages and at first it was working fine but now the 
php release changed in our server and maby because of that is not working.
When I tell to my pmapper application to download any data table to 
excel, the download button doesn´t appear and I can´t download it, but 
the file is created in the tmp folder.
I think that the release is php 5, does anybody know how can I solve it?


Thanks!


-- 
Gillen Agirre Arriolabengoa
GISLAN GEOGRAPHIC APPLICATIONS S.L
g.agi...@gislan.com
Tel.: 0034 943 304 255
www.gislan.com

*Lege oharra:* Mezu elektroniko honetan, eta, hala badagokio, bere 
fitxategi erantsietan, hartzaileari soilik zuzendutako isilpeko 
informazioa dago. Debekatuta dago informazio hori zabaldu, kopiatu eta 
beste pertsonen artean banatzea, Gislanen baimen idatzirik gabe. Akatsen 
batengatik mezu hau jaso baduzu, jakinarazi mesedez, mezua igorlearen 
helbidera birbidaliz. DBLOn ezarritakoaren arabera, Gislanek datu 
pertsonalen isilpeko tratamendua bermatzeko beharrezko neurriak hartzen 
ditu. Halaber, zure datuak fitxategi batean daudela jakinarazi nahi 
dizugu, zure harremana mantentzeko. Eskubidea daukazu datuok begiratu, 
zuzendu, ezabatu eta aurka egiteko, helbide honetan: Martin Ugalde 
Kultur Parkea, 20140 Andoain.
*Nota:* "Este correo electrónico y, en su caso, cualquier fichero anexo 
al mismo, contiene información de carácter confidencial exclusivamente 
dirigida a su destinatario. Queda prohibida su divulgación, copia o 
distribución a terceros sin la previa autorización escrita de Gaindegia. 
En el caso de haber recibido este correo electrónico por error, se ruega 
notifíquese inmediatamente esta circunstancia mediante reenvío a la 
dirección electrónica del remitente. De conformidad con lo establecido 
en la LOPD Gislan garantiza la adopción de las medidas necesarias para 
asegurar el tratamiento confidencial de los datos de carácter personal. 
Así mismo le informamos de inclusión de sus datos en un fichero con la 
finalidad de mantener su relación con Gislan y de la posibilidad de 
ejercer los derechos de acceso, rectificación, cancelación y oposición 
en la siguiente dirección: Martin Ugalde Kultur Parkea, 20140 Andoain."

--
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] pmapper5 demo working 50%

2013-02-05 Thread Chris forum
Good to know you get it to work. Maybe that was a cache problem or
something...
No clue why you need an internet connection.
Though Armin confirmed OSM need to be there for the map to load, maybe that
is the problem if you try to load only vector or raster layers.

Good luck!
Chris

On Mon, Feb 4, 2013 at 5:25 PM, Suman  wrote:

> Hi Chris,
>
> I am using ms4w v3.0.6. , mapserver v6.0.3 and PHP v5.4.3.
> thanx a lot for reply. I don't know how but that problem solved. Now It is
> perfectly running.
> But it is running only when internet connection is available. If there is
> vector and raster data in my own hard drive why it's not running without
> internet connection? I mean to say that no any content is being loaded.
> like..
> <
> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025011/snap.png
> >
>
> Thank you again.
> Suman
>
>
>
> --
> View this message in context:
> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025011.html
> Sent from the pmapper-users -- p.mapper users mailing list mailing list
> archive at Nabble.com.
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> ___
> 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


[pmapper-users] PMapper & auth issue

2013-02-05 Thread Raffaele Morelli
Hi,

I am using pmapper-4.2 and want to password protect access to maps.
What I am trying to do is: login into a drupal site and then access pmapper
if and only if the user is logged into drupal.

So I putted this code snippet at the top of map_default.phtml

define('DRUPAL_ROOT', '/path/to/drupal');
require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
global $user;

then I check user status on $user.

The problem is, it works at map_default.phtml level but the viewport is
empty, I guess it's a path/cwd problem because apache error log reports
several includes errors as follows:

PHP Warning:  require_once(/common.php): failed to open stream: No such
file or directory in /var/www/pmapper-4.2.0/incphp/js/js_session.php on
line 7, referer: http://example.com/map_default.phtml?config=default
PHP Stack trace:, referer:
http://example.com/map_default.phtml?config=default
PHP   1. {main}() /var/www/pmapper-4.2.0/incphp/js/js_session.php:0,
referer: http://example.com/map_default.phtml?config=default
PHP Fatal error:  require_once(): Failed opening required '/common.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/pmapper-4.2.0/incphp/js/js_session.php on line 7, referer:
http://example.com/map_default.phtml?config=default
PHP Stack trace:, referer:
http://example.com/map_default.phtml?config=default
PHP   1. {main}() /var/www/pmapper-4.2.0/incphp/js/js_session.php:0,
referer: http://example.com/map_default.phtml?config=default
PHP Warning:  require_once(/globals.php): failed to open stream: No such
file or directory in /var/www/pmapper-4.2.0/config/default/js_config.php on
line 5, referer: http://example.com/map_default.phtml?config=default
PHP Stack trace:, referer:
http://example.com/map_default.phtml?config=default
PHP   1. {main}() /var/www/pmapper-4.2.0/config/default/js_config.php:0,
referer: http://example.com/map_default.phtml?config=default
PHP Fatal error:  require_once(): Failed opening required '/globals.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/pmapper-4.2.0/config/default/js_config.php on line 5, referer:
http://example.com/map_default.phtml?config=default
PHP Stack trace:, referer:
http://example.com/map_default.phtml?config=default
PHP   1. {main}() /var/www/pmapper-4.2.0/config/default/js_config.php:0,
referer: http://example.com/map_default.phtml?config=default


Any idea on how to workaround this issue? Or I am doing something wrong to
PMapper session variables?

regards
-r
--
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