From 62f0313849455d0a332edf65144a1eecff00cd8b Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Mon, 24 Aug 2009 03:27:36 +0000
Subject: [PATCH] readme update

---
 README | 30 ++++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

diff --git a/README b/README
index ded04b17..be11361a 100644
--- a/README
+++ b/README
@@ -3,24 +3,34 @@
 ********
 Run the setup.sh script to symlink all the necessary plugins
 	./setup.sh
-Create a database named unl_social
+Create a mysql database named unl_social
 Import the full_dump.sql file*
 	mysql -u root unl_social < full_dump.sql
-Browse to the elgg directory in your web browser.
-Create the local elgg/.htaccess file using the sample on the install page
-	Be sure to set the correct RewriteBase /~bbieber/UNL_Elgg/elgg/ for example.
-Create the local elgg/engine/settings.php file.
-	Be sure to specify unl_social as the database name
+Browse to the elgg directory in your web browser and do elgg's installation:
+	Create the local elgg/.htaccess file using the sample on the install page
+		Be sure to set the correct RewriteBase /~bbieber/UNL_Elgg/elgg/ for example.
+	Create the local elgg/engine/settings.php file.
+		Be sure to specify unl_social as the database name
 Create a local directory for elgg data outside of the web root.
 	Change the permissions so Apache has write access to it.
 	sudo chown _www elgg_data
-Install the UNL_Templates pear packages
-	pear channel-discover pear.unl.edu && pear install unl/UNL_Templates-beta unl/UNL_Services_Peoplefinder-beta DB
-Set the correct site url within the database:
+Install pear http://pear.php.net/manual/en/installation.getting.php
+	Install the UNL_Templates pear packages
+		pear channel-discover pear.unl.edu && pear install unl/UNL_Templates-beta unl/UNL_Services_Peoplefinder-beta DB
+Set the correct site url within the unl_social database:
 	UPDATE elggsites_entity SET url='http://localhost/workspace/UNL_Elgg/elgg/' WHERE guid=1;
 	UPDATE elggdatalists SET value = '/Users/smeranda/Documents/workspace/UNL_Elgg/elgg/' WHERE name = 'path';
 	UPDATE elggdatalists SET value = '/Users/smeranda/Documents/workspace/elgg_data/' WHERE name = 'dataroot';
-Make sure the local site has an updated copy of the templatedependents
+Make sure the local site has an updated copy of the unl templatedependents
+
+******
+** Troubleshooting
+******
+After navigating to the elgg dir in your browser and filling in the correct database info - 
+if you get the error that elgg can't connect to your database do this:
+1. find your php.ini file, probably located at /etc/php.ini.default and rename it to php.ini
+2. edit the mysql.default_socket line to include the path to your mysql.sock file, e.g.
+   mysql.default_socket = /private/tmp/mysql.sock
 
  
 
-- 
GitLab