[Mapbender-users] Printing Error

Philipp Nagel philippn at ci.waseca.mn.us
Wed Sep 28 06:45:21 PDT 2016


I chose to downgrade to PHP 5.6 (which they don't make too easy on Ubuntu 16.04). The script you linked was very helpful.
Printing now works as expected, thank you Astrid and Andriy!

Philipp Nagel
GIS Coordinator
 
City of Waseca
508 S. State Street
Waseca, MN 56093
PhilippN at ci.waseca.mn.us
P. 507-835-9733



-----Original Message-----
From: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] On Behalf Of Astrid Emde
Sent: Wednesday, September 28, 2016 5:08
To: Mapbender User List
Subject: Re: [Mapbender-users] Printing Error

Hello Philipp,

downgrading to PHP 5.6 is another possibility.

We did this for OSGeo-Live 10.0 two month ago.

You find the install instruction at:
https://github.com/OSGeo/OSGeoLive/blob/master/bin/install_mapbender3.sh

Astrid

Am 2016-09-28 11:58, schrieb Andriy Oblivantsev:
> Hello Philipp,
> 
> please try to test printing with PHP 5.6 ?
> 
> The last mapbender release isn't jet ready to run with PHP 7.x.
> 
> Here how to downgrade the version:
> 
> http://askubuntu.com/questions/761713/how-can-i-downgrade-from-php-7-t
> o-php-5-6-on-ubuntu-16-04+
> [6]
>  Best regards.
> 
>  Andriy Oblivantsev
> 
> On 27.09.2016 15:52, Philipp Nagel wrote:
> 
>> Hello!
>> 
>> I am exploring Mapbender3 as a possible mapping portal for our City.
>> I currently have a fresh installation of it following the official 
>> installation docs
>> 
> (http://doc.mapbender3.org/en/book/installation/installation_ubuntu.ht
> ml
>> [2]).
>> 
>> When I try to print from the demo map provided, I get error message 
>> 500. Everything else seems to work as expected.
>> 
>> The Apache error log shows:
>> 
>> [Tue Sep 27 08:44:16.783285 2016] [:error] [pid 6381] [client 
>> 10.0.0.122:51419] PHP Parse error: syntax error, unexpected 'new'
>> (T_NEW) in
>> 
> /var/www/mapbender3/vendor/toooni/fpdf/lib/FPDF/src/fpdi_pdf_parser.ph
> p
>> on line 245, referer: http://10.0.0.59/application/mapbender_user
>> [3]
>> 
>> I am not very experienced with PHP or Symfony apps, so I am not even 
>> sure where to start troubleshooting this. Any pointers are 
>> appreciated!
>> 
>> My setup:
>> 
>> Mapbender v 3.0.5.3
>> 
>> Apache 2.4.18 from Ubuntu repo
>> 
>> Ubuntu Server 16.04.1 LTS (GNU/Linux 4.4.0-38-generic x86_64)
>> 
>> PHP 7.0.8-0ubuntu0.16.04.2
>> 
>> Thank you!
>> 
>> Philipp Nagel
>> 
>> GIS Coordinator
>> 
>> City of Waseca
>> 
>> 508 S. State Street
>> 
>> Waseca, MN 56093
>> 
>> PhilippN at ci.waseca.mn.us
>> 
>> P. 507-835-9733
>> 
>> _______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users [1]
> 
> --
> 
> Andriy Oblivantsev
> 
> Softwareentwickler
> 
> ****************************************************
> INTERGEO 2016
> 11.- 13. Oktober 2016 in Hamburg
> Treffen Sie die WhereGroup in Halle A4, Stand B4.028 www.intergeo.de 
> [4]
> *****************************************************
> 
> WhereGroup GmbH & Co. KG
> Eifelstraße 7
> 53119 Bonn
> Germany
> 
> Fon: +49 (0)228 / 90 90 38 - 41
> Fax: +49 (0)228 / 90 90 38 - 11
> 
> antje.gerstenberger at wheregroup.com
> www.wheregroup.com [5]
> Amtsgericht Bonn, HRA 6788
> -----------------------------------
> Komplementärin:
> WhereGroup Verwaltungs GmbH
> vertreten durch:
> Olaf Knopp, Peter Stamm
> -----------------------------------
> 
> 
> 
> Links:
> ------
> [1] http://lists.osgeo.org/mailman/listinfo/mapbender_users
> [2]
> http://doc.mapbender3.org/en/book/installation/installation_ubuntu.htm
> l [3] http://10.0.0.59/application/mapbender_user
> [4] http://www.intergeo.de
> [5] http://www.wheregroup.com
> [6]
> http://askubuntu.com/questions/761713/how-can-i-downgrade-from-php-7-t
> o-php-5-6-on-ubuntu-16-04+
> 
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

--
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

*****************************************************
INTERGEO 2016
11.- 13. Oktober 2016 in Hamburg
Treffen Sie die WhereGroup in Halle A4, Stand B4.028 www.intergeo.de
*****************************************************

  Astrid Emde
  WhereGroup GmbH & Co.KG
  Eifelstraße 7
  53119 Bonn
  Germany

  Fon: +49(0)228 90 90 38 - 22
  Fax: +49(0)228 90 90 38 - 11

  astrid.emde at wheregroup.com
  www.wheregroup.com

  Folgen Sie der WhereGroup auf twitter: 
http://twitter.com/WhereGroup_com

Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
  pgp-public key:
  http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
  Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
  Signed and/or encrypted mail is highly appreciated _______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapbender_users


More information about the Mapbender_users mailing list