<html><head><base href="x-msg://79/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ian<div>ok so if you can create and edit LO's via demo.php then the database settings are correct.</div><div><br></div><div>so restore your moodle patch session.php and rename demo.php back to demo.txt</div><div><br></div><div>Pat obviously responded suggesting "a php tag has gone walkies" so perhaps check the syntax of your integration_path.php with the same file in the moodle patch e.g. make sure you haven't missed double quotes/apostrophe's etc</div><div><br></div><div>you did copy the other files from the patch to the places described in the readme&nbsp;especially index.php ?</div><div><br></div><div>If you followed those instructions correctly I can only think the path to the moodle config.php file isn't working and therefore isn't picking up the session info.</div><div><br></div><div>Unfortunately I've just had to send my Windows laptop for repair so don't have a test environment to troubleshoot further at the moment.</div><div><br></div><div>HTH</div><div>Ron</div><div><br><div><div>On 22 Apr 2010, at 12:48, Ian Johnson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div lang="EN-GB" link="blue" vlink="purple" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div class="Section1"><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Ron, I have restored the original session.php , renamed demo to demo.php and I can successfully load the demo<o:p></o:p></span></div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Ian<o:p></o:p></span></div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space">&nbsp;</span><a href="mailto:xerte-bounces@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">xerte-bounces@lists.nottingham.ac.uk</a><span class="Apple-converted-space">&nbsp;</span>[mailto:xerte-bounces@lists.nottingham.ac.uk]<span class="Apple-converted-space">&nbsp;</span><b>On Behalf Of<span class="Apple-converted-space">&nbsp;</span></b>Ron Mitchell<br><b>Sent:</b><span class="Apple-converted-space">&nbsp;</span>22 April 2010 12:42<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span>Xerte discussion list<br><b>Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: [Xerte] Xerte Patch [Virus Scanned] [Scanned]<o:p></o:p></span></div></div></div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">Hi Ian<o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">I'd suggest eliminating the moodle patch from the equation for the moment so try the following:<o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">rename the current session.php from the moodle patch and restore the original session.php<o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">rename demo.txt to demo.php and visit<span class="Apple-converted-space">&nbsp;</span><a href="http://yourmoodleurl/yourtoolkitsurl/demo.php" style="color: blue; text-decoration: underline; ">http://yourmoodleurl/yourtoolkitsurl/demo.php</a><span class="Apple-converted-space">&nbsp;</span>does that instantly show a toolkits workspace and allow you to create LO's without the previous error?<o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">If it doesn't then we've established that it isn't the moodle patch causing the problem<o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">If so check database.php for the correct entries and the paths in the site details table<o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">HTH<o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">Ron<o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div></div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">On 22 Apr 2010, at 12:25, Ian Johnson wrote:<o:p></o:p></div></div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><br><br><o:p></o:p></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Ron, changed this and unfortunately same error</span><o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Ian</span><o:p></o:p></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><o:p></o:p></div></div><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; border-width: initial; border-color: initial; "><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span class="apple-converted-space"><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">&nbsp;</span></span><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; "><a href="mailto:xerte-bounces@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">xerte-bounces@lists.nottingham.ac.uk</a><span class="apple-converted-space">&nbsp;</span>[mailto:xerte-bounces@lists.nottingham.ac.uk]<span class="apple-converted-space">&nbsp;</span><b>On Behalf Of<span class="apple-converted-space">&nbsp;</span></b>Ron Mitchell<br><b>Sent:</b><span class="apple-converted-space">&nbsp;</span>22 April 2010 12:09<br><b>To:</b><span class="apple-converted-space">&nbsp;</span>Xerte discussion list<br><b>Subject:</b><span class="apple-converted-space">&nbsp;</span>Re: [Xerte] Xerte Patch [Virus Scanned] [Scanned]</span><o:p></o:p></div></div></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span class="apple-style-span"><span style="font-size: 9pt; font-family: Arial, sans-serif; ">Try changing the path to&nbsp;require("/moodle/config.php");&nbsp;</span></span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span class="apple-style-span"><span style="font-size: 9pt; font-family: Arial, sans-serif; ">or if moodle isn't the inetpub home directory add whatever is before /moodle/config.php e.g. /wwwroot/moodle/config.php</span></span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">On 22 Apr 2010, at 11:40, Ian Johnson wrote:<o:p></o:p></div></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><br><br><br><o:p></o:p></div></div><div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Thanks for your swift reply ron</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">the toolkits installation is on the same server as the moodle installation and ideally toolkits is a sub directory of the moodle directory yes?<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="color: rgb(54, 95, 145); ">Yes sits within xerte folder within moodle folder</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">You've edited integration_path.php and added the correct root path to your moodle config.php e.g.&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">require("/home/youraccountname/public_html/config.php");&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="color: rgb(54, 95, 145); ">using a windows box – using root in C:\moodle\config.php</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">you've checked that directory permissions are as they should be according to toolkits setup?<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="color: rgb(54, 95, 145); ">Yes toolkit persmissions appear ok as we install completed fine</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">I will check the moodle server settings for a unique cookie<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Many Thanks,</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Ian</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><b><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(31, 73, 125); ">&nbsp;</span></b><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><b><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(31, 73, 125); ">Ian Johnson</span></b><span class="apple-converted-space"><b><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">&nbsp;</span></b></span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(192, 80, 77); ">Web Systems Admin</span><span class="apple-converted-space"><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(127, 127, 127); ">&nbsp;</span></span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(192, 80, 77); ">Learning Development Unit</span><span class="apple-converted-space"><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(127, 127, 127); ">&nbsp;</span></span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(192, 80, 77); ">Stafford College Earl Street Stafford ST16 2QR</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(192, 80, 77); ">Direct Line 01785 275495</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><o:p></o:p></div></div></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span><o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; padding-top: 3pt; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; border-width: initial; border-color: initial; border-width: initial; border-color: initial; "><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span class="apple-converted-space"><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">&nbsp;</span></span><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; "><a href="mailto:xerte-bounces@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">xerte-bounces@lists.nottingham.ac.uk</a><span class="apple-converted-space">&nbsp;</span>[mailto:xerte-bounces@lists.nottingham.ac.uk]<span class="apple-converted-space">&nbsp;</span><b>On Behalf Of<span class="apple-converted-space">&nbsp;</span></b>Ron Mitchell<br><b>Sent:</b><span class="apple-converted-space">&nbsp;</span>22 April 2010 11:11<br><b>To:</b><span class="apple-converted-space">&nbsp;</span>Xerte discussion list<br><b>Subject:</b><span class="apple-converted-space">&nbsp;</span>Re: [Xerte] Xerte Patch [Virus Scanned] [Scanned]</span><o:p></o:p></div></div></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">Hi<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">sounds like the moodle session info isn't being picked up.<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">the toolkits installation is on the same server as the moodle installation and ideally toolkits is a sub directory of the moodle directory yes?<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">You've edited integration_path.php and added the correct root path to your moodle config.php e.g.&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">require("/home/youraccountname/public_html/config.php");&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">yes?<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">you've checked that directory permissions are as they should be according to toolkits setup?<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">yes?<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">Not related to the error but Ideally add a unique cookie name to the moodle &gt; administration &gt; Server &gt; session settings because is some cases without this the automatic redirect doesn't happen.<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">HTH<o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">Ron<o:p></o:p></div></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">On 22 Apr 2010, at 09:45, Ian Johnson wrote:<o:p></o:p></div></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><br><br><br><br><o:p></o:p></div></div></div><div><div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">We have installed xerte, but have had problems connecting it to our ldap</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">We therefore installed the moodle patch</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">We now get the following when trying to access</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div><div style="margin-left: 36pt; "><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">php_library_path . "login_library.php"; include $xerte_toolkits_site-&gt;php_library_path . "display_library.php"; include $xerte_toolkits_site-&gt;php_library_path . "database_library.php"; include $xerte_toolkits_site-&gt;php_library_path . "user_library.php"; $mysql_id=database_connect("index.php database connect success","index.php database connect fail"); /* * 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-&gt;website_code_path . "management_headers"); echo "</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">anyone experienced this error</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div><div><div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">Many Thanks,</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">Ian</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><b><span style="font-size: 11pt; font-family: Rockwell, serif; ">&nbsp;</span></b><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><b><span style="font-size: 11pt; font-family: Rockwell, serif; ">Ian Johnson<span class="apple-converted-space"><span style="color: rgb(84, 141, 212); ">&nbsp;</span></span></span></b><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(192, 80, 77); ">Web Systems Admin</span><span class="apple-converted-space"><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(127, 127, 127); ">&nbsp;</span></span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(192, 80, 77); ">Learning Development Unit</span><span class="apple-converted-space"><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(127, 127, 127); ">&nbsp;</span></span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(192, 80, 77); ">Stafford College Earl Street Stafford ST16 2QR</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(192, 80, 77); ">Direct Line 01785 275495</span><span style="font-size: 11pt; font-family: Rockwell, serif; color: rgb(84, 141, 212); ">|</span><o:p></o:p></div></div></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div></div><div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; ">&nbsp;</span><o:p></o:p></div></div></div></div><p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; ">DISCLAIMER : This message and any attachments are confidential. The information contained herein may only be used for the intended purpose and by the intended recipient. The message and attachments have been swept for the presence of computer viruses. In the light of the growing number and complexity of such viruses the College strongly recommends further checking before any attachments are opened. The College accepts no liability whatsoever for any loss or damage caused by viruses attached to these documents. If this e-mail has come to you in error please delete it and any attachments.</span><o:p></o:p></p><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; ">_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><o:p></o:p></div></div></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div></div><div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; ">DISCLAIMER : This message and any attachments are confidential. The information contained herein may only be used for the intended purpose and by the intended recipient. The message and attachments have been swept for the presence of computer viruses. In the light of the growing number and complexity of such viruses the College strongly recommends further checking before any attachments are opened. The College accepts no liability whatsoever for any loss or damage caused by viruses attached to these documents. If this e-mail has come to you in error please delete it and any attachments.<o:p></o:p></p><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; ">_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><o:p></o:p></div></div></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; ">&nbsp;<o:p></o:p></div></div></div><div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div></div><p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; ">DISCLAIMER : This message and any attachments are confidential. The information contained herein may only be used for the intended purpose and by the intended recipient. The message and attachments have been swept for the presence of computer viruses. In the light of the growing number and complexity of such viruses the College strongly recommends further checking before any attachments are opened. The College accepts no liability whatsoever for any loss or damage caused by viruses attached to these documents. If this e-mail has come to you in error please delete it and any attachments.<o:p></o:p></p><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; ">_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><o:p></o:p></span></div></div></div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0cm; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div></div><div style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><br class="webkit-block-placeholder"></div><p style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; ">DISCLAIMER : This message and any attachments are confidential. The information contained herein may only be used for the intended purpose and by the intended recipient. The message and attachments have been swept for the presence of computer viruses. In the light of the growing number and complexity of such viruses the College strongly recommends further checking before any attachments are opened. The College accepts no liability whatsoever for any loss or damage caused by viruses attached to these documents. If this e-mail has come to you in error please delete it and any attachments.</p>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" style="color: blue; text-decoration: underline; ">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" style="color: blue; text-decoration: underline; ">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br></div></span></blockquote></div><br></div></body></html>