On Sat, Apr 13, 2013 at 09:06:05PM +0800, David Smith wrote: > On 04/13/2013 06:45 PM, Sebastian Reichel wrote: > > > > I can't tell you either. For debugging you can replace line 25 in > > /usr/share/tt-rss/www/include/db.php with the following one: > > > > die("PGSQL connection failed:" . $string); > > > > This will output the connection settings used including the > > password. Connecting to the postgresql db using these parameters > > may give more information. > > > > -- Sebastian > > Any ideas?
I'm not a postgresql user myself, but I just tried to find our more about the error via Google. It seems to be a problem with your/default postgresql configuration for local connections: http://www.postgresql.org/docs/9.1/static/auth-methods.html#AUTH-PEER The tt-rss php script is running via your webserver as user www-data, so it cannot access the ttrss database. There's a simple guide to change the postgresql settings for local connections here: http://blog.deliciousrobots.com/2011/12/13/get-postgres-working-on-ubuntu-or-linux-mint/ -- Sebastian
signature.asc
Description: Digital signature