Tuesday 22 June 2010 7:13:14 am
This is a laste line of the file var/log/error.log :
Unexpected error, the message was : Unable to connect to the database server 'HOST'
Seems as André was right. The connection to the Database could not be established. eZPublish needs a connection to the database to fetch all information to 'render' a website. The errormessage shows, that you might have typed in 'HOST' as hostname of the mysql-Database. This is obviously wrong. Mostly 'localhost' or '127.0.0.1' are corrent values for a database host, but this might depend of your Hosting-Provider. Check those settings. When editing ini-files make sure to clear the cache after doing so. Otherwise 'old' settings are still in use. Use the forum-search to find out, how to clear the cache. The most common way is to invoke a
php bin/php/ezcache --clear-all on the shell. If you don't have shell/cli access to your server, you might try removing files found in the following directorys via an ftp-program. But this might fail.
var/cache
var/*/cache * = site, ezwebin_site, some other directory ... If nothing works, try to remove everything and start all over. This might be the easiest way instead of making you ez clean again. Cheers, chris
Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613
|