[Mapbender-users] The CSRF token is invalid. Please try to resubmit the form.

Astrid Emde (WhereGroup) astrid.emde at wheregroup.com
Tue Oct 26 03:36:01 PDT 2021


Hello Jooel,

thanks for your feedback  & great that it works.

Please note that in Mapbender 3.2.7 is a bug in WMS update

https://github.com/mapbender/mapbender/issues/1381

You can fix it by modifying the following file as shown here:
https://github.com/mapbender/mapbender/commit/5a1669a9b4a7ab58c20a5b6908d407bd146ba20a

See you Astrid

Am 2021-10-25 18:28, schrieb Joel Blizzard:
> Hi Astrid,
> 
> Thanks so much for the link to that support information. That seems to
> have resolved the issue.
> 
> Take care.
> 
> On Mon, Oct 25, 2021 at 2:40 AM Astrid Emde (WhereGroup)
> <astrid.emde at wheregroup.com> wrote:
> 
>> Hello Joel,
>> 
>> this is strange.
>> 
>> Did you notice this problem before with the older Mapbender version?
>> 
>> Could you send background information about your setup.
>> 
>> - PHP version
>> - Does the WMS has many layers? Or does the problem occur with every
>> 
>> WMS?
>> 
>> Maybe you have to adjust the PHP settings
>> 
>> https://doc.mapbender.org/en/faq.html#working-with-large-wms-clients
>> 
>> You may change to a larger value
>> 
>> max_input_vars = 1000
>> upload_max_filesize = 2M
>> 
>> See you Astrid
>> 
>> Am 2021-10-18 16:22, schrieb Joel Blizzard:
>>> I'm having a strange issue where when I attempt to adjust the
>> active
>>> layers for a WMS source that has been added to my mapbender
>>> implementation, I get the error message:
>>> 
>>> "The CSRF token is invalid. Please try to resubmit the form."
>> when I
>>> attempt to save a change to the layerset.
>>> 
>>> I haven't been able to find any information on this online. Any
>>> assistance is appreciated.
>>> 
>>> I recently updated to 3.2.7.
>>> 
>>> Thanks,
>>> -Joel
>>> _______________________________________________
>>> Mapbender_users mailing list
>>> Mapbender_users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/mapbender_users
>> 
>> --
>> Mit freundlichen Grüßen
>> 
>> Astrid Emde
>> GIS-Consultant
>> 
>> ---------------------------------------------
>> Schon gewusst?

>> In unserem Blog geben wir Tipps & Tricks zu

>> Open-Source-GIS-Software
>> und berichten aus unserem Experten-Alltag:
>> https://wheregroup.com/blog/
>> ---------------------------------------------
>> Astrid Emde
>> WhereGroup GmbH
>> 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 [1]
>> 
>> Meinen PGP Public-Key können Sie unter pgp.mit.edu [2]
>> herunterladen:
>> 
>> 
> https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
>> Signierte und/oder verschlüsselte Nachrichten sind sehr
>> willkommen
>> 
>> Folgen Sie der WhereGroup auf twitter:
>> http://twitter.com/WhereGroup_com
>> 
>> Geschäftsführer:
>> Olaf Knopp, Peter Stamm
>> Amtsgericht Bonn, HRB 9885
>> 
> -------------------------------_______________________________________________
>> Mapbender_users mailing list
>> Mapbender_users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapbender_users
> 
> 
> Links:
> ------
> [1] http://www.wheregroup.com
> [2] http://pgp.mit.edu

-- 
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

---------------------------------------------
Schon gewusst?

In unserem Blog geben wir Tipps & Tricks zu
 Open-Source-GIS-Software
und berichten aus unserem Experten-Alltag:
https://wheregroup.com/blog/
---------------------------------------------
   Astrid Emde
   WhereGroup GmbH
   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

   Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
   
https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen

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

   Geschäftsführer:
   Olaf Knopp, Peter Stamm
   Amtsgericht Bonn, HRB 9885
-------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x1C287CCB.asc
Type: application/pgp-keys
Size: 1574 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20211026/f75db358/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20211026/f75db358/attachment.sig>


More information about the Mapbender_users mailing list