[pmapper-users] layers list disappeared

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[pmapper-users] layers list disappeared

Eugenio Trumpy
Hi all,

I was just working to refresh a running application setup some years ago.
Up to yesterday, during the refresh operations, everything works fine.
Just to clarify, the update work consisted only in adding a pair of new layers
and two tiles services as basemaps.
Pmapper is in version 4 and mapserver 6.4.1 configured with fastCGI.
Today the application gives problems, the interface is well loaded, but it is empty,
no layers are displayed on the list of contents.
Any idea on what happened?

Best

Eugenio
     
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
Reply | Threaded
Open this post in threaded view
|

[pmapper-users] Problems on TOC, was [RE: layers list disappeared]

Eugenio Trumpy
Hi everybody,

after a long day of googling it seemed my problem was on config file, which hadn't the tags <allGroup>.
Firstly I have to specify that my config file included the categories tags, and of course the
values of UI <useCategories> was set to 1.
Actually I don't understand why, up two days ago, the application works fine anyway....
By the way I rearranged the config file by adding the <allGroup> tag, including all the layers I have.
Now pmapper load the map but in the TOC I have a lot of
Notice: Undefined variable: dynamicClasses in/var/www/html/wm_geothopica/incphp/layerview.phpon line 218
and in the end this worning:
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wm_geothopica/incphp/layerview.php:218) in/var/www/html/wm_geothopica/incphp/xajax/x_toc.phpon line 48

Moreover the application doesn't work fine, for instance the identify function doesn't give any answer, no attribute are displayed.

Can anybody help me to understand what happened?

Thanks

Eugenio

From: [hidden email]
To: [hidden email]
Subject: layers list disappeared
Date: Thu, 26 May 2016 11:40:03 +0200




Hi all,

I was just working to refresh a running application setup some years ago.
Up to yesterday, during the refresh operations, everything works fine.
Just to clarify, the update work consisted only in adding a pair of new layers
and two tiles services as basemaps.
Pmapper is in version 4 and mapserver 6.4.1 configured with fastCGI.
Today the application gives problems, the interface is well loaded, but it is empty,
no layers are displayed on the list of contents.
Any idea on what happened?

Best

Eugenio
         
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
Reply | Threaded
Open this post in threaded view
|

Re: [pmapper-users] Problems on TOC, was [RE: layers list disappeared]

Armin Burger-2
set the php.ini value for error reporting to the one listed in the wiki
under quick install, also set error display to 0, and then see if it
works ok.

And generally check PHP error log file and Javascript console for errors.



On 26/05/16 19:17, Eugenio Trumpy wrote:

> Hi everybody,
>
> after a long day of googling it seemed my problem was on config file, which hadn't the tags <allGroup>.
> Firstly I have to specify that my config file included the categories tags, and of course the
> values of UI <useCategories> was set to 1.
> Actually I don't understand why, up two days ago, the application works fine anyway....
> By the way I rearranged the config file by adding the <allGroup> tag, including all the layers I have.
> Now pmapper load the map but in the TOC I have a lot of
> Notice: Undefined variable: dynamicClasses in/var/www/html/wm_geothopica/incphp/layerview.phpon line 218
> and in the end this worning:
> Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wm_geothopica/incphp/layerview.php:218) in/var/www/html/wm_geothopica/incphp/xajax/x_toc.phpon line 48
>
> Moreover the application doesn't work fine, for instance the identify function doesn't give any answer, no attribute are displayed.
>
> Can anybody help me to understand what happened?
>
> Thanks
>
> Eugenio
>
> From: [hidden email]
> To: [hidden email]
> Subject: layers list disappeared
> Date: Thu, 26 May 2016 11:40:03 +0200
>
>
>
>
> Hi all,
>
> I was just working to refresh a running application setup some years ago.
> Up to yesterday, during the refresh operations, everything works fine.
> Just to clarify, the update work consisted only in adding a pair of new layers
> and two tiles services as basemaps.
> Pmapper is in version 4 and mapserver 6.4.1 configured with fastCGI.
> Today the application gives problems, the interface is well loaded, but it is empty,
> no layers are displayed on the list of contents.
> Any idea on what happened?
>
> Best
>
> Eugenio
>        
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> pmapper-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
Reply | Threaded
Open this post in threaded view
|

Re: [pmapper-users] Problems on TOC, was [RE: layers list disappeared]

Eugenio Trumpy
In reply to this post by Eugenio Trumpy

Hi Armin,

as I said php is set with fastcgi module in apache, so I checked
in /etc/php5/fpm/
php.ini, php-fpm.ini
the config you mention on quickinstall guide,
and all it seems to be as you suggest:

display_errors = Off (I turned off following your suggestion)
session.use_trans_sid = 0 : set to 0 in order to be compliant with W3C XHTML Strict
session.auto_start = 0
session.use_cookies = 0
only
session.save_path is not set.

By the way, the problem still remains.

This is the output of my php-5-fpm.log I had before touning off display_errors

[27-May-2016 16:25:08] WARNING: [pool www] child 5735 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: layer in /var/www/html/wm_geothopica/incphp/init/initmap.php on line 258"
[27-May-2016 16:25:08] WARNING: [pool www] child 22499 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: gLanguage in /var/www/html/wm_geothopica/incphp/js/js_session.php on line 6"
[27-May-2016 16:25:08] WARNING: [pool www] child 22499 said into stderr: "NOTICE: PHP message: PHP Warning:  require_once(../locale/language_.php): failed to open stream: No such file or directory in /var/www/html/wm_geothopica/incphp/js/$
[27-May-2016 16:25:08] WARNING: [pool www] child 22499 said into stderr: "NOTICE: PHP message: PHP Fatal error:  require_once(): Failed opening required '../locale/language_.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/w$
[27-May-2016 16:25:08] WARNING: [pool www] child 22497 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: defCharset in /var/www/html/wm_geothopica/incphp/globals.php on line 35"
[27-May-2016 16:25:08] WARNING: [pool www] child 22497 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: gLanguage in /var/www/html/wm_geothopica/incphp/globals.php on line 41"
[27-May-2016 16:25:08] WARNING: [pool www] child 22497 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: PM_INCPHP in /var/www/html/wm_geothopica/incphp/globals.php on line 42"
[27-May-2016 16:25:08] WARNING: [pool www] child 22497 said into stderr: "NOTICE: PHP message: PHP Warning:  include_once(/locale/language_.php): failed to open stream: No such file or directory in /var/www/html/wm_geothopica/incphp/globa$
[27-May-2016 16:25:08] WARNING: [pool www] child 22497 said into stderr: "NOTICE: PHP message: PHP Warning:  include_once(): Failed opening '/locale/language_.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/ww$
[27-May-2016 16:25:08] WARNING: [pool www] child 22497 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: msVersion in /var/www/html/wm_geothopica/incphp/globals.php on line 49"
[27-May-2016 16:25:08] WARNING: [pool www] child 22497 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined index: PM_MAP_FILE in /var/www/html/wm_geothopica/incphp/globals.php on line 65"

and these are the errors I had after modification on display_errors

[27-May-2016 17:15:38] WARNING: [pool www] child 22497 said into stderr: "NOTICE: PHP message: PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/html/wm_geothopica/incphp/layerview.php:218) in /var/www/html/wm_geothopica/incphp/xajax/x_toc.php on line 48"
[27-May-2016 17:15:38] WARNING: [pool www] child 5735 said into stderr: "NOTICE: PHP message: PHP Warning:  DOMDocument::schemaValidate(): Element 'searchlist': Character content other than whitespace is not allowed because the content type is 'element-only'. in /var/www/html/wm_geothopica/incphp/query/search.php on line 71"
[27-May-2016 17:15:38] WARNING: [pool www] child 5735 said into stderr: "NOTICE: PHP message: Validation of search.xml file FAILED: "
[27-May-2016 17:15:38] WARNING: [pool www] child 5735 said into stderr: "<br />"
[27-May-2016 17:15:38] WARNING: [pool www] child 5735 said into stderr: "<b>Warning</b>:  DOMDocument::schemaValidate(): Element 'searchlist': Character content other than whitespace is not allowed because the content type is 'element-only'. in <b>/var/www/html/wm_geothopica/incphp/query/search.php</b> on line <b>71</b><br />"
[27-May-2016 17:15:38] WARNING: [pool www] child 5735 said into stderr: ""


What can you suggest me?
Thanks and best regards

Eugenio





> Message: 5
> Date: Thu, 26 May 2016 20:12:13 +0200
> From: Armin Burger <[hidden email]>
> Subject: Re: [pmapper-users] Problems on TOC, was [RE: layers list
> disappeared]
> To: [hidden email]
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> set the php.ini value for error reporting to the one listed in the wiki
> under quick install, also set error display to 0, and then see if it
> works ok.
>
> And generally check PHP error log file and Javascript console for errors.

     
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users