<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18294" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText45799 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 tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Tianna Tagami<BR><B>Sent:</B> Tue 08/09/2009 00:43<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> Re: [Xerte] updating to 1.5<BR></FONT><BR></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><<A href="mailto:Patrick.Lockley@nottingham.ac.uk">Patrick.Lockley@nottingham.ac.uk</A>></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 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 00:20
<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 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><<A href="mailto:Patrick.Lockley@nottingham.ac.uk" target=_blank>Patrick.Lockley@nottingham.ac.uk</A>></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't work. I got the same error messages.
<DIV>That'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><<A href="mailto:Patrick.Lockley@nottingham.ac.uk" target=_blank>Patrick.Lockley@nottingham.ac.uk</A>></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'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->php_library_path . "login_library.php"; include $xerte_toolkits_site->php_library_path . "display_library.php"; /** * Check to see if anything has been posted to distinguish between log in attempts */ if((!isset($_POST["login"]))&&(!isset($_POST["password"]))){ $buffer = login_page_format_top(file_get_contents($xerte_toolkits_site->root_file_path . $xerte_toolkits_site->website_code_path . "login_top")); $buffer .= $form_string; $buffer .= login_page_format_bottom(file_get_contents($xerte_toolkits_site->root_file_path . $xerte_toolkits_site->website_code_path . "login_bottom")); echo $buffer; } /* * Some data has bee posted, interpret as attempt to login */ if ($_SERVER['REQUEST_METHOD'] == 'POST') { /** * Username and password left empty */ if(($_POST["login"]=="")&&($_POST["password"]=="")){ $buffer = login_page_format_top(file_get_contents($xerte_toolkits_site->root_file_path . $xerte_toolkits_site->website_code_path . "login_top")); $buffer .= "</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)">"; $buffer .= login_page_format_bottom(file_get_contents($xerte_toolkits_site->root_file_path . $xerte_toolkits_site->website_code_path . "login_bottom")); echo $buffer; /* * Username left empty */ }else if($_POST["login"]==""){ $buffer = login_page_format_top(file_get_contents($xerte_toolkits_site->root_file_path . $xerte_toolkits_site->website_code_path . "login_top")); $buffer .= "</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)">"; $buffer .= login_page_format_bottom(file_get_contents($xerte_toolkits_site->root_file_path . $xerte_toolkits_site->website_code_path . "login_bottom")); echo $buffer; /* * Password left empty */ }else if($_POST["password"]==""){ $buffer = login_page_format_top(file_get_contents($xerte_toolkits_site->root_file_path . $xerte_toolkits_site->website_code_path . "login_top")); $buffer .= "</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)">"; $buffer .= login_page_format_bottom(file_get_contents($xerte_toolkits_site->root_file_path . $xerte_toolkits_site->website_code_path . "login_bottom")); echo $buffer; /* * Password and username provided, so try to authenticate */ }else if(($_POST["login"]!="")&&($_POST["password"]!="")){ /* * See if the submitted values are valid logins */ if(valid_login($_POST["login"],$_POST["password"])){ /* * Give the session its own session id */ $_SESSION['toolkits_sessionid'] = $session_id; /* * Get some user details back from LDAP */ $entry = get_user_details($_POST["login"],$_POST["password"]); $_SESSION['toolkits_firstname'] = $entry[0][givenname][0]; $_SESSION['toolkits_surname'] = $entry[0][sn][0]; include $xerte_toolkits_site->php_library_path . "database_library.php"; include $xerte_toolkits_site->php_library_path . "user_library.php"; $mysql_id=database_connect("index.php database connect success","index.php database connect fail"); $_SESSION['toolkits_logon_username'] = $_POST["login"]; /* * Check to see if this is a users' first time on the site */ if(check_if_first_time($_SESSION['toolkits_logon_username'])){ /* * create the user a new id */ $_SESSION['toolkits_logon_id'] = 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['toolkits_logon_id'] = get_user_id(); update_user_logon_time(); } recycle_bin(); /* * Output the main page, including the user's and blank templates */ echo file_get_contents($xerte_toolkits_site->website_code_path . "management_headers"); echo "</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">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></BODY></HTML>