Search Router work only on develoment mode

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

Search Router work only on develoment mode

Siline
Dear All,

I configured Search Router on my map. It works only on development
mode(http://server/mapbender/app_dev.php).
When go to the production mode (http://server/mapbender/app.php),
the error is:
"Oops! An Error Occurred The server returned a "500 Internal Server Error".

Could you know what is the cause? and how to fix it?

Best,
Siline



--
Sent from: http://osgeo-org.1560.x6.nabble.com/mapbender-users-f4220788.html
_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users
Reply | Threaded
Open this post in threaded view
|

Re: Search Router work only on develoment mode

David Patzke
Hi Siline,

if production and development mode behave differently it is mostly a
cache problem. Delete your prod cache and try again.

If this does not work, take a look into your prod.log (it´s in
app/logs/) there should be a clearer error message.

Cheers


On 28.01.20 02:52, Siline wrote:

> Dear All,
>
> I configured Search Router on my map. It works only on development
> mode(http://server/mapbender/app_dev.php).
> When go to the production mode (http://server/mapbender/app.php),
> the error is:
> "Oops! An Error Occurred The server returned a "500 Internal Server Error".
>
> Could you know what is the cause? and how to fix it?
>
> Best,
> Siline
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/mapbender-users-f4220788.html
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

--
-----------------------------------------
Aufwind durch Wissen!
Qualifizierte Open-Source-GIS-Schulungen
bei der www.foss-academy.com
-----------------------------------------

_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users
Reply | Threaded
Open this post in threaded view
|

Re: Search Router work only on develoment mode

Siline
Hi David,

Thank so much. It works now.
I just clear cache in the cached directory.

This is also help:
http://osgeo-org.1560.x6.nabble.com/Mapbender3-Searchrouter-additional-database-connection-tp5303306p5303640.html

Cheers!
Siline



--
Sent from: http://osgeo-org.1560.x6.nabble.com/mapbender-users-f4220788.html
_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users
Reply | Threaded
Open this post in threaded view
|

Re: Search Router work only on develoment mode

Astrid Emde (WhereGroup)
Hello Siline,

I am curious - did you manage to use your MySQL data with SearchRouter?
If yes - what did you modify?

Have fun with Mapbender

Astrid

Am 2020-01-29 03:16, schrieb Siline:

> Hi David,
>
> Thank so much. It works now.
> I just clear cache in the cached directory.
>
> This is also help:
> http://osgeo-org.1560.x6.nabble.com/Mapbender3-Searchrouter-additional-database-connection-tp5303306p5303640.html
>
> Cheers!
> Siline
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/mapbender-users-f4220788.html
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

--
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant


  -----------------------------------
  Aufwind durch Wissen!
  Qualifizierte Open-Source-Schulungen
  bei der www.foss-academy.com
  -----------------------------------

   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

   [hidden email]
   www.wheregroup.com

   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
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users
Reply | Threaded
Open this post in threaded view
|

Re: Search Router work only on develoment mode

Siline
Hi, Astrid,

No, I did not able to use mySQL with Searchrouter. I use Postgres for search
function only and the rest use mySQL data.

Cheers!
Siline



--
Sent from: http://osgeo-org.1560.x6.nabble.com/mapbender-users-f4220788.html
_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users