嗨,我正在使用 EZ publish,当我尝试访问我的网站时出现此错误。
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
在我的
/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
我已经定义
[DatabaseSettings]
DatabaseImplementation=ezpostgresql
Server=localhost
服务器作为 localhost ,
我的数据库用户名和密码也正确
我的网站网址也是正确的
[SiteSettings]
SiteName=test
SiteURL=xxxxxxx/index.php
我的数据库服务器也正确启动
/etc/init.d/postgresql restart
在我的网络浏览器中它只给出错误
An unexpected error has occurred. Please contact the webmaster.
所以
1.are there any log files i should check ?
2.what are the possible reasons for this error , thank you very much