[OBM Admin] Unsuccessful connect to GIS database.

Ferenc Attila ferenca at bnpi.hu
Sat Apr 22 15:22:30 CEST 2017


Hi Miki,

Thanks, it works, but i had to use single quotes (') instead of qute marks ("):

define('POSTGRES_PORT','5432');

Thanks,

Attila

> -----Original Message-----
> From: Administrator [mailto:administrator-bounces at lists.openbiomaps.org]
> On Behalf Of Bán Miklós
> Sent: Saturday, April 22, 2017 2:39 PM
> To: administrator at lists.openbiomaps.org
> Subject: Re: [OBM Admin] Unsuccessful connect to GIS database.
> 
> 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
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~
> _______________________________________________
> Administrator mailing list
> Administrator at lists.openbiomaps.org
> http://lists.openbiomaps.org/cgi-bin/mailman/listinfo/administrator



More information about the Administrator mailing list