[OBM Admin] Unsuccessful connect to GIS database.

Bán Miklós banm at vocs.unideb.hu
Sat Apr 22 14:39:03 CEST 2017


Hi Attila,

Thanks for your mail! The db_funcs.php has recently changed to support 
different postgresql versions. In some
server there are more than one running postgresql server side by side.
We can distinguish these servers using different port to connect to
them. Therefore I've introduced the  POSTGRES_PORT constant in the
connection function which should be defined in
the /etc/openbiomaps/system_vars.php.inc

  define("POSTGRES_PORT","5432");

This is an important config file which contains your local
connections information and therefore never updated by the
obm-gekko-updates.

Please add the line above to 
/etc/openbiomaps/system_vars.php.inc
to solve your connection problem!



Miki


On Sat, 22 Apr 2017 11:55:38 +0200
"Ferenc Attila" <ferenca at bnpi.hu> wrote:

> Hi,
> 
>  
> 
> I've upgraded my gekko server to v. 1.25.
> 
> After it I can't open my projects web page.
> 
>  
> 
> I got the "Unsuccessful connect to GIS database." error message.
> 
>  
> 
> I can connect to the gisdata database via pgadmin or QGIS without any
> problem.
> 
>  
> 
> Could somebody help me?
> 
>  
> 
> Thanks:
> 
> Attila
> 
>  
> 
>  
> 
> Attila Ferenc
> 
> Bükk National Park Diretorate
> 
> Ranger Services
> 
> South Heves Region
> 
> Address: H-3304 Eger, Sánc u. 6.
> 
> Postal address:  H-3301 Eger, Pf. 116
> 
> Hungary
> 
> www.bnpi.hu
> 
> +36306380229
> 
>  
> 



-- 
Miklós Bán, PhD
MTA-DE "Lendület" Behavioural Ecology Research Group
Department of Evolutionary Zoology, University of Debrecen
H-4010 Debrecen, Egyetem tér 1.
Phone:  +36 52 512-900 ext. 62356
http://zoology.unideb.hu/?m=Miklos_Ban
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the Administrator mailing list