[Wed Jul 25 13:56:13 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Wed Jul 25 14:04:31 2012] [error] [client 127.0.0.1] PHP WARNING: 2012-07-25 14:04:31 (IST): "mysql_connect(): Unknown MySQL server host '{{localhost}}' (2)" in file /var/www/engine/lib/database.php (line 102)
[Wed Jul 25 14:04:31 2012] [error] [client 127.0.0.1] Exception #1343205271: exception 'DatabaseException' with message 'Elgg couldn't connect to the database using the given credentials. Check the settings file.' in /var/www/engine/lib/database.php:105\nStack trace:\n#0 /var/www/engine/lib/database.php(143): establish_db_link('readwrite')\n#1 /var/www/engine/lib/elgglib.php(2133): setup_db_connections()\n#2 [internal function]: _elgg_engine_boot('boot', 'system', NULL)\n#3 /var/www/engine/lib/elgglib.php(773): call_user_func_array('_elgg_engine_bo...', Array)\n#4 /var/www/engine/start.php(99): elgg_trigger_event('boot', 'system')\n#5 /var/www/index.php(12): require_once('/var/www/engine...')\n#6 {main}
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- iionly@iionly
iionly - 0 likes
You must log in to post replies.Your database credentials in the file engine/settings.php are not correct. The username, database name, host name etc. must be entered without the {{}}. If you entered the database credential during the installation within the browser, the entries should be correct. If you edited the settings.php manually, you need to keep the correct format in mind. You can simply fix the errors in settings.php using a text editor.