I get all that long error message I sent earlier.<div><br><div>site_session_name); session_start(); } include 
$xerte_toolkits_site-&gt;php_library_path . &quot;login_library.php&quot;; include 
$xerte_toolkits_site-&gt;php_library_path . &quot;display_library.php&quot;; /** * Check 
to see if anything has been posted to distinguish between log in attempts */ 
if((!isset($_POST[&quot;login&quot;]))&amp;&amp;(!isset($_POST[&quot;password&quot;]))){ $buffer = 
login_page_format_top(file_get_contents($xerte_toolkits_site-&gt;root_file_path 
. $xerte_toolkits_site-&gt;website_code_path . &quot;login_top&quot;)); $buffer .= 
$form_string; $buffer .= 
login_page_format_bottom(file_get_contents($xerte_toolkits_site-&gt;root_file_path 
. $xerte_toolkits_site-&gt;website_code_path . &quot;login_bottom&quot;)); echo $buffer; } 
/* * Some data has bee posted, interpret as attempt to login */ if 
($_SERVER[&#39;REQUEST_METHOD&#39;] == &#39;POST&#39;) { /** * Username and password left empty 
*/ if(($_POST[&quot;login&quot;]==&quot;&quot;)&amp;&amp;($_POST[&quot;password&quot;]==&quot;&quot;)){ $buffer = 
login_page_format_top(file_get_contents($xerte_toolkits_site-&gt;root_file_path 
. $xerte_toolkits_site-&gt;website_code_path . &quot;login_top&quot;)); $buffer .= &quot;
<p>Please enter your username and password</p>&quot;; $buffer .= 
login_page_format_bottom(file_get_contents($xerte_toolkits_site-&gt;root_file_path 
. $xerte_toolkits_site-&gt;website_code_path . &quot;login_bottom&quot;)); echo $buffer; 
/* * Username left empty */ }else if($_POST[&quot;login&quot;]==&quot;&quot;){ $buffer = 
login_page_format_top(file_get_contents($xerte_toolkits_site-&gt;root_file_path 
. $xerte_toolkits_site-&gt;website_code_path . &quot;login_top&quot;)); $buffer .= &quot;
<p>Please enter your username</p>&quot;; $buffer .= 
login_page_format_bottom(file_get_contents($xerte_toolkits_site-&gt;root_file_path 
. $xerte_toolkits_site-&gt;website_code_path . &quot;login_bottom&quot;)); echo $buffer; 
/* * Password left empty */ }else if($_POST[&quot;password&quot;]==&quot;&quot;){ $buffer = 
login_page_format_top(file_get_contents($xerte_toolkits_site-&gt;root_file_path 
. $xerte_toolkits_site-&gt;website_code_path . &quot;login_top&quot;)); $buffer .= &quot;
<p>Please enter your password</p>&quot;; $buffer .= 
login_page_format_bottom(file_get_contents($xerte_toolkits_site-&gt;root_file_path 
. $xerte_toolkits_site-&gt;website_code_path . &quot;login_bottom&quot;)); echo $buffer; 
/* * Password and username provided, so try to authenticate */ }else 
if(($_POST[&quot;login&quot;]!=&quot;&quot;)&amp;&amp;($_POST[&quot;password&quot;]!=&quot;&quot;)){ /* * See if the 
submitted values are valid logins */ 
if(valid_login($_POST[&quot;login&quot;],$_POST[&quot;password&quot;])){ /* * Give the session its 
own session id */ $_SESSION[&#39;toolkits_sessionid&#39;] = $session_id; /* * Get some 
user details back from LDAP */ $entry = 
get_user_details($_POST[&quot;login&quot;],$_POST[&quot;password&quot;]); 
$_SESSION[&#39;toolkits_firstname&#39;] = $entry[0][givenname][0]; 
$_SESSION[&#39;toolkits_surname&#39;] = $entry[0][sn][0]; include 
$xerte_toolkits_site-&gt;php_library_path . &quot;database_library.php&quot;; include 
$xerte_toolkits_site-&gt;php_library_path . &quot;user_library.php&quot;; 
$mysql_id=database_connect(&quot;index.php database connect success&quot;,&quot;index.php 
database connect fail&quot;); $_SESSION[&#39;toolkits_logon_username&#39;] = $_POST[&quot;login&quot;]; 
/* * Check to see if this is a users&#39; first time on the site */ 
if(check_if_first_time($_SESSION[&#39;toolkits_logon_username&#39;])){ /* * create the 
user a new id */ $_SESSION[&#39;toolkits_logon_id&#39;] = create_user_id(); /* * create 
a virtual root folder for this user */ create_a_virtual_root_folder(); }else{ /* 
* User exists so update the user settings */ $_SESSION[&#39;toolkits_logon_id&#39;] = 
get_user_id(); update_user_logon_time(); } recycle_bin(); /* * Output the main 
page, including the user&#39;s and blank templates */ echo 
file_get_contents($xerte_toolkits_site-&gt;website_code_path . 
&quot;management_headers&quot;); echo &quot;<br><br><div class="gmail_quote">On Mon, Sep 7, 2009 at 5:09 PM, Patrick Lockley <span dir="ltr">&lt;<a href="mailto:Patrick.Lockley@nottingham.ac.uk">Patrick.Lockley@nottingham.ac.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<div>
<div dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000" size="2">Because your database already exists.</font></div>
<div dir="ltr"><font face="Arial" size="2"></font> </div>
<div dir="ltr"><font face="Arial" size="2">If you go to localhost/xertetoolkits now what do you get?</font></div></div>
<div dir="ltr"><br>
<hr>
<font face="Tahoma" size="2"><div class="im"><b>From:</b> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of Tianna Tagami<br></div><b>Sent:</b> Tue 08/09/2009 01:07<div>

<div></div><div class="h5"><br><b>To:</b> Xerte discussion list<br><b>Subject:</b> Re: [Xerte] updating to 1.5<br></div></div></font><br></div><div><div></div><div class="h5">
<div>I don&#39;t have that file, and it&#39;s not in my recycle bin. Yes, I am using the xampp default version. 
<div>I don&#39;t understand why a clean install wouldn&#39;t work. I got the file from the site: <a href="http://www.nottingham.ac.uk/xerte/" target="_blank">http://www.nottingham.ac.uk/xerte/</a></div>
<div><br></div>
<div><a href="http://www.nottingham.ac.uk/xerte/" target="_blank"></a>Shouldn&#39;t that have everything I need?<br><br>
<div class="gmail_quote">On Mon, Sep 7, 2009 at 5:00 PM, Patrick Lockley <span dir="ltr">&lt;<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
<div>
<div dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000" size="2">in the root so in c:\xampp\htdocs\xertetoolkits\</font></div>
<div dir="ltr"><font face="Arial" size="2"></font> </div>
<div dir="ltr"><font face="Arial" size="2">are you using the xampp default version?</font></div></div>
<div dir="ltr"><br>
<hr>
<font face="Tahoma" size="2">
<div><b>From:</b> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of Tianna Tagami<br></div><b>Sent:</b> Tue 08/09/2009 00:58 
<div>
<div></div>
<div><br><b>To:</b> Xerte discussion list<br><b>Subject:</b> Re: [Xerte] updating to 1.5<br></div></div></font><br></div>
<div>
<div></div>
<div>
<div>Where would that file be? In what folder?<br><br>
<div class="gmail_quote">On Mon, Sep 7, 2009 at 4:53 PM, Patrick Lockley <span dir="ltr">&lt;<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
<div>
<div dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000" size="2">Ok, are the old files in the recycle bin?</font></div>
<div dir="ltr"><font face="Arial" size="2"></font> </div>
<div dir="ltr"><font face="Arial" size="2">Your key file is database.php? Could you find your deleted version of that?</font></div></div>
<div dir="ltr"><br>
<hr>
<font face="Tahoma" size="2">
<div><b>From:</b> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of Tianna Tagami<br></div><b>Sent:</b> Tue 08/09/2009 00:43 
<div>
<div></div>
<div><br><b>To:</b> Xerte discussion list<br><b>Subject:</b> Re: [Xerte] updating to 1.5<br></div></div></font><br></div>
<div>
<div></div>
<div>
<div>I deleted everything and just reinstalled the zip file from the website. I have a USER-FILES folder now, but it only has a readme file in it. I have my previous projects saved in a different folder.<br><br>
<div class="gmail_quote">On Mon, Sep 7, 2009 at 4:33 PM, Patrick Lockley <span dir="ltr">&lt;<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
<div>
<div dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000" size="2">Ok - did you delete your USER-FILES folder?</font></div></div>
<div dir="ltr"><br>
<hr>
<font face="Tahoma" size="2">
<div><b>From:</b> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of Tianna Tagami<br></div><b>Sent:</b> Tue 08/09/2009 00:20 
<div>
<div></div>
<div><br><b>To:</b> Xerte discussion list<br><b>Subject:</b> Re: [Xerte] updating to 1.5<br></div></div></font><br></div>
<div>
<div></div>
<div>
<div>I already uninstalled and deleted all the original files, though. All I have now are the new files I downloaded from the site.<br><br>
<div class="gmail_quote">On Mon, Sep 7, 2009 at 4:04 PM, Patrick Lockley <span dir="ltr">&lt;<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
<div>
<div dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000" size="2">You said you replaced - do not replace, just drag the files over the top.</font></div>
<div dir="ltr"><font face="Arial" size="2"></font> </div>
<div dir="ltr"><font face="Arial" size="2">To be precise - read through bugfixes.txt in the root folder - this will tell you all the files that have changed and their directories.</font></div></div>
<div dir="ltr"><br>
<hr>
<font face="Tahoma" size="2">
<div><b>From:</b> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of Tianna Tagami<br></div><b>Sent:</b> Tue 08/09/2009 00:01<br><b>To:</b> Xerte discussion list<br>

<b>Subject:</b> Re: [Xerte] updating to 1.5<br></font><br></div>
<div>
<div></div>
<div>
<div>I did that and it didn&#39;t work. I got the same error messages. 
<div>That&#39;s when I tried uninstalling and reinstalling. What should I do now?<br><br>
<div class="gmail_quote">On Mon, Sep 7, 2009 at 3:49 PM, Patrick Lockley <span dir="ltr">&lt;<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
<div>
<div dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000" size="2">To upgrade - for now - just drag the files over the top.</font></div></div>
<div dir="ltr"><br>
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of Tianna Tagami<br><b>Sent:</b> Mon 07/09/2009 20:11<br>

<b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] updating to 1.5<br></font><br></div>
<div>
<div></div>
<div>
<div>I downloaded the 1.5 update and replaced my old xertetoolkits folder<br>in the xamp folder with the new one, but couldn&#39;t access it. I got a signin page instead of my regular home page showing my projects. So, I uninstalled everything, including XAMPP and reinstalled. Now I get the right page when I go to <a href="http://localhost/xertetoolkits/setup/" target="_blank">http://localhost/xertetoolkits/setup/</a>, but when I click set up for XAMPP people, I get this error message:<br>


<blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><br><span style="color:rgb(255,0,0)">Sorry, the attempt to connect to the host has failed. MySQL reports the following error - </span><br>

<font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">Sorry, the attempt to create the database to the database has failed. MySQL reports the following error - </span><br><font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">Sorry, the attempt to specify which database we need to work on (the MySQL keyword - USE) has failed. MySQL reports the following error - </span><br>

<font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">Sorry, The query has failed. MySQL reports the following error - </span><br><font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">Sorry, The query has failed. MySQL reports the following error - </span><br>

<font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">Toolkits has been installed.</span><br><span style="color:rgb(255,0,0)">Please go to <a href="http://localhost/xertetoolkits/" target="_blank">http://localhost/xertetoolkits/</a> </span><br>

<font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">Please see the Xerte site at <a href="http://www.nottingham.ac.uk/xerte" target="_blank">http://www.nottingham.ac.uk/xerte</a> and please consider joining the mailing list. </span></blockquote>

<br>It says toolkits has been installed, but when I go to <a href="http://localhost/xertetoolkits/" target="_blank">http://localhost/xertetoolkits/</a>, I just get all this gobbelty gook: 
<div><br></div>
<blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span style="color:rgb(255,0,0)">site_session_name); session_start(); } include $xerte_toolkits_site-&gt;php_library_path . &quot;login_library.php&quot;; include $xerte_toolkits_site-&gt;php_library_path . &quot;display_library.php&quot;; /** * Check to see if anything has been posted to distinguish between log in attempts */ if((!isset($_POST[&quot;login&quot;]))&amp;&amp;(!isset($_POST[&quot;password&quot;]))){ $buffer = login_page_format_top(file_get_contents($xerte_toolkits_site-&gt;root_file_path . $xerte_toolkits_site-&gt;website_code_path . &quot;login_top&quot;)); $buffer .= $form_string; $buffer .= login_page_format_bottom(file_get_contents($xerte_toolkits_site-&gt;root_file_path . $xerte_toolkits_site-&gt;website_code_path . &quot;login_bottom&quot;)); echo $buffer; } /* * Some data has bee posted, interpret as attempt to login */ if ($_SERVER[&#39;REQUEST_METHOD&#39;] == &#39;POST&#39;) { /** * Username and password left empty */ if(($_POST[&quot;login&quot;]==&quot;&quot;)&amp;&amp;($_POST[&quot;password&quot;]==&quot;&quot;)){ $buffer = login_page_format_top(file_get_contents($xerte_toolkits_site-&gt;root_file_path . $xerte_toolkits_site-&gt;website_code_path . &quot;login_top&quot;)); $buffer .= &quot;</span><br>

<span style="color:rgb(255,0,0)">Please enter your username and password</span><br><font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">&quot;; $buffer .= login_page_format_bottom(file_get_contents($xerte_toolkits_site-&gt;root_file_path . $xerte_toolkits_site-&gt;website_code_path . &quot;login_bottom&quot;)); echo $buffer; /* * Username left empty */ }else if($_POST[&quot;login&quot;]==&quot;&quot;){ $buffer = login_page_format_top(file_get_contents($xerte_toolkits_site-&gt;root_file_path . $xerte_toolkits_site-&gt;website_code_path . &quot;login_top&quot;)); $buffer .= &quot;</span><br>

<span style="color:rgb(255,0,0)">Please enter your username</span><br><font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">&quot;; $buffer .= login_page_format_bottom(file_get_contents($xerte_toolkits_site-&gt;root_file_path . $xerte_toolkits_site-&gt;website_code_path . &quot;login_bottom&quot;)); echo $buffer; /* * Password left empty */ }else if($_POST[&quot;password&quot;]==&quot;&quot;){ $buffer = login_page_format_top(file_get_contents($xerte_toolkits_site-&gt;root_file_path . $xerte_toolkits_site-&gt;website_code_path . &quot;login_top&quot;)); $buffer .= &quot;</span><br>

<span style="color:rgb(255,0,0)">Please enter your password</span><br><font color="#ff0000"><br></font><span style="color:rgb(255,0,0)">&quot;; $buffer .= login_page_format_bottom(file_get_contents($xerte_toolkits_site-&gt;root_file_path . $xerte_toolkits_site-&gt;website_code_path . &quot;login_bottom&quot;)); echo $buffer; /* * Password and username provided, so try to authenticate */ }else if(($_POST[&quot;login&quot;]!=&quot;&quot;)&amp;&amp;($_POST[&quot;password&quot;]!=&quot;&quot;)){ /* * See if the submitted values are valid logins */ if(valid_login($_POST[&quot;login&quot;],$_POST[&quot;password&quot;])){ /* * Give the session its own session id */ $_SESSION[&#39;toolkits_sessionid&#39;] = $session_id; /* * Get some user details back from LDAP */ $entry = get_user_details($_POST[&quot;login&quot;],$_POST[&quot;password&quot;]); $_SESSION[&#39;toolkits_firstname&#39;] = $entry[0][givenname][0]; $_SESSION[&#39;toolkits_surname&#39;] = $entry[0][sn][0]; include $xerte_toolkits_site-&gt;php_library_path . &quot;database_library.php&quot;; include $xerte_toolkits_site-&gt;php_library_path . &quot;user_library.php&quot;; $mysql_id=database_connect(&quot;index.php database connect success&quot;,&quot;index.php database connect fail&quot;); $_SESSION[&#39;toolkits_logon_username&#39;] = $_POST[&quot;login&quot;]; /* * Check to see if this is a users&#39; first time on the site */ if(check_if_first_time($_SESSION[&#39;toolkits_logon_username&#39;])){ /* * create the user a new id */ $_SESSION[&#39;toolkits_logon_id&#39;] = create_user_id(); /* * create a virtual root folder for this user */ create_a_virtual_root_folder(); }else{ /* * User exists so update the user settings */ $_SESSION[&#39;toolkits_logon_id&#39;] = get_user_id(); update_user_logon_time(); } recycle_bin(); /* * Output the main page, including the user&#39;s and blank templates */ echo file_get_contents($xerte_toolkits_site-&gt;website_code_path . &quot;management_headers&quot;); echo &quot;</span></blockquote>


<div><br>What did I do wrong?</div>
<div><br>Thanks!<br>Tianna</div></div></div></div></div><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>

<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br><br></blockquote></div><br></div></div></div></div></div><br>_______________________________________________<br>

Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>

<br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>

<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br><br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>

Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>

<br></blockquote></div><br></div></div></div></div><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>

<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br><br></blockquote></div><br></div></div></div></div></div>
<br>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br></blockquote></div><br></div></div>