Hi i am using EZ publish , when i try to access my site i am getting this error .
Unexpected error, the message was : Unable to connect to the database server 'localhost'
Error #0: in /var/www/lib/ezdb/classes/ezpostgresqldb.php on line 125
in my
/var/www/settings/siteaccess/plain_site/site.ini.append.php
/var/www/settings/siteaccess/nor/site.ini.append.php
/var/www/settings/siteaccess/plain_site_admin/site.ini.append.php
i have defined
[DatabaseSettings]
DatabaseImplementation=ezpostgresql
Server=localhost
server as localhost ,
also my database user name and passwords are correct
also my site url is correct
[SiteSettings]
SiteName=test
SiteURL=xxxxxxx/index.php
also my database server is starts correctly
/etc/init.d/postgresql restart
in my web browser it only gives the error
An unexpected error has occurred. Please contact the webmaster.
so
1.are there any log files i should check ?
2.what are the possible reasons for this error , thank you very much