<div dir="ltr">well it shouldn't have been there<div><br></div><div>the queries all should have the prefix variable, but this one didn't - shows how often people use that feature</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Jan 12, 2013 at 11:53 PM, Graham Bowman <span dir="ltr"><<a href="mailto:gbowman85@gmail.com" target="_blank">gbowman85@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">If you need me to do any more testing, let me know. I'm trying out tools to produce scorm compatible exercises for Moodle. </div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On 12 January 2013 23:25, Pat Lockley <span dir="ltr"><<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Well to be fair you found a bug</div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Sat, Jan 12, 2013 at 11:08 PM, Graham Bowman <span dir="ltr"><<a href="mailto:gbowman85@gmail.com" target="_blank">gbowman85@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">WAHEY! That did it! Thanks sooooo much, wasn't expecting 8 hours of support! </div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 January 2013 22:55, Pat Lockley <span dir="ltr"><<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">try again</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Jan 12, 2013 at 10:52 PM, Graham Bowman <span dir="ltr"><<a href="mailto:gbowman85@gmail.com" target="_blank">gbowman85@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">now it prints this above Recycle Bin:<div><br><div><span style="font-size:11px;white-space:pre-wrap;font-family:Menlo,monospace">select templatedetails.template_name as template_name, template_id, template_framework, xrt_originaltemplatesdetails.template_name as name from xrt_templatedetails, xrt_originaltemplatesdetails where template_id in ( select xrt_templaterights.template_id from xrt_templaterights where user_id ="3" and folder="5") and xrt_templatedetails.template_type_id = xrt_originaltemplatesdetails.template_type_id order by xrt_templatedetails.date_created DESC*******************</span><br>





</div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 January 2013 22:40, Pat Lockley <span dir="ltr"><<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">try swapping website_code/php/display_library.php for the attached</div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 12, 2013 at 10:25 PM, Pat Lockley <span dir="ltr"><<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>></span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ok, so the session is still live</div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Sat, Jan 12, 2013 at 10:15 PM, Graham Bowman <span dir="ltr"><<a href="mailto:gbowman85@gmail.com" target="_blank">gbowman85@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I took <span style="font-family:arial,sans-serif;font-size:13px">print_r($_SESSION)</span> out of index.php and placed it at the end of <span style="font-family:arial,sans-serif;font-size:13px">website_code/php/templates/</span><span style="font-family:arial,sans-serif;font-size:13px">yourtemplates.php</span><div>








<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">When I create a new LO, below the Recycle Bin it prints:<br></font><div><br></div><div><br></div><div><span style="font-size:11px;white-space:pre-wrap;font-family:Menlo,monospace">Array
(
    [SESSION] => stdClass Object
        (
            [has_timed_out] => 1
            [lang] => en
        )

    [USER] => stdClass Object
        (
            [id] => 0
            [mnethostid] => 1
            [sesskey] => JCsxolZvno
        )

    [toolkits_language] => en-GB
    [toolkits_firstname] => Guest
    [toolkits_surname] => User
    [toolkits_logon_username] => guest2
    [toolkits_logon_id] => 3
    [sort_type] => date_down
)</span><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 January 2013 21:31, Pat Lockley <span dir="ltr"><<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>></span> wrote:<br>








<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">try adding a print_r($_SESSION) here it might make stuff a bit broken though</div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 12, 2013 at 9:20 PM, Graham Bowman <span dir="ltr"><<a href="mailto:gbowman85@gmail.com" target="_blank">gbowman85@gmail.com</a>></span> wrote:<br>









<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I tried adding a ?> to the end of <span style="font-family:arial,sans-serif;font-size:13px">website_code/php/templates/</span><span style="font-family:arial,sans-serif;font-size:13px">yourtemplates.php but that made no difference. Can't see anything to try??</span></div>










<div class="gmail_extra"><br><br><div class="gmail_quote">On 12 January 2013 19:06, Pat Lockley <span dir="ltr"><<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>></span> wrote:<br>










<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ok,so the logon_id is set, the folder is create, the lo is created, but the LO can't be seen?<div><br>










</div><div>Which implies a problem in website_code/php/templates/yourtemplates.php</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div>On Sat, Jan 12, 2013 at 6:56 PM, Graham Bowman <span dir="ltr"><<a href="mailto:gbowman85@gmail.com" target="_blank">gbowman85@gmail.com</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div class="gmail_extra">it prints:</div><div class="gmail_extra"><br></div><div class="gmail_extra"> Array ( [SESSION] => stdClass Object ( [wantsurl] => <a href="http://vle.mrbowman.me.uk/" target="_blank">http://vle.mrbowman.me.uk/</a> [fromurl] => <a href="http://vle.mrbowman.me.uk/login/logout.php" target="_blank">http://vle.mrbowman.me.uk/login/logout.php</a> ) [USER] => stdClass Object ( [id] => 0 [mnethostid] => 1 [preference] => Array ( ) [sesskey] => P6v9Qo7N8E ) [toolkits_language] => en-GB [toolkits_firstname] => Guest [toolkits_surname] => User [toolkits_logon_username] => guest2 [toolkits_logon_id] => 3 )</div>












<div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 January 2013 18:47, Pat Lockley <span dir="ltr"><<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>></span> wrote:<br>












<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">print_r($_SESSION)</blockquote></div><br><br></div></div>












<br></div></div><div>_______________________________________________<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></div></blockquote></div><br></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>
<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><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>
<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></blockquote></div><br></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>
<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><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><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><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><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>