PDA

View Full Version : Problem with Elgg Installation


nadec23
12-07-2008, 02:02 PM
Hi everyone,

I followed all the instructions found at this link: Elgg Installation (http://groups.google.com/group/elgg-users/browse_thread/thread/e6322c5933216cdf) and after, I encountered the Elgg Configuration which is I indicated in the image.

http://images.mylot.com/userImages/images/postphotos/2103935.jpg

I choose the alternative since I don't have any background yet to MySQL database configuration. Really! I'm a newbie to this problem. So I supplied the box with the database user, password. I followed the instruction found at the site given above which is the default database user and database password. I don't really know about this Elgg database so I just entered elggdb which is also instructed at the site given above. After doing all this, I hit save button. The real problem now is, An elgg error will occur saying: "Elgg error: Apache does not have mod_rewrite loaded. Please check your Apache setup." I followed the instruction found at the site given above which is un-commenting line 118. But an error will occur.

Maybe someone can help me with the first alternative 2 steps found in the image.

<?php

/**
* Elgg settings
*
* Elgg manages most of its configuration from the admin panel. However, we need you to
* include your database settings below.
*
* @todo Turn this into something we handle more automatically.
*/

global $CONFIG;
if (!isset($CONFIG))
$CONFIG = new stdClass;

/*
* Standard configuration
*
* You will use the same database connection for reads and writes.
* This is the easiest configuration, and will suit 99.99% of setups. However, if you're
* running a really popular site, you'll probably want to spread out your database connections
* and implement database replication. That's beyond the scope of this configuration file
* to explain, but if you know you need it, skip past this section.
*/

// Database username
$CONFIG->dbuser = '{{CONFIG_DBUSER}}';

// Database password
$CONFIG->dbpass = '{{CONFIG_DBPASS}}';

// Database name
$CONFIG->dbname = '{{CONFIG_DBNAME}}';

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->dbhost = '{{CONFIG_DBHOST}}';

// Database table prefix
// If you're sharing a database with other applications, you will want to use this
// to differentiate Elgg's tables.
$CONFIG->dbprefix = '{{CONFIG_DBPREFIX}}';

/*
* Multiple database connections
*
* Here you can set up multiple connections for reads and writes. To do this, uncomment out
* the lines below.
*/

/*

// Yes! We want to split reads and writes
$CONFIG->db->split = true;

// READS
// Database username
$CONFIG->db['read']->dbuser = "";

// Database password
$CONFIG->db['read']->dbpass = "";

// Database name
$CONFIG->db['read']->dbname = "";

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->db['read']->dbhost = "localhost";

// WRITES
// Database username
$CONFIG->db['write']->dbuser = "";

// Database password
$CONFIG->db['write']->dbpass = "";

// Database name
$CONFIG->db['write']->dbname = "";

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->db['write']->dbhost = "localhost";


*/

/*
* For extra connections for both reads and writes, you can turn both
* $CONFIG->db['read'] and $CONFIG->db['write'] into an array, eg:
*
* $CONFIG->db['read'][0]->dbhost = "localhost";
*
* Note that the array keys must be numeric and consecutive, i.e., they start
* at 0, the next one must be at 1, etc.
*/


/**
* Url - I am not sure if this will be here ?
**/

// URL
$CONFIG->url = "";

?>

Where can I find my MySQL database details using XAMMP? or if someone knows or have been using Elgg software in making in their social network site, I will be glad if I will be given a step by step instructions guided with an image so it's easy for me, if this is not asking too much for your part. Hehehe

Looking forward for your help and response.