[Geomoose-users] Geocode and Identify Errors

Wes Cleland wcleland at vanburencity.org
Tue May 25 10:51:39 EDT 2010


Brent,

Here is where I stand after bashing my head into my computer screen
yesterday. If I take the original mapbook.xml, and use the identify tool
with the original demo data, it works. If I change the settings.ini file
to read my new mapbook, I get the error. If I take the original mapbook,
and alter the coordinates then replace the original data with my data,
it works. There is some configuration that is telling it to read the
path /maps/demo/landrecords. I attempted to change the php5.ini file and
when I restart the server, it defaults to the original configuration (I
am assuming this is lack of experience). Also, I did not see the value
22519 in the link you provided. Thanks for the help!

v/r,

Wesley T. Cleland, GISP, CFM
GIS Coordinator
City of Van Buren, Arkansas
479-471-5025

"One ought never to turn one's back on a threatened danger and try to
run away from it. If you do that, you will double the danger. But if you
meet it promptly and without flinching, you will reduce the danger by
half. Never run away from anything. Never!"
Winston Churchill

-----Original Message-----
From: Brent Fraser <bfraser at geoanalytic.com>
Date: Tue, 25 May 2010 08:17:15 
To: <wescleland at hotmail.com>
Cc: <geomoose-users at lists.sourceforge.net>
Subject: Re: [Geomoose-users] Geocode and Identify Errors

Wes,

   It looks like there's several ways to fix this, the easiest (and
best?) being 
to set the error reporting level in the php.ini file to:

     error_reporting = 22519 ;see values in 
http://ca2.php.net/manual/en/errorfunc.constants.php (all errors minus
notices 
and deprecated)


Best Regards,
Brent Fraser


wescleland at hotmail.com wrote:
> I will look into this and see, I just copied the folders from the ms4w
folder so that could be missing something. The funny thing is, at the
bottom of the errors, it has the print links and they work. 
> Sent on the Sprint(r) Now Network from my BlackBerry(r)
> 
> -----Original Message-----
> From: "Brent Fraser" <bfraser at geoanalytic.com>
> Date: Fri, 21 May 2010 18:16:13 
> To: <wescleland at hotmail.com>
> Cc: <geomoose-users at lists.sourceforge.net>
> Subject: Re: [Geomoose-users] Geocode and Identify Errors
> 
> Wes,
> 
>   I was thinking of the FPDI PDF file "template" (the PDF files in
> Geomoose/conf/print), not the Mapserver results HTML "template".  I
> haven't done much with printing in GM 2, but its likely that there are
> some restrictions as to the version of PDF and kinds/arrangement of
> elements inside the PDF templates.
> 
> Brent
> 
>> I am using a custom template that was created and implemented in ms4w
>> 2.3.1, there was no errors when using ms4w only when I switched to
>> linux/FGS9.5. As well I am not at the office this moment, so I don't
know
>> the exact version of php, but I believe it is php5.3.something,
whichever
>> version is in the most current version of fgs9.5.
>>
>> Thanks for the help.
>>
>> Wes
>> Sent on the Sprint(r) Now Network from my BlackBerry(r)
>>
>> -----Original Message-----
>> From: Brent Fraser <bfraser at geoanalytic.com>
>> Date: Fri, 21 May 2010 16:05:44
>> To: Wes Cleland<wcleland at vanburencity.org>
>> Cc: <geomoose-users at lists.sourceforge.net>
>> Subject: Re: [Geomoose-users] Geocode and Identify Errors
>>
>>
>> For the printing errors, it looks like its having problems with the
>> template PDF
>> file.  Is it the same as with the demo data or did you edit it?
>>
>> Which version of PHP are you using?
>>
>> Best Regards,
>> Brent Fraser
>>
>>
>> Wes Cleland wrote:
>>> This is the error when attempting to print:
>>>
>>>
>>>
>>> *Deprecated*: Assigning the return value of new by reference is
>>> deprecated in */opt/geomoose2/htdocs/php/fpdi/fpdi.php* on line *88*
>>>
>>> *Deprecated*: Assigning the return value of new by reference is
>>> deprecated in */opt/geomoose2/htdocs/php/fpdi/fpdi_pdf_parser.php*
on
>>> line *244*
>>>
>>> *Deprecated*: Assigning the return value of new by reference is
>>> deprecated in */opt/geomoose2/htdocs/php/fpdi/pdf_parser.php* on
line
>>> *102*
>>>
>>> *Deprecated*: Assigning the return value of new by reference is
>>> deprecated in */opt/geomoose2/htdocs/php/fpdi/pdf_parser.php* on
line
>>> *285*
>>>
>>> *Deprecated*: Assigning the return value of new by reference is
>>> deprecated in */opt/geomoose2/htdocs/php/fpdi/pdf_parser.php* on
line
>>> *437*
>>>
>>> *Warning*: Cannot modify header information - headers already sent
by
>>> (output started at /opt/geomoose2/htdocs/php/fpdi/fpdi.php:88) in
>>> */opt/geomoose2/htdocs/php/print.php* on line *136*
>>>
>>> The identify error is this:
>>>
>>> ***    *
>>>
>>> * *
>>>
>>> As previously stated, I can load the default mapbook.xml with the
demo
>>> data and the identify/select/buffer/search works fine, but when I
load
>>> the mapbook created with my data it gives me these errors. I even
went
>>> as far as rebuilding the mapbook ensuring that every little word was
>>> typed correctly/etc.
>>>
>>>
>>>
>>> v/r,
>>>
>>>
>>>
>>> Wesley T. Cleland, GISP, CFM
>>>
>>> GIS Coordinator
>>>
>>> City of Van Buren, Arkansas
>>>
>>> 479-471-5025
>>>
>>>
>>>
>>> "One ought never to turn one's back on a threatened danger and try
to
>>> run away from it. If you do that, you will double the danger. But if
you
>>> meet it promptly and without flinching, you will reduce the danger
by
>>> half. Never run away from anything. Never!"
>>> Winston Churchill
>>>
>>>
>>>
>>> *From:* danlittle at yahoo.com [mailto:danlittle at yahoo.com]
>>> *Sent:* Friday, May 21, 2010 8:21 AM
>>> *To:* wcleland at vanburencity.org geomoose-users at lists.sourceforge.net
>>> *Subject:* Re: [Geomoose-users] Geocode and Identify Errors
>>>
>>>
>>>
>>> I'd suggest two things:
>>>
>>> 1) File a bug in Trac.
>>>
>>> 2) Edit both geocode.php and identify.php files and replace "split"
with
>>> "explode".  PHP does obnoxiously stupid things with strings and
string
>>> functions.
>>>
>>>
>>>
>>>     *From:* Wes Cleland <wcleland at vanburencity.org>
>>>     *To:* geomoose-users at lists.sourceforge.net
>>>     *Sent:* Thu, May 20, 2010 4:04:06 PM
>>>     *Subject:* [Geomoose-users] Geocode and Identify Errors
>>>
>>>     First off, I would like to say thanks for the assistance; these
>>>     mailing list are worth their weight in gold when it comes to
>>> someone
>>>     just starting out in a program such as myself. I started off
using
>>>     MS4W and GeoMoose and after an abundance of use, was authorized
to
>>>     move to a server. Due to funding issues Linux was the best route
to
>>>     go. So I am not only learning more about GeoMoose, I am learning
>>>     linux as well. After some configuration and permission issues, I
>>>     finally was able to get GeoMoose to display in a web browser
using
>>>     FGS9.5 on linux. I can pan, zoom-in, etc., however, when I
search,
>>>     identify, geocode, and print I get an error. Usually along the
lines
>>> of:
>>>
>>>
>>>
>>>     *Deprecated*: Function split() is deprecated in
>>>     */opt/geomoose2/htdocs/php/geocode.php* on line *22*
>>>
>>>     *Warning*: Cannot modify header information - headers already
sent
>>>     by (output started at /opt/geomoose2/htdocs/php/geocode.php:22)
in
>>>     */opt/geomoose2/htdocs/php/geocode.php* on line *27*
>>>
>>>
>>>
>>>     This particular error is specific to geocoding obviously, but
they
>>>     all contain the word deprecated and end in cannot modify header
>>>     information. When I attempt to identify, select, buffer I get an
>>>     unhandled request return Unknown error. I am stuck and any
>>>     assistance would be greatly appreciated. Thanks in advance.
>>>
>>>
>>>
>>>     v/r,
>>>
>>>
>>>
>>>     Wes Cleland
>>>
>>>
>>>
>>>
>>>
>>>
>>>
------------------------------------------------------------------------
>>>
>>>
------------------------------------------------------------------------
------
>>>
>>>
>>>
>>>
------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Geomoose-users mailing list
>>> Geomoose-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>
>>
------------------------------------------------------------------------
------
>>
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>
>>
> 
> 
> 
> 






More information about the Geomoose-users mailing list