Matt

p.mapper requires the php.ini setting
  error_reporting = E_ALL & ~E_NOTICE
as mentioned here
  http://svn.pmapper.net/trac/wiki/DocQuickinstall#PHP.INI
(it suppresses notices, but outputs warnings and errors)

I guess that the problem appears because you additionally have set 
  display_errors = On
which means that all notices (which are no errors) are displayed and therefore 
cause problems for the Javascript function to parse the AJAX return. This did 
not happen with version 1 because it did not make use of AJAX.

I tried to remove as much as possible appearing notices but at the end gave up 
for the query part.

Armin 


> Hi-  
> 
>  
> 
> Love the p.mapper application and the tremendous flexibility. 
> 
>  
> 
> Been using the pmapper 1 for a while now which worked wonderfully.  We've
> upgraded to PHP 5.1 and Mapserver 4.10 and now want to use Pmapper 3.1.
> But
> we're experiencing problems with the query/identify function.   Everything
> appears to work correctly EXCEPT this functionality.  I'm using the demo
> data and demo mapfile from the website modified to work on my
> installation.
> 
>  
> 
> 1. When I click the identify button and then select a city (Warsaw, for
> example) I get no query response.  Here is the output from the PHP error
> log:
> 
>  
> 
> [Thu Oct 11 17:09:44 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined offset:  0 in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 627, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
> [Thu Oct 11 17:09:44 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined offset:  1 in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 628, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
> [Thu Oct 11 17:09:44 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined offset:  0 in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 627, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
> [Thu Oct 11 17:09:44 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined offset:  1 in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 628, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
> [Thu Oct 11 17:09:44 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined index:  CITY_NAME in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 636, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
> [Thu Oct 11 17:09:44 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined variable: allExtStr in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 470, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
> [Thu Oct 11 17:09:44 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined property:  Query::$limitResult in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 482, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
>  
> 
> 2. When I click the select button and click/drag a selection area I get no
> query response.
> 
>  
> 
> I get the following Javascript error on the browser error console:
> 
>  
> 
> Error: selform has no properties
> 
> Source File:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/javascript/mapserver.js
> 
> Line: 97
> 
>  
> 
>  PLUS the following errors in the PHP error log:
> 
>  
> 
> [Thu Oct 11 17:14:00 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined variable: allExtStr in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 470, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
> [Thu Oct 11 17:14:00 2007] [error] [client 128.193.65.36] PHP Notice:
> Undefined property:  Query::$limitResult in
> /nfs/rattus/a1/info/gisdev_www/htdocs/prism/pmap/pmapper3_1_test/incphp/quer
> y/query.php on line 482, referer:
> http://mole.nacse.org/prism/pmap/pmapper3_1_test/map.phtml
> 
>  
> 
> Please help!
> 
>  
> 
> Version: pmapper 3.1 from SVN pmapper_stable.zip
> 
> Server: x86 Redhat Enterprise Linux
> 
> PHP 5.1.6
> 
> Mapserver 4.10
> 
> Browser: Firefox 2.0 and IE 7
> 
>  
> 
> Thanks for your help!
> 
>  
> 
> Matt
> 
>  
> 
> Matt Doggett
> 
> PRISM Group
> 
> Oregon State University
> 
> Corvallis, OR
> 
> 541-737-9153
> 
> http://prism.oregonstate.edu
> 
>  
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to