<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:2318699;
        mso-list-type:hybrid;
        mso-list-template-ids:857486440 201916431 201916441 201916443 201916431 201916441 201916443 201916431 201916441 201916443;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi Tom,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I went back to scratch. I removed all references to the xertetoolkits, database and site directory.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I’m not going to use ldap, nor the hard coded index file, but Moodle’s logins.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I reinstalled from the zip file, into a directory called ‘<b>xerte</b>’ in the root of the website <b>F:\My Websites\yes\xerte</b> which translates to <b><a href="http://www.your-english-success.com/xerte/">http://www.your-english-success.com/xerte/</a><o:p></o:p></b></span></p><p class=MsoNormal><span style='color:#1F497D'>The database I called<b> ‘toolkit’ </b>There are no entries in the ldap tables of the database.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>In the logindetails table, only user is ‘<b>admin</b>’<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I then installed the Moodle patch, got everything in place, and followed the instructions exactly. Being careful to put the correct directory path into the required file. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Now, Xerte is under <b>F:\My Websites\yes\xerte<o:p></o:p></b></span></p><p class=MsoNormal><span style='color:#1F497D'>And Moodle under<b> F:\My Websites\yes\StudyDesk </b>(the directory is not Moodle, but StudyDesk)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>All appears to be well up to this point.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='color:#1F497D'><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]><span style='color:#1F497D'>Open browser – point to  <b><a href="http://www.your-english-success.com/xerte/">http://www.your-english-success.com/xerte/</a> </b>and it opens up<b> </b></span><a href="http://your-english-success.com/studydesk/login/index.php">http://your-english-success.com/studydesk/login/index.php</a> as it should according to the documentation for the patch. I login to (Moodle) my study desk, and it drops me into the main screen like normal. According to the instructions, because Xerte is not in the Moodle directory, but in the root of the site, I need to keep the browser open, and simply type in the Xerte path again, so I do this, <br><b><span style='color:#1F497D'><a href="http://www.your-english-success.com/xerte/">http://www.your-english-success.com/xerte/</a>  <br></span></b><span style='color:#1F497D'>and I get a blank screen<b>. </b>No error messages, nada.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span class=apple-style-span><span style='color:#1F497D'><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>       </span></span></span></span><![endif]><span style='color:#1F497D'>I know it’s doing something, because in config.php I set the debug switch to 1, and it gives me a php error.<br><br>// Error reporting fix - please set<br>ini_set('error_reporting', 1);<br> and this reports <br>‘F</span><span class=apple-style-span><span style='font-size:13.5pt'>atal error: Call to undefined function _debug() in F:\My Websites\yes\xerte\website_code\php\database_library.php on line 110’</span></span><span class=apple-style-span><span style='color:#1F497D'><o:p></o:p></span></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>I’ve reset that back to 0, as it provided no insights at all.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>From the error_logs files,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Admin.log<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><p>8:16:18 - 02/11/2011 SUCCESS<Br>DATABASE CONNECTED<Br>index.php database connect success</p>*<p>8:16:18 - 02/11/2011 SUCCESS<Br>DATABASE CONNECTED<Br>db_Query ok</p>*<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>SUCCESS.log<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><p>8:16:18 - 02/11/2011 SUCCESS<Br>DATABASE CONNECTED<Br>index.php database connect success</p>*<p>8:16:18 - 02/11/2011 SUCCESS<Br>DATABASE CONNECTED<Br>db_Query ok</p>*<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>So I’m stumped. Nothing I do will get it to display that index.php screen.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Robert<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Tom Reijnders<br><b>Sent:</b> Tuesday, November 01, 2011 5:27 PM<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Moodle authentication patch gives blank screen<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Robert,<br><br>The problems you have with xerte toolkit seem to revolve around user management/user authentication<br><br>Xerte Toolkits does not provide user management, it relies on other systems to provide user authentication. The following options are available at the moment:<br><br>1. ldap (the default). You could try to install an ldap server and add users to ldap. It is not for the faint hearted. An example of a ldap server is the Active Directory Service of Windows servers. There are several open source solutions as well<br>2. moodle. With the moodle patch you can use the moodle user management and moodle user database withing Xerte Toolkits. But..., you have to have moodle installed on the same server for this to work.<br>3. Simple authentication using fixed users in a .php file. There are two files present in the installation directory. demo.txt (doesn't require authentication) and switch.txt (contains 4 fixed users). If you want to use those, you copy them over the existing index.php. If using switch.txt, you have to change the users and passwords in that file.<br><br>Hope this clarifies things for you.<br><br>Tom<br><br>Op 1-11-2011 1:14, Robert Chalmers schreef: <o:p></o:p></p><p class=MsoNormal>I set up a brand new xertetoolkit install, made usre I could at least login (there are other problems) then installed the moodle auth patch. <o:p></o:p></p><p class=MsoNormal>All it gives is a blank screen.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Much hand wringing….<o:p></o:p></p><p class=MsoNormal>Robert<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. <o:p></o:p></p><p>This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>From Shanghai PC <o:p></o:p></span></p><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Xerte mailing list<o:p></o:p></pre><pre><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><o:p></o:p></pre><pre><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>This message has been checked for viruses but the contents of an attachment<o:p></o:p></pre><pre>may still contain software viruses which could damage your computer system:<o:p></o:p></pre><pre>you are advised to perform your own checks. Email communications with the<o:p></o:p></pre><pre>University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>  <o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>--<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Tom Reijnders<o:p></o:p></pre><pre>TOR Informatica<o:p></o:p></pre><pre>Chopinlaan 27<o:p></o:p></pre><pre>5242HM Rosmalen<o:p></o:p></pre><pre>Tel: 073 5226191<o:p></o:p></pre><pre>Fax: 073 5226196<o:p></o:p></pre><pre><o:p> </o:p></pre></div></body></html>